Claude Code Source Code Accidentally Published
Original code was uploaded instead of finished versions.
Over 512,000 lines of code in 1,900 TypeScript files were leaked.
A misconfigured JavaScript map file caused the exposure.
Features like KAIROS, Undercover Mode, and Self-Healing Memory were discovered.
Competitors can study these features, threatening Claude Code's revenue.
Anthropic called the incident a human error, not a security breach.
Unreleased Capybara model details were exposed, a successor to Opus.