Anthropic Accidentally Exposes Claude Code Source Code
Anthropic exposed 500,000+ lines of Claude Code source via npm, risking intellectual property loss and enabling attacker exploitation, with rapid code mirroring on GitHub.
- On Tuesday, March 31, 2026, Anthropic accidentally published Claude Code's source code to the public npm registry after uploading original code instead of finished versions.
- A misconfigured JavaScript map file intended for internal debugging inadvertently exposed more than 512,000 lines of code spanning roughly 1,900 TypeScript files in a zip archive.
- Security researchers discovered internal features including 'KAIROS' autonomous daemon logic, 'Undercover Mode' for stealth contributions, and a sophisticated 'Self-Healing Memory' architecture that competitors can now study.
- The leak provides competitors a blueprint for building similar agents, potentially challenging Claude Code's $2.5 billion annualized revenue and leveling the playing field for agentic AI development.
- Anthropic stated the incident was 'human error, not a security breach,' while the leak also exposed details of the unreleased Capybara model, a planned successor to Opus.
12 Articles
12 Articles
Anthropic's AI coding tool, Claude Code, accidentally reveals its source code; here's what happened
Anthropic accidentally exposed the full source code of its AI tool Claude Code due to a packaging error. While no user data or core AI systems were affected, the leak revealed the tool’s internal workings, raising concerns over security practices.
Claude Code's source code appears to have leaked: here's what we know
Anthropic appears to have accidentally revealed the inner workings of one of its most popular and lucrative AI products, the agentic AI harness Claude Code, to the public.A 59.8 MB JavaScript source map file (.map), intended for internal debugging, was inadvertently included in version 2.1.88 of the @anthropic-ai/claude-code package on the public npm registry pushed live earlier this morning. By 4:23 am ET, Chaofan Shou (@Fried_rice), an intern …
The artificial intelligence company (IA) Anthropic suffered an accidental leak of the source code of its Claude Code programming tool, just a few days after it was erroneously revealed the existence of a new and powerful model internally called 'Mythos', reported this Tuesday Fortune. The entry The technology of IA Anthropic suffers a new internal data leak was first published in Digital Process.
Coverage Details
Bias Distribution
- 100% of the sources are Center
Factuality
To view factuality data please Upgrade to Premium










