E-Ink News Daily

Back to list

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

Anthropic accidentally leaked the entire source code for its Claude Code CLI tool via an exposed source map file in an npm package release. The leak includes nearly 2,000 TypeScript files and over 512,000 lines of code, revealing internal architecture details. While no customer data was compromised, the incident provides competitors with valuable insights into Anthropic's proprietary systems.

Background

Source maps are files that help developers debug minified code by mapping it back to original source code, but if exposed publicly they can reveal proprietary codebases. Anthropic's Claude Code is a coding assistant tool separate from their core AI models.

Source
Ars Technica
Published
Apr 1, 2026 at 03:09 AM
Score
7.0 / 10