Anthropic Accidentally Leaks Claude Source Code

5Mind. The Meme Platform

The leak was caused by human error, not a security breach, the company said.

Anthropic said on March 31 that it accidentally leaked internal source code for its popular artificial intelligence (AI) chatbot, Claude Code.

The leak stemmed from version 2.1.88 of the @anthropic-ai/claude-code package on the npm registry. It included a 59.8-megabyte source map file that exposed roughly 512,000 lines of unobfuscated TypeScript code across about 1,900 to 2,300 files, an Anthropic spokesperson said in a statement. The code quickly spread to GitHub repositories that have been copied tens of thousands of times.

Anthropic called the incident a packaging mistake rather than a hack.

“Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed,” the statement read. “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.”

Anthropic did not immediately return a request for comment.

The exposed material covers the command-line interface and developer tools, not the underlying large-language model weights or training data.

Anthropic has wrestled with intellectual property and security issues for more than a year.

In February, the company accused three major Chinese AI developers—DeepSeek, Moonshot AI, and MiniMax—of creating more than 24,000 fraudulent accounts to extract 16 million prompts from Claude models and train their own systems in a tactic known as “distillation,” which involves training a smaller, less powerful “student” model on the outputs, behavior, and knowledge of a much larger, more advanced “teacher” model. This allows the student system to imitate the teacher’s capabilities without the time and money required to develop them independently.

Since many China-based models, such as DeepSeek’s R1, do not charge a monthly subscription fee, widespread distillation could make it harder for U.S. providers, such as OpenAI and Anthropic, to monetize products they have spent billions of dollars to build and maintain. That imbalance, the company said, risks eroding the United States’ competitive advantage in AI that export controls are designed to preserve.

In November 2025, Anthropic warned that hackers had weaponized its Claude Code chatbot to infiltrate at least 30 organizations, scanning for high-value databases and cybersecurity weaknesses.

By Kimberly Hayek

Read Full Article on TheEpochTimes.com

Contact Your Elected Officials
The Epoch Times
The Epoch Timeshttps://www.theepochtimes.com/
Tired of biased news? The Epoch Times is truthful, factual news that other media outlets don't report. No spin. No agenda. Just honest journalism like it used to be.
00:02:22

Young Washington: Movie Review

Sitting in the theater watching Young Washington, I found myself wondering why this story hadn’t been made into a film sooner.
00:02:08

A Movie That’ll Keep You Awake: A Great Awakening

So how does someone (me) who thinks they’ve just seen the greatest movie ever (A Great Awakening), persuade you to watch it?

Ring That Bell

If I could travel back in time to 1776,...

Thoughts On America 250

Before you, American reader, is the honor, blessing, and privilege of celebrating the 250th anniversary of our nation. A nation toward which God has been merciful, shining His great grace.
00:01:39

Citizen Vigilante Delivers the Warning Western Governments Desperately Need to Hear

Citizen Vigilante shows what happens when the state stops defending the native population and shields favored migrant groups while criminalizing native dissent.
00:02:36

China Used Sex, Donations, Planted Interns to Influence US Political System: Declassified Docs 

Newly released FBI files describe Christine Fang’s CCP intelligence ties, efforts to recruit her as a double agent, and her influence of a U.S. congressman.
00:01:00

Supreme Court Denies Rehearing in $5 Million Abuse Verdict Against Trump

U.S. Supreme Court denied Trump’s request to rehear an appeal related to judgment against him for alleged sexual abuse and defamation in E. Jean Carroll case.

Top FDA Official Urged Fauci, NIH Head to Study Problems After COVID-19 Vaccination

A top FDA official told counterparts at the NIH that they should study health issues that arose in some people after receiving COVID-19 vaccines, according emails..
00:03:36

FDA Approves Emergency Drug for NWS Infestation in Adult Dogs and Puppies

The Food and Drug Administration approved a medication targeting New World screwworm infestations in adult dogs and puppies.
00:01:47

Trump Says He’ll Declare the Hormuz Strait a US Territory ‘Pretty Soon’

President Trump announced his intention to declare the Strait of Hormuz a U.S. territory, introducing a new position regarding the vital waterway.

Trade Court Upholds Trump’s Shutdown of $800 De Minimis Duty Exemption

U.S. Court upheld Trump admin’s authority to end the de minimis exemption allowing Americans to avoid paying duty on packages worth $800 or less.
00:07:02

Trump Orders Navy to Replace Newer Fighter Launch System With Older Steam Catapults

President Trump ordered the Navy to return to using steam catapults to launch fighter jets from aircraft carriers instead of using the newer electromagnetic catapult system.
00:05:10

China Behind ‘Great Transshipment Scam’ Costing Billions of Dollars, White House Says

A report stated that China systematically evaded U.S. tariffs and other trade measures by routing goods through third-party countries.
spot_img

Related Articles

Popular Categories

MAGA Business Central