Skip to content

Anthropic confirms Claude Code source leak via npm error

techApr 3, 202622

Anthropic confirmed that the internal source code for Claude Code was accidentally published due to an npm packaging mistake. The code surfaced on GitHub, went viral, and prompted immediate takedown requests and removals. Paul Smith, Anthropic's chief commercial officer, said the release resulted from internal process errors tied to packaging. The leak matters because it exposes proprietary model internals, risks intellectual property theft, and could enable misuse or security vulnerabilities.

Key Highlights

Anthropic accidentally published Claude Code source via an npm packaging mistake.
The leak went viral on GitHub and prompted widespread takedowns.
Anthropic attributes the exposure to internal process errors, said Paul Smith.
3 sources