menu_open Columnists
We use cookies to provide some features and experiences in QOSHE

More information  .  Close

Anthropic leaks Claude Code source via npm error, the second breach in a week

16 0
01.04.2026

Anthropic leaks Claude Code source via npm error, the second breach in a week

Around 500,000 lines of code across roughly 1,900 files were exposed after a debug file was bundled into a public package update

NurPhoto / Getty Images

Anthropic accidentally exposed internal source code for its Claude Code AI coding tool after a debug file was mistakenly included in a public npm package update, Axios reported. The leak exposed roughly 500,000 lines of code across approximately 1,900 files, according to Fortune.

"No sensitive customer data or credentials were involved or exposed," an Anthropic spokesperson said in a statement. "This was a release packaging issue caused by human error, not a security breach. We're rolling out measures to prevent this from happening again."

An X $TWTR post linking to the exposed code had accumulated more than 21........

© Quartz