LowNewsLLM-specific
Claude Code source code accidentally leaked in NPM package
- Published
- Record updated
Summary
Anthropic confirmed that a Claude Code release accidentally shipped internal source code, which was first spotted by Chaofan Shou. The leak occurred when version 2.1.88 was briefly published to NPM with a 60 MB cli.js.map file whose sourcesContent field embedded the full source, reconstructing about 1,900 files and 500,000 lines of code. Anthropic says no customer data or credentials were exposed and has issued DMCA takedown notices.
Mitigation
Anthropic says it is rolling out measures to prevent this from happening again. No specific fix or configuration change is described in the source.
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog