No sensitive customer data or credentials were involved or exposed. This was a release packaging issue caused by human error, not a security breach. This statement from an Anthropic spokesperson underscores the gravity of the recent leak of the Claude Code source code, which has raised eyebrows across the tech industry.
On March 31, 2026, Anthropic accidentally leaked approximately 500,000 lines of code across roughly 1,900 files. This incident occurred when the company mistakenly uploaded all of Claude Code’s original code to NPM instead of just the finished version.
The leak has been described as potentially more damaging than a previous incident in February 2025, where a draft blog post was inadvertently shared. This time, the implications are far-reaching, as the exposed code allows competitors to reverse-engineer Claude Code’s agentic harness.
Among the revelations from the leak is the existence of a new model internally named ‘Capybara’. The source code also includes features such as a multi-agent coordinator and a virtual pet system, as well as a mode codenamed ‘Kairos’ that enables background sessions.
Roy Paz, a tech analyst, commented, “Usually, large companies have strict processes and multiple checks before code reaches production, like a vault requiring several keys to open.” This highlights the unexpected nature of the leak, attributed to a simple misconfiguration.
The developer community has reacted with significant excitement and activity, with some even comparing the leak to an accidental open-source event. As one observer noted, “The leak of the Claude Code source code has made the whole network restless.”
This incident has left Silicon Valley stunned, as the implications of such an extensive leak are still unfolding. The excitement within the developer community contrasts sharply with the concerns raised by industry leaders.
As Anthropic navigates the aftermath of this leak, the focus will likely shift to how the company can prevent similar incidents in the future. Details remain unconfirmed regarding any further actions that may be taken.
