
Anthropic leaked 512,000 lines of Claude Code source code yesterday. What happened in the next 12 hours is absolutely wild. 4 AM. Anthropic pushes an update to npm. Inside the package: their entire codebase. A 60 MB debugging file accidentally bundled in. 23 minutes later, researcher Chaofan Shou spots it. Downloads the zip. Posts it on X. Within 6 hours: 3 million views. By the time Anthropic’s team woke up, the code was forked 41,000+ times across GitHub. Anthropic started firing DMCA takedowns. Too late. A Korean developer named Sigrid Jin woke up to his phone exploding. He’s Claude Code’s biggest power user. WSJ reported he burned through 25 billion tokens last year. He read the leaked code. Rewrote the entire thing in Python in 8 hours. His repo hit 30,000 stars faster than any GitHub project in history. Then he rewrote it again in Rust. That version now has 49,000 stars. Someone mirrored it to a decentralized platform with one message: “will never be taken down.” The code is permanent. Anthropic cannot get it back. Here’s the part I can’t stop thinking about: Anthropic built something called “Undercover Mode.” Its only job: prevent Claude from accidentally leaking internal secrets. They shipped an entire anti-leak system in their own product. Then leaked their own source code in a .map file. Irony is beautiful














