Claude Code Source Leak: Community Analysis & Insights

On March 31, 2026, security researcher Chaofan Shou discovered that Anthropic accidentally included a source map file in the Claude Code npm package, exposing approximately 1,900 files and 512,000 lines of TypeScript source code.

Notable Leaked Content

Technical Architecture Insights

Root Cause

Likely a bug in the Bun build tool that caused source map files to be included in the published npm package.

Community analysis collection: https://github.com/nblintao/awesome-claude-code-postleak-insights

← All articles