Anthropic has confirmed that a part of the internal source code for its coding assistant Claude Code was accidentally leaked online. The company says the incident happened due to human error and was not because of a security breach. The issue came to light on Tuesday after a post on X (formerly known as Twitter) shared access to the code. The post quickly went viral and received more than 21 million views. Anthropic has tried to reassure users that the situation did not involve any sensitive information.
‘No sensitive customer data or credentials were involved or exposed,’ an Anthropic spokesperson said in a statement, reports CNBC. ‘This was a release packaging issue caused by human error, not a security breach.’ The spokesperson further says that the AI company is working on safeguards to make sure that similar mistakes do not happen in the future.
Also read: iOS 27: Apple testing smarter Siri that can process multiple tasks at once
Even though Anthropic says the leak does not pose a risk to user data, the exposure of source code can still have consequences. Source code contains the instructions and structure that define how a software tool works. For competing AI companies and independent developers, access to such code can sometimes offer insights into how a product is designed and built. This could reveal details about the architecture or development approach behind Claude Code.
Also read: Google Veo 3.1 Lite AI video model is here: What it offers and how to use it
The incident comes at a time when tech companies around the world are trying to develop powerful coding assistants and AI tools to compete with Claude Code.
Also read: Apple turns 50: From garage startup to global tech company, full look at iPhone maker’s journey