Skip to content

Entire Claude Code CLI source code leaks thanks to exposed map file

10.7 relevance
Score Breakdown
technical depth
10
novelty
10
actionability
9
community
10
strategic
9
personal
10

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Full source code leak of a major AI agent tool enables deep analysis and competitive study.

AI/ML arstechnica.com
A screenshot of Claude Code running in the command line.
Summary

Anthropic's Claude Code CLI source code leaked after version 2.1.88 of its npm package included an exposed source map file, revealing nearly 2,000 TypeScript files and over 512,000 lines of code. The leak exposes detailed architecture, including a memory rewriting system and a 40,000-line plugin tool system, giving competitors a comprehensive blueprint. This packaging error, not a breach, risks trade secret exposure and potential security vulnerabilities.