Fireship · @fireship

Rabbit R1 makes catastrophic rookie programming mistake

Uploaded June 27, 2024 · Length 4:26

Rabbit R1 makes catastrophic rookie programming mistake

Summary

Rabbit R1 developers hardcode API keys, exposing user data to potential hacking and data deletion.

  • rabbit r1
  • api keys
  • hardcoding
  • security
  • hacking
  • data breach

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    another day another controversy for the

  2. 0:02

    rabbit R1 apparently this time its

  3. 0:04

    developers wrote some bad code like

  4. 0:06

    inexcusably catastrophically bad code a

  5. 0:08

    code that allows someone to view every

  6. 0:10

    message ever sent on all devices code

  7. 0:12

    that allows the attacker to alter the

  8. 0:14

    messages sent to the end user and code

  9. 0:16

    that can brick every R1 in existence

  10. 0:18

    it's outrageous egregious and

  11. 0:19

    Preposterous lascivious salacious

  12. 0:21

    outrageous but the most shocking part

  13. 0:23

    about this story is what the company did

  14. 0:25

    to fix it in today's video we'll find

  15. 0:27

    out how this is even possible so you

  16. 0:28

    don't make the same mistake when

  17. 0:30

    shipping your own half-baked AI product

  18. 0:32

    it is June 27th 2024 and you're watching

  19. 0:35

    the code report I first encountered the

  20. 0:36

    rabbit R1 at CES in January where I was

  21. 0:39

    blown away by its utter uselessness

  22. 0:41

    along with the amount of cringe

  23. 0:42

    buzzwords used by its CEO despite

  24. 0:44

    setting off my detectors these

  25. 0:46

    devices sold out pre-orders within the

  26. 0:48

    first few minutes but after the initial

  27. 0:50

    hype the rabbit R1 has been the Lal of

  28. 0:52

    tech products of 2024 it was exposed as

  29. 0:54

    being nothing more than an Android app

  30. 0:56

    under the hood it was revealed to have

  31. 0:57

    origins in crypto and nft scams and when

  32. 1:00

    it actually shipped it was even more

  33. 1:01

    useless Than People imagined but never

  34. 1:03

    in my wildest imagination would I expect

  35. 1:05

    their developers to make a mistake like

  36. 1:07

    this hard coding API Keys directly into

  37. 1:09

    the code base this mistake was

  38. 1:11

    discovered by a group called rabbito

  39. 1:12

    which is dedicated to reverse

  40. 1:14

    engineering the R1 according to their

  41. 1:15

    statement back on May 16th they obtained

  42. 1:18

    access to the Rabbit Code base and

  43. 1:20

    inside that code base they found

  44. 1:21

    hard-coded API keys for 11 Labs Azure

  45. 1:24

    Yelp and Google Maps the most

  46. 1:26

    problematic one is 11 Labs which is an

  47. 1:28

    AI text to speech platform when you talk

  48. 1:30

    to the rabbit R1 it turns your speech

  49. 1:32

    into text it then passes that text off

  50. 1:34

    to a large language model to generate a

  51. 1:36

    response but before that response goes

  52. 1:38

    back to the end user that text needs to

  53. 1:39

    be converted back into speech and that's

  54. 1:41

    what 11 Labs does development of the

  55. 1:43

    atomic bomb that means the R1 needs to

  56. 1:45

    make an API call to 11 labs for every

  57. 1:47

    response ever sent by the R1 and that

  58. 1:49

    means if someone ever got the 11 Labs

  59. 1:51

    API key they'd be able to read every R1

  60. 1:54

    response in history they'd be able to

  61. 1:55

    change responses and they could just

  62. 1:57

    delete the AI voices from 11 labs to