Ars Technica2 Anthropic inadvertently released the full source code for its Claude Code command‑line interface when a recent npm package included a source‑map file. The leak made nearly 2,000 TypeScript files and over half a million lines of code publicly available. Security researcher Chaofan Shou highlighted the issue, and the code quickly spread across GitHub. Anthropic confirmed the error was a packaging mistake, not a breach of customer data, and said it is implementing safeguards to prevent recurrence. Developers have begun dissecting the code to understand Claude Code’s architecture.
Read more →