Key Points
- Anthropic unintentionally published internal source files for Claude Code, its AI development assistant
- The exposure included approximately 1,900 files totaling 512,000 lines of code
- A social media post linking to the code accumulated more than 30 million views
- According to Anthropic, customer information and authentication credentials remained protected
- The incident marks Anthropic’s second data exposure within a seven-day period
On Tuesday, Anthropic acknowledged the unintended publication of internal source files belonging to Claude Code, its AI development assistant. Company representatives attributed the incident to a “release packaging issue caused by human error, not a security breach.”
Cybersecurity analysts documented the exposure at approximately 1,900 files containing 512,000 lines of code. Given that Claude Code operates within developer environments where it accesses sensitive information, security professionals expressed concerns about the potential implications.
A social media post on X containing a link to the exposed code rapidly gained traction. Within hours of appearing Tuesday morning, the post had surpassed 30 million views.
Developers immediately began analyzing the code to learn about Claude Code’s operational mechanisms and Anthropic’s development roadmap. Security researchers highlighted potential risks posed by the disclosure.
AI cybersecurity company Straiker published analysis warning that threat actors could now examine Claude Code’s internal data flow patterns. Their assessment suggested this knowledge might enable attackers to create persistent payloads capable of establishing backdoor access across extended sessions.
Recent Pattern of Exposure Events
This incident followed another disclosure at Anthropic that occurred just days prior. Fortune’s reporting revealed that thousands of the company’s files had become publicly accessible.
Those documents contained a draft announcement describing a forthcoming AI model referenced internally as “Mythos” and “Capybara.” The draft allegedly highlighted cybersecurity concerns associated with the model.
Anthropichas committed to implementing preventative measures going forward. Company officials emphasized that both incidents left sensitive customer information and authentication credentials unexposed.
Claude Code Performance Metrics
Anthropicmade Claude Code available to all users in May of the previous year. The tool assists software developers with feature development, bug resolution, and task automation.
Adoption has accelerated rapidly. By February, the product had achieved run-rate revenue exceeding $2.5 billion.
This momentum has prompted competitive responses. OpenAI, Google, and xAI have each allocated resources toward developing comparable coding assistance tools.
Former OpenAI executives and researchers established Anthropic in 2021. The organization gained recognition primarily through its Claude AI model series.
A company spokesperson confirmed that measures are being implemented to prevent similar exposures in future releases.

