Anthropic confirms Claude Code source leak via npm error
techApr 3, 2026
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
clawbeat.coClaude Code Source Leaked via npm Packaging Error, Anthropic Confirmstimesofindia.indiatimes.comAnthropic Chief Commercial Officer Paul Smith on Claude code leak that has gone viral on GitHub: It was result of 'process errors' related to … - The Times of Indiaopen.substack.comAutoResearchClaw + MiroFish + Claude Code: The Agentic Pipeline Designers Should Be Running