Anthropic Leaked 512,000 Lines of Claude Code Internals

April 3, 2026

Anthropic Leaked 512,000 Lines of Claude Code Internals

Published: April 3, 2026 at 12:39 AM

Updated: April 3, 2026 at 12:39 AM

100-word summary

Anthropic accidentally published its entire Claude Code source code to npm last week. A packaging error bundled 512,000 lines of TypeScript into a public release, exposing unreleased features like persistent background operation and remote control capabilities. No customer data leaked, but the roadmap and architectural guts of a product pulling multi-billion-dollar revenue suddenly became public reading material. This marks Anthropic's second leak in days, following an earlier exposure of internal Mythos project files. Congress noticed. Rep. Gottheimer is now demanding answers on AI security practices. The company blamed human error and promised tighter release controls, but the damage is done.

What happened

Anthropic accidentally published its entire Claude Code source code to npm last week. A packaging error bundled 512,000 lines of TypeScript into a public release, exposing unreleased features like persistent background operation and remote control capabilities. No customer data leaked, but the roadmap and architectural guts of a product pulling multi-billion-dollar revenue suddenly became public reading material. This marks Anthropic's second leak in days, following an earlier exposure of internal Mythos project files. Congress noticed. Rep. Gottheimer is now demanding answers on AI security practices.

Why it matters

The company blamed human error and promised tighter release controls, but the damage is done.

Sources