Skip to main content

Posts

Showing posts with the label Developer Tools

The Claude Code Leak of 2026 — What 512,000 Lines of Leaked Source Code Actually Revealed

On March 31, 2026, one of the most extraordinary events in AI industry history unfolded — not through a cyberattack, not through espionage, but through a single missing line in a .npmignore file. Anthropic accidentally exposed the full source code of Claude Code, its popular AI coding assistant, via a human error in a release packaging process. 512,000 lines of unobfuscated TypeScript across roughly 1,900 files were shipped inside an npm package. Within hours, the code was mirrored, dissected, rewritten in Python and Rust, and studied by tens of thousands of developers. The Hacker NewsLayer5 How the leak happened On March 31, 2026, Anthropic accidentally exposed the full source code of Claude Code through a 59.8 MB JavaScript source map file bundled in the public npm package @anthropic-ai/claude-code version 2.1.88. Zscaler When Anthropic acquired Bun in late 2024, Claude Code migrated to it as its bundler. Bun's bundler has a known bug: even when you explicitly set development: f...