Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Claude Code Source Leaked via npm Packaging Error, Anthropic Confirms
Hacker News ^ | 04 01 2026 | Ravie Lakshmanan

Posted on 04/01/2026 9:24:00 PM PDT by yesthatjallen

Anthropic on Tuesday confirmed that internal code for its popular artificial intelligence (AI) coding assistant, Claude Code, had been inadvertently released due to a human error.

"No sensitive customer data or credentials were involved or exposed," an Anthropic spokesperson said in a statement shared with CNBC News. "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."

The discovery came after the AI upstart released version 2.1.88 of the Claude Code npm package, with users spotting that it contained a source map file that could be used to access Claude Code's source code – comprising nearly 2,000 TypeScript files and more than 512,000 lines of code. The version is no longer available for download from npm.

Security researcher Chaofan Shou was the first to publicly flag it on X, stating "Claude code source code has been leaked via a map file in their npm registry!" The X post has since amassed more than 28.8 million views. The leaked codebase remains accessible via a public GitHub repository, where it has surpassed 84,000 stars and 82,000 forks.

A source code leak of this kind is significant, as it gives software developers and Anthropic's competitors a blueprint for how the popular coding tool works. Users who have dug into the code have published details of its self-healing memory architecture to overcome the model's fixed context window constraints, as well as other internal components.

SNIP

(Excerpt) Read more at thehackernews.com ...


TOPICS:
KEYWORDS: ai; anthropic; claude; code

Click here: to donate by Credit Card

Or here: to donate by PayPal

Or by mail to: Free Republic, LLC - PO Box 9771 - Fresno, CA 93794

Thank you very much and God bless you.


1 posted on 04/01/2026 9:24:00 PM PDT by yesthatjallen
[ Post Reply | Private Reply | View Replies]

To: yesthatjallen

I AM ALREADY SICK OF AI.


2 posted on 04/01/2026 10:19:50 PM PDT by ridesthemiles (not giving up on TRUMP---EVER)
[ Post Reply | Private Reply | To 1 | View Replies]

To: yesthatjallen
Anthropic just tossed any chance that they'd ever get back in the good graces of the US Government into a gigantic shredder. Never mind just ripping Claude out of the DoD. Claude is effectively blacklisted from everywhere.

"Human error"? Maybe. Sabotage? Maybe. Covering up for an AI error? Maybe.

No one with half a brain will trust Anthropic to piss into a urinal without splashing.

3 posted on 04/01/2026 10:39:08 PM PDT by dayglored (This is the day which the LORD hath made; we will rejoice and be glad in it. Psalms 118:24)
[ Post Reply | Private Reply | To 1 | View Replies]

To: yesthatjallen

“Claude, who’s the best president?”

“The best president at this time is Xi”


4 posted on 04/01/2026 10:51:11 PM PDT by VanShuyten ("...that all the donkeys were dead. I know nothing as to the fate of the less valuable animals.”)
[ Post Reply | Private Reply | To 1 | View Replies]

To: yesthatjallen
The interesting thing about this latest blunder from Anthropic is that when combined with the pentagon fiasco it has cost CEO and Co-Founder Dario Amodei and his sister President/Co-Founder Daniela Amodei who knows how many tens or even hundreds of $Billions. With that kind of money at stake... it is hard to believe that this was actually just a case of "human error".


5 posted on 04/01/2026 11:02:36 PM PDT by fireman15
[ Post Reply | Private Reply | To 1 | View Replies]

To: yesthatjallen

anyone have a link?


6 posted on 04/01/2026 11:35:16 PM PDT by sten (fighting tyranny never goes out of style)
[ Post Reply | Private Reply | To 1 | View Replies]

To: yesthatjallen
"Well, I don’t think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error."

Regards,

7 posted on 04/01/2026 11:35:47 PM PDT by alexander_busek (Extraordinary claims require extraordinary evidence.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: yesthatjallen

Claude has thousands of Indians working on it. I am sure there is more than a dozen versions of its source code floating around unsecured in Mumbai as I type this.


8 posted on 04/02/2026 2:39:40 AM PDT by jroehl (And how we burned in the camps later - Aleksandr Solzhenitsyn - The Gulag Archipelago)
[ Post Reply | Private Reply | To 1 | View Replies]

To: alexander_busek

Just what i was thinking!


9 posted on 04/02/2026 2:49:14 AM PDT by daniel1212 (Turn 2 the Lord Jesus who saves damned+destitute sinners on His acct, believe, b baptized+follow HIM)
[ Post Reply | Private Reply | To 7 | View Replies]

To: fireman15

Nice pic. Did you just make that? Toasted and Roasted


10 posted on 04/02/2026 2:51:21 AM PDT by daniel1212 (Turn 2 the Lord Jesus who saves damned+destitute sinners on His acct, believe, b baptized+follow HIM)
[ Post Reply | Private Reply | To 5 | View Replies]

To: yesthatjallen

Source code yes... Training data, no. This is not a big deal without the data.


11 posted on 04/02/2026 3:55:16 AM PDT by TexasGunLover
[ Post Reply | Private Reply | To 1 | View Replies]

To: sten

https://github.com/ultraworkers/claw-code


12 posted on 04/02/2026 4:51:35 AM PDT by yesthatjallen
[ Post Reply | Private Reply | To 6 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson