Fireship · @fireship

Tragic mistake... Anthropic leaks Claude’s source code

Uploaded April 1, 2026 · Length 7:22

Tragic mistake... Anthropic leaks Claude’s source code

Summary

The video discusses the leak of Anthropic's Claude source code, revealing its inner workings, anti-distillation poison pills, and features like undercover mode and a regax frustration detector.

  • anthropic leak
  • claude source code
  • ai coding assistant
  • undercover mode
  • regax frustration detector
  • ai research

Transcript preview

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

  1. 0:00

    Yesterday, the most ironic thing ever

  2. 0:02

    happened. Anthropic, a $380 billion

  3. 0:05

    startup built on the idea of safety

  4. 0:07

    first that advocates for closed source

  5. 0:10

    software for the supposed benefit of

  6. 0:11

    humanity, a company Elon calls

  7. 0:13

    Missanthropic, whose logo is definitely

  8. 0:16

    not a sphincter, whose CEO has been

  9. 0:18

    warning us for years that human

  10. 0:19

    programmers will be replaced by AI in 6

  11. 0:21

    months. It just accidentally leaked

  12. 0:23

    Claude Code's entire source code to the

  13. 0:25

    internet at 4:00 a.m. officially making

  14. 0:27

    Anthropic more open than Open AI. Within

  15. 0:30

    minutes of the leak, Chiao Fan Sha, a

  16. 0:32

    security researcher, discovered that

  17. 0:34

    version 2.1.88 of the Claude Code MPM

  18. 0:38

    package was shipped with a 57 megabyte

  19. 0:40

    source map file. You know, that file

  20. 0:42

    that's only used in development with the

  21. 0:44

    full readable source code of your

  22. 0:45

    project. This holy grail of leaks

  23. 0:47

    containing over 500,000 lines of

  24. 0:49

    Typescript code, it quickly spread

  25. 0:51

    across the internet like wildfire.

  26. 0:53

    Anthropic's legal team courageously

  27. 0:55

    issued DMCA takedowns. But by the time

  28. 0:57

    they woke up in San Francisco, it was

  29. 0:59

    already too late. The code was mirrored

  30. 1:01

    countless times and cloned by slop

  31. 1:03

    tubers like Fireship, which the Supreme

  32. 1:05

    Court says I can do legally, by the way,

  33. 1:06

    as a worldrenowned journalist.

  34. 1:08

    >> I know a lot about the law and various

  35. 1:11

    other lawyerings. In today's video,

  36. 1:13

    we'll look at all of the incredible

  37. 1:14

    discoveries in the code that Anthropic

  38. 1:16

    doesn't want you to know about, like its

  39. 1:18

    anti-distillation poison pills, its

  40. 1:20

    mysterious unreleased features, its

  41. 1:22

    undercover mode, its regular

  42. 1:24

    expressionbased frustration detector,

  43. 1:26

    and many other super secret techniques

  44. 1:28

    at the foreskin of AI research. No, this

  45. 1:30

    is not an April Fool's Day joke. It is

  46. 1:32

    April 1st, 2026, and you're watching the

  47. 1:35

    code report. Unfortunately, my lawyer

  48. 1:37

    just informed me that showing you

  49. 1:38

    Anthropic TypeScript code would be a

  50. 1:40

    violation of my parole, and I refused to

  51. 1:42

    go back to jail. But luckily, the open

  52. 1:44

    source community has already created a

  53. 1:46

    loophole. Ironically, Claude's most

  54. 1:48

    prolific user, he used OpenAI Codeex to

  55. 1:50

    rewrite Claude Code's TypeScript code to

  56. 1:52

    Python code, resulting in a new barely

  57. 1:54

    legal project called Claw Code, and it's

  58. 1:56

    already become the fastest repo in

  59. 1:58

    history to surpass 50,000 GitHub stars.