Fireship · @fireship
Tragic mistake... Anthropic leaks Claude’s source code
Uploaded April 1, 2026 · Length 7:22
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.
- 0:00
Yesterday, the most ironic thing ever
- 0:02
happened. Anthropic, a $380 billion
- 0:05
startup built on the idea of safety
- 0:07
first that advocates for closed source
- 0:10
software for the supposed benefit of
- 0:11
humanity, a company Elon calls
- 0:13
Missanthropic, whose logo is definitely
- 0:16
not a sphincter, whose CEO has been
- 0:18
warning us for years that human
- 0:19
programmers will be replaced by AI in 6
- 0:21
months. It just accidentally leaked
- 0:23
Claude Code's entire source code to the
- 0:25
internet at 4:00 a.m. officially making
- 0:27
Anthropic more open than Open AI. Within
- 0:30
minutes of the leak, Chiao Fan Sha, a
- 0:32
security researcher, discovered that
- 0:34
version 2.1.88 of the Claude Code MPM
- 0:38
package was shipped with a 57 megabyte
- 0:40
source map file. You know, that file
- 0:42
that's only used in development with the
- 0:44
full readable source code of your
- 0:45
project. This holy grail of leaks
- 0:47
containing over 500,000 lines of
- 0:49
Typescript code, it quickly spread
- 0:51
across the internet like wildfire.
- 0:53
Anthropic's legal team courageously
- 0:55
issued DMCA takedowns. But by the time
- 0:57
they woke up in San Francisco, it was
- 0:59
already too late. The code was mirrored
- 1:01
countless times and cloned by slop
- 1:03
tubers like Fireship, which the Supreme
- 1:05
Court says I can do legally, by the way,
- 1:06
as a worldrenowned journalist.
- 1:08
>> I know a lot about the law and various
- 1:11
other lawyerings. In today's video,
- 1:13
we'll look at all of the incredible
- 1:14
discoveries in the code that Anthropic
- 1:16
doesn't want you to know about, like its
- 1:18
anti-distillation poison pills, its
- 1:20
mysterious unreleased features, its
- 1:22
undercover mode, its regular
- 1:24
expressionbased frustration detector,
- 1:26
and many other super secret techniques
- 1:28
at the foreskin of AI research. No, this
- 1:30
is not an April Fool's Day joke. It is
- 1:32
April 1st, 2026, and you're watching the
- 1:35
code report. Unfortunately, my lawyer
- 1:37
just informed me that showing you
- 1:38
Anthropic TypeScript code would be a
- 1:40
violation of my parole, and I refused to
- 1:42
go back to jail. But luckily, the open
- 1:44
source community has already created a
- 1:46
loophole. Ironically, Claude's most
- 1:48
prolific user, he used OpenAI Codeex to
- 1:50
rewrite Claude Code's TypeScript code to
- 1:52
Python code, resulting in a new barely
- 1:54
legal project called Claw Code, and it's
- 1:56
already become the fastest repo in
- 1:58
history to surpass 50,000 GitHub stars.


