Tags: developer community

Anthropic Accidentally Exposes Claude Code Source Files

Anthropic Accidentally Exposes Claude Code Source Files CNET
Anthropic unintentionally published internal source files for its Claude Code AI coding tool when releasing version 2.1.88 to the public npm registry. The mistake included a source map that revealed more than 500,000 lines of code across nearly 2,000 files. Security researcher Chaofan Shou shared an archive link on X, generating massive attention. Anthropic confirmed the leak as a human error, emphasized that no customer data or credentials were exposed, and said it is taking steps to prevent a recurrence. The incident offers developers a rare glimpse into the tool’s architecture while raising security concerns for the company. Read more

Anthropic’s Claude Code CLI source code unintentionally exposed

Anthropic’s Claude Code CLI source code unintentionally exposed Ars Technica2
Anthropic inadvertently released the full source code for its Claude Code command‑line interface when a recent npm package included a source‑map file. The leak made nearly 2,000 TypeScript files and over half a million lines of code publicly available. Security researcher Chaofan Shou highlighted the issue, and the code quickly spread across GitHub. Anthropic confirmed the error was a packaging mistake, not a breach of customer data, and said it is implementing safeguards to prevent recurrence. Developers have begun dissecting the code to understand Claude Code’s architecture. Read more