Anthropic leaks part of Claude Code's internal source code
Claude Code has seen massive adoption over the last year, and its run-rate revenue had swelled to more than $2.5 billion as of February.
The Anthropic logo appears on a smartphone screen with multiple Claude AI logos in the background. Following the release of Claude Opus 4.6 on February 5, Anthropic continues to challenge its main competitors in the generative AI market in Creteil, France, on February 6, 2026.
Samuel Boivin | Nurphoto | Getty Images
Anthropic leaked part of the internal source code for its popular artificial intelligence coding assistant, Claude Code, the company confirmed on Tuesday.
"No sensitive customer data or credentials were involved or exposed," an Anthropic spokesperson said in a statement. "This was a release packaging issue caused by human error, not a security breach. We're rolling out measures to prevent this from happening again."
A source code leak is a blow to the startup, as it could help give software developers, and Anthropic's competitors, insight into how it built its viral coding tool. A post on X with a link to Anthropic's code has amassed more than 21 million views since it was shared at 4:23 a.m. ET on Tuesday.
The leak also marks Anthropic's second major data blunder in under a week. Descriptions of Anthropic's upcoming AI model and other documents were recently discovered in a publicly accessible data cache, according to a report from Fortune on Thursday.
Read more CNBC tech news
- SpaceX confidentially files for IPO, setting stage for record offering
- Five key questions Apple faces entering its second half-century
- Baidu robotaxis reportedly halted mid-traffic causing crashes in Wuhan, China
- Iran threatens Nvidia, Apple and other tech giants with attacks
Anthropic was founded by a group of former OpenAI executives and researchers in 2021, and it's best known for developing a family of AI models called Claude.
The company released Claude Code to the general public in May, and it helps software developers build features, fix bugs and automate tasks.
Claude Code has seen massive adoption over the last year, and its run-rate revenue had swelled to more than $2.5 billion as of February.
The tool's success has prompted companies like OpenAI, Google and xAI to pour resources into developing competing offerings.
WATCH: New Anthropic model rumored to bring disruption to cybersecurity sector
watch now
Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.
More in Market News

California just hit an inflection point for batteries
A few days ago, the electric grid in California hit a new milestone: At 7pm on March 29, batteries provided 12.3 gigawatts of power—roughly as much as six Hoover Dams, or around 43% of the total demand on the grid. Nearly all of that battery storage was built in the last five years. “Until 2020 or 2021, battery storage was still quite expensive, but we’ve seen huge price drops over the last few years,” says Nicolas Fulghum, senior energy and climate data analyst at Ember , a global energy think tank. When it’s paired with solar power, it can “bring some of that excess generation in the middle of the day to where it’s really needed, which is during the peak demand in the evening and morning,” he says. The cost of batteries has dropped 99% over the last three decades. Over the last few years






Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!