Anthropic Accidentally Exposes Source Code for Claude Code

Anthropic Accidentally Exposes Source Code for Claude Code

Anthropic Accidentally Exposes Source Code for Claude Code

https://www.cnet.com/tech/anthropic-accidentally-exposes-source-code-for-claude-code/

Publish Date: 2026-03-31 22:10:00

Source Domain: www.cnet.com

  • The source code for Anthropic’s coding tool, Claude Code, was accidentally disclosed when the company uploaded version 2.1.88, including an inadvertent source map file.
  • The leak exposed over 500,000 lines of code across nearly 2,000 files, which gained significant attention after being shared by a security researcher on X.
  • The leaked source code gave developers insight into Anthropic’s product roadmap and could allow competitors to understand the tool’s architecture.
  • An Anthropic spokesperson confirmed the leak resulted from human error, and emphasized that no customer data or credentials were exposed.
  • Despite the leak, the popularity of Claude Code has increased, highlighted by a viral moment during the holidays and a Super Bowl ad campaign against rival company, OpenAI.