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: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:09:03

Two birthdays apart

The Bicentennial was not just a commemoration of 200 years of independence – it was a coast‑to‑coast block party of red, white and blue.
00:02:31

Is Charlie Kirk’s Assassination Looking More Like a Conspiracy?

Enough videos have been posted to the internet, plenty...

Johnson & Johnson to Pay $5.5 Billion in Settlement to Resolve Baby Powder Lawsuits

Johnson & Johnson said it will pay $5.5 billion to resolve outstanding lawsuits alleging that its baby powder and other talc products caused ovarian cancer.

Energy Department Issues Emergency Order to Secure Power Grid in 17 US States

The Dept of Energy (DOE) has issued an order to tackle an energy emergency situation across 17 U.S. states triggered by hot weather conditions.
00:06:01

Anthony Fauci Invokes Fifth Amendment, Refuses to Answer Questions

Dr. Anthony Fauci on July 29 declined to answer questions from senators following the release of a diary he compiled while working in government.

HHS Unveils Policy to End Funding for ‘Dangerous Gain-of-Function Research’

New HHS policy to end federal funding for gain-of-function research, halting support for experiments that enhance organisms.
00:01:42

2 Small Businesses Sue Trump Admin Over New Forced Labor Tariffs

wo small businesses have filed a lawsuit to block new tariffs imposed by the Trump administration on dozens of trading partners.

Trump Imposes Tariffs on 60 Countries Over Forced Labor

The United States will impose new tariffs ranging between rates of 10 percent and 12.5 percent on more than 60 trading partners beginning on July 24.
00:01:36

Secret Service Agent in Vance’s Detail Under Investigation Over Leaks, Spokesperson Says

The Secret Service announced that it has placed a member of VP JD Vance’s security detail on administrative leave for allegedly leaking information.
00:59:35

Trump Admin Pausing $1 Billion in Medicaid Payments to 2 States

The federal government is pausing more than $1 billion in Medicaid payments to two states, Health Secretary Robert F. Kennedy Jr. said on July 21.
spot_img

Related Articles

Popular Categories

MAGA Business Central