AIToday

Anthropic accidentally exposes Claude Code's 512,000-line TypeScript codebase after debug file leaks to npm registry

VentureBeat AIMar 31, 20261 min read
Anthropic accidentally exposes Claude Code's 512,000-line TypeScript codebase after debug file leaks to npm registry

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. A 59.8 MB JavaScript source map file was inadvertently included in Claude Code package version 2.1.88 on the public npm registry

  2. Intern Chaofan Shou discovered and publicly disclosed the leak on X at 4:23 am ET, triggering rapid distribution across GitHub

  3. The leaked codebase spans approximately 512,000 lines of TypeScript and was analyzed by thousands of developers within hours

  4. The incident represents a significant intellectual property loss for Anthropic, valued at $19 billion annualized revenue run-rate as of March 2026

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →