
On March 31, 2026, security researcher Chaofan Shou posted a single line to X: “Claude code source code has been leaked via a map file in their npm registry.” Within hours, 512,000 lines of TypeScript — the complete internal architecture of Anthropic’s flagship agentic CLI tool — had been mirrored across GitHub, analyzed by thousands of developers, and forked more than 41,000 times.
Anthropic confirmed it wasn’t a hack. A 59.8 MB source map file, a debugging artifact that maps minified production code back to its original source, had been accidentally bundled into version 2.1.88 of the @anthropic-ai/claude-code npm package. Someone forgot to add *.map to .npmignore. The result: anyone who knew where to look could download the entire unobfuscated codebase directly from Anthropic’s own Cloudflare R2 storage bucket.
The internet reacted to the surface story — the human error, the irony, the GitHub star count. That reaction misses the point entirely.
What leaked wasn’t just code. What leaked was a design philosophy. And that philosophy — read carefully — answers a question the market has been circling without resolution for eighteen months: where is the AI market actually going, who is building the right things, and what does the competitive map look like when you strip away the benchmark noise?
Join 90,000+ strategists. Business model analysis, AI maps, and earnings deep dives — free.








