Story perspectives
Anthropic Accidentally Exposes Claude Code's Source Code
4/1/2026
1 of 1
Story summary
- Anthropic, the San Francisco-based AI company, accidentally exposed the entire source code of Claude Code due to a packaging error involving a source map file included in the npm package, revealing about 512,000 lines of TypeScript.
- No sensitive customer data was compromised.
- Developers and competitors can analyze Claude Code’s internals, and GitHub forks exceed 50,000.
- Anthropic acknowledged the mistake and is implementing measures to prevent future occurrences.
