Anthropic confirms it leaked the source for Claude Code, blames human error

Anthropic, the creators of Claude, have confirmed the company's most popular product had some of its internal source code leak due to human error.

Anthropic confirms it leaked the source for Claude Code, blames human error
Comment IconFacebook IconX IconReddit Icon
Tech and Science Editor
Published
1 minute & 30 seconds read time
TL;DR: Anthropic accidentally exposed over 500,000 lines of source code for Claude Code, its AI assistant integration tool, due to a release error. No customer data was compromised, but competitors may gain insights into its technology. The company is reviewing measures to prevent future leaks.

Anthropic is one of the biggest AI companies on the planet, and a leak was detected on Tuesday morning that exposed the source code of Claude Code, a developer-focused capability that integrates Anthropic's AI assistant, Claude, into programming workflows.

According to the company, the leak was detected shortly after version 2.1.88 of Claude Code was made public, as the newly released version mistakenly included a source map file that exposed more than 500,000 lines of code and nearly 2,000 files. As you can probably imagine, internet sleuths were able to extract the files before Anthropic could deploy a fix, as a link to an archive containing them was posted to X by security researcher Chaofan Shou. The post caught the attention of more than 27 million users.

An Anthropic spokesperson confirmed the leak, saying the company is now reviewing steps to prevent a similar egregious human error from occurring again. The spokesperson provided a statement, saying, "Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed."

Anthropic confirms it leaked the source for Claude Code, blames human error 165965165

The damage from this leak could be catastrophic for Anthropic, as competing AI companies will now get a look at what's under the hood of its most popular product. From that, they can see what Claude Code lacks and what it does well, implementing those aspects and others into their own AI tools.

In other news, a new Lord of the Rings game is reportedly in development by Crystal Dynamics, the studio behind the modern Tomb Raider games.

Photo of the PlayStation 5 Disc Edition Console (slim)
Best Deals: PlayStation 5 Disc Edition Console (slim)
Today7 days ago30 days ago
$549 USD-
$549.99 USD$549.99 USD
$549 USD-
$549 USD-
$549 USD-
Check PriceCheck Price
* Prices last scanned 4/1/2026 at 2:34 am CDT - prices may be inaccurate. As an Amazon Associate, we earn from qualifying purchases. We earn affiliate commission from any Newegg or PCCG sales.
News Sources:cnet.com and x.com

Tech and Science Editor

Email IconX IconLinkedIn Icon

Jak joined TweakTown in 2017 and has since reviewed 100s of new tech products and kept us informed daily on the latest science, space, and artificial intelligence news. Jak's love for science, space, and technology, and, more specifically, PC gaming, began at 10 years old. It was the day his dad showed him how to play Age of Empires on an old Compaq PC. Ever since that day, Jak fell in love with games and the progression of the technology industry in all its forms.

Follow TweakTown on Google News
Newsletter Subscription