“No sensitive customer data or credentials were involved or exposed. This was a release packaging issue caused by human error, not a security breach,” stated an Anthropic spokesperson, shedding light on the recent leak of the Claude Code source code.
The incident, which occurred on March 31, 2026, saw Anthropic inadvertently upload the entire source code for Claude Code to NPM, exposing approximately 500,000 lines of code across around 1,900 files. This leak has raised significant concerns within the tech community, particularly regarding the potential for competitors to reverse-engineer Claude Code’s agentic harness.
Prior to this event, Anthropic had faced a similar breach in February 2025, which had already put the company under scrutiny. However, this latest leak is considered potentially more damaging than that previous incident, which involved only a draft blog post.
The leaked code not only includes critical features such as a multi-agent coordinator and a virtual pet system but also revealed the existence of a new model internally named ‘Capybara’. Additionally, a mode codenamed ‘Kairos’ was uncovered, allowing for background sessions, further indicating the sophistication of the technology.
Roy Paz, an industry expert, commented, “Usually, large companies have strict processes and multiple checks before code reaches production, like a vault requiring several keys to open.” This incident raises questions about the internal protocols at Anthropic and the effectiveness of their security measures.
Despite the gravity of the situation, Anthropic has confirmed that no sensitive information was compromised, which may provide some reassurance to their users. The spokesperson emphasized that the leak was a result of human error, specifically a misconfiguration during the release process.
The developer community has reacted with a mix of excitement and concern, with some describing the leak as an accidental open-source event. “The leak of the Claude Code source code has made the whole network restless,” remarked an anonymous source familiar with the matter.
This unexpected exposure has left Silicon Valley stunned, as companies grapple with the implications of such a significant leak. The excitement surrounding the leaked features has led to an influx of interest, with the GitHub project for cloning the source code already amassing 5,000 stars.
As the situation develops, the tech community will be watching closely for any further statements from Anthropic regarding their next steps and how they plan to address the fallout from this incident.