Conversation
Edited 47 minutes ago

Claude Code's source was apparently leaked via a source map inclusion in NPM? Oh NPM, you're the gift that keeps on giving.

Here's a link to what appears to be the source: https://github.com/abubakarsiddik31/leaked-claude-code

And here is an insta-Python port of the same code: https://github.com/instructkr/claude-code

Honestly, kinda silly it wasn't open source already.

UPDATE: It's been pulled, as the repo said it would be upon request.

7
2
0

@mttaggart NPM, the anti-capitalist engine. It woke now.

0
0
0

@mttaggart I saw others posting links too but I don't know if I want that smoke tbh.

Like, grabbing a copy sounds fun... but I don't like riding in vans.

0
1
0

Uhhhh in case I have to say this, don't run code you don't trust on your system, ya ding dongs.

5
2
0

@mttaggart stares aggressively at systemd

1
1
0

@buherator I run untrusted code on other people's computers. It's pretty fun!

0
1
2

@mttaggart that’s easy for you to say.

But my employer makes me use a laptop full of Microsoft 365 whatever, plus an ever-evolving zoo of shady utilities to keep the show on the road.

But it’s their machine, and their data, so I figure it’s fine 🤷

1
0
0

@slothrop Yeah that's definitely the point I'm making here

1
1
0

@mttaggart you’re right, sorry. I didn’t read the start of the thread 🫣

1
0
0

@mttaggart post deleted. Apologies for being a twat.

1
0
0

@mttaggart
I only skimmed - but it does not include the heart of the product: the learnt database? Or have I overlooked something?

1
0
0

@vampirdaddy If you mean memories, they're generated during usage. If you mean the model itself, that's cloud-hosted.

0
1
0

@mttaggart @blogdiva Depending on how much of it was AI-generated, it might even be considered in the Public Domain. Haven’t courts ruled that AI-generated works aren’t copyrightable?

1
0
0

@Sempf I mean here's the thing. It was always just Typescript anyway? It's not like the source was that far away from scrutiny in the first place.

1
1
0

@mttaggart Yeah you have a valid point. Back in the day leaked Android source was a big deal for a bit until everyone realized it's just a zip file.

0
1
0

@mttaggart @ramsey courts in the USA did rule a few weeks ago that anything created by AI is NOT copyrightable. this only applies to the USA were only humans have copyrights and the right to protect their IP thru patents.

1
0
0

@blogdiva @ramsey Do you have a citation for that? As far as I know, the Supreme Court declined to hear the case:

https://www.morganlewis.com/pubs/2026/03/us-supreme-court-declines-to-consider-whether-ai-alone-can-create-copyrighted-works

And the challenge is against a decision of the Copyright Office, not existing law.

So if the Copyright Office is denying copyright based on the human authorship basis, then that's the current Copyright Office policy, but not law.

0
1
0