Claude Code's Entire Source Code Was Just Leaked via npm Source Maps — Here's What's Inside

typescript dev.to

A security researcher discovered Anthropic's full CLI source code exposed through a source map file. 1,900 files. 512,000+ lines. Everything. If you work with AI-powered coding tools, today is one of those days you'll remember. On March 31, 2026, security researcher Chaofan Shou (@shoucccc) discovered that Anthropic's Claude Code — their flagship agentic CLI tool — had its entire source code exposed through a source map file published to the npm registry. The leaked codebase was quickly archiv

Read Full Tutorial open_in_new
arrow_back Back to Tutorials