LowNewsLLM-specific
Anthropic employee error exposes Claude Code source
- Published
- Record updated
Summary
An Anthropic employee accidentally exposed the full source code of Claude Code by shipping a source map file in an npm package published to Anthropic's open registry account. Security researcher Chaofan Shou publicized the leak on X, and Fortune reported a similar exposure the previous month. Anthropic said no sensitive customer data or credentials were exposed.
Mitigation
Developers should disable source maps in the build/bundler tool, and add the .map files to the .npmignore or the package.json files field to explicitly exclude them. Anthropic said it is rolling out measures to prevent recurrence.
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