Anthropic Leaks 512,000 Lines of Claude Code Source Code Due to NPM Misconfiguration
Here's what it means for you.
The leak of Anthropic's source code could influence competitive dynamics in the AI coding assistant market.
What happened
On March 31, 2026, Anthropic accidentally leaked approximately 512,000 lines of Claude Code source code through a misconfigured NPM package.
The Context
- Human error led to exposure: A routine NPM publish mishap allowed access to a public ZIP archive containing sensitive TypeScript files.
- Rapid community response: The leak was swiftly disseminated, resulting in over 41,500 forks on GitHub within days.
- Security implications: While no sensitive data was exposed, the incident raised concerns about build pipeline security and potential national security risks.
The Number
lines of TypeScript source code were exposed in the leak, highlighting the scale of the oversight and its potential impact on software development practices.
Takeaway
Expect increased scrutiny on build processes and a surge in community-driven reimplementations as developers respond to the leak.
Science and technology stories including AI.
"Longstanding science magazine with thoughtful AI coverage."
— A47 Editor
Anthropic leak reveals Claude Code tracking user frustration and raises new questions about AI privacy
Anthropic has confirmed an accidental leak of nearly 2,000 internal files, including parts of the source code for its AI coding assistant, Claude Code, due to human error during a software update. This incident has raised significant concerns regardi...
Scientific research, technology, environment, and society.
"Scientific American is one of the oldest and most authoritative science magazines, known for deep dives into science, technology, and society."
— A47 Editor
Anthropic leak reveals Claude Code tracking user frustration and raises new questions about AI privacy
Anthropic has confirmed an accidental leak of nearly 2,000 internal files, including parts of the source code for its AI coding assistant, Claude Code, due to human error during a software update. This incident has raised significant concerns regardi...
Startup news with frequent AI coverage.
"Covers launches, funding, and product updates in AI."
— A47 Editor
Anthropic took down thousands of GitHub repos trying to yank its leaked source code — a move the company says was an accident
Anthropic has taken down thousands of GitHub repositories in an attempt to remove its leaked source code, which the company claims was an accidental release due to human error during a software update. This incident involved nearly 2,000 internal fil...
Daily AI news: models, tools, and policy.
"Independent outlet tracking the fast pace of AI."
— A47 Editor
Anthropic's leaked AI coding tool has been cloned over 8,000 times on GitHub despite mass takedowns
Anthropic has confirmed an accidental leak of nearly 2,000 internal files, including significant portions of the source code for its AI coding assistant, Claude Code, due to human error during a software update. This incident has led to the source co...
Tech news, hardware, and AI tools coverage.
"PC/tech site increasingly covering AI hardware and apps."
— A47 Editor
Anthropic accidentally exposed Claude Code source, raising security concerns
Anthropic has confirmed the accidental exposure of its Claude Code source code, attributed to a human error during a software update. This incident involved the release of nearly 2,000 internal files, including approximately 500,000 lines of code, wh...
Latest AI/ML research news and breakthroughs.
"Aggregated research highlights across institutions."
— A47 Editor
Anthropic releases part of AI tool source code in 'error'
Anthropic has confirmed that it accidentally released part of the internal source code for its AI coding assistant, Claude Code, due to a human error during a software update. This incident involved nearly 2,000 internal files and approximately 500,0...
Tech, science, and startup news including AI.
"Irish tech outlet covering innovation and AI."
— A47 Editor
Anthropic accidentally leaks Claude Code source in npm slip
Anthropic has confirmed that a human error led to the accidental leak of nearly 2,000 internal files, including significant portions of the source code for its AI coding assistant, Claude Code. This incident occurred during a software update and invo...
Biting coverage of AI/ML software and vendors.
"Known for skeptical, incisive reporting on enterprise tech."
— A47 Editor
Claude Code source leak reveals how much info Anthropic can hoover up about you and your system
Anthropic has confirmed an accidental leak of nearly 2,000 internal files, including parts of the source code for its AI coding assistant, Claude Code, due to a human error during a software update. This incident exposed approximately 500,000 lines o...