#ClaudeCode500KCodeLeak On March 31, 2026, Anthropic unintentionally exposed over 512,000 lines of its proprietary TypeScript code to the public internet. The cause was not sophisticated. It was operational. A .map file — a debugging artifact used to reconstruct minified code — was not excluded via .npmignore during a routine update to the Claude Code npm package. In production environments, source maps are never shipped. This one was. The file was accessible through a Cloudflare R2 bucket link embedded in the package metadata. Within hours, security researcher Chaofan Shou identified and shared it. The post reached tens of millions. Thousands of developers forked the repository before takedown efforts began. By the time Anthropic removed thousands of copies from GitHub, the code had already been archived, mirrored, and distributed across jurisdictions beyond effective enforcement. At that point, containment was no longer possible.

post-image
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 2
  • Repost
  • Share
Comment
Add a comment
Add a comment
discoveryvip
· 3h ago
To The Moon 🌕
Reply0
discoveryvip
· 3h ago
2026 GOGOGO 👊
Reply0
  • Pin