Anthropic Accidentally Leaked Claude Code's Entire Source - Here's What Was Inside
On March 31, 2026, security researcher Chaofan Shou noticed something odd: the complete source code of Claude Code — Anthropic's flagship AI coding CLI — was sitting in plain sight on the public npm registry. 512,000 lines of TypeScript. 59.8 MB of source maps. Everything. The irony? The code contains an "Undercover Mode" specifically built to prevent internal Anthropic secrets from leaking into public commits. They built a secrecy subsystem, then accidentally published everything.