Anthropic's Claude Code Source Code Leaked Due to Human Error
Anthropic, a leading AI developer, has suffered a significant source code leak of its AI-powered coding assistant, Claude Code. The incident occurred due to "human error" during a software update, which mistakenly included an internal-use file pointing to an archive containing nearly 2,000 files and 500,000 lines of code.
The leaked code was quickly copied to the developer platform GitHub, where a post sharing a link to the code garnered over 29 million views. A rewritten version of the source code rapidly became GitHub's fastest-ever downloaded repository. In response, Anthropic issued copyright takedown requests to try to contain the code's spread.
Analysis of the leaked code revealed blueprints for a Tamagotchi-esque coding assistant and an always-on AI agent. Anthropic assured that the exposed code did not contain confidential data from Claude, the underlying AI model. However, some experts worry that the leak suggests internal security vulnerabilities within Anthropic, which could be particularly troubling for a company focused on AI safety.
The leak could also benefit competitors like OpenAI and Google by providing them with insights into Claude Code's AI system. This incident is the second data leak for Anthropic in recent weeks, following a separate breach that exposed thousands of internal files on publicly accessible systems.
The US government has designated Anthropic as a supply chain risk, a designation the company is contesting in court. This latest breach comes at a critical time for Anthropic, as its paid subscriber base continues to grow and its Claude chatbot gains popularity.