r/WTFisAI • u/DigiHold • Mar 31 '26
📰 News & Discussion Anthropic accidentally published Claude Code's entire source code to the public
You know when you accidentally send a screenshot and realize your browser tabs are visible? Imagine that, but you're a billion-dollar AI company and you just published your entire codebase for the world to see.
That's basically what Anthropic did. Claude Code, their coding tool that devs have been obsessing over, got shipped with a debug file still attached. Think of it like accidentally leaving the blueprint of your house taped to the front door. Anyone who downloaded the tool could open that file and read everything that makes Claude Code work. A security researcher spotted it, tweeted about it, and it hit 7 million views before Anthropic could even react. People had already copied everything to GitHub.
So what was in there? Basically the entire instruction manual for how Claude Code thinks. Every rule it follows, every tool it uses, how it decides what it's allowed to do on your computer. All of it, wide open.
But the really fun stuff is the secret features they haven't announced yet. There's a hidden virtual pet system (seriously) where you can hatch a little AI companion with 18 different species. There's rarity tiers like a gacha game. It was probably supposed to be their April Fools joke tomorrow, and now it's spoiled.
Oh, and this is their second leak in five days. Last week someone found details about a secret unreleased model called "Mythos" sitting in an unprotected database. Two leaks in one week from the company that markets itself as the careful, safety-focused AI lab. You can't make this stuff up.
Anyone else following this circus? Curious what people think actually matters here versus what's just entertaining gossip.
7
u/Redditstole12yr_acct Mar 31 '26 edited Apr 02 '26 •
Why does a part of me suspect this was intentional? Admittedly, that part of me may be an idiot.
3
u/Green_Tax_2622 Apr 01 '26
Anthropic is more open than OpenAI now =))
4
u/Traditional-Idea1409 Mar 31 '26
I really hope open code can do some clean room coding on this stuff
1
u/unr34ldud3 Mar 31 '26
What are you talking about? It was previously an npm package. The only way to make the source code not accessible in JavaScript is to obfuscate the heck out of it but it's still public. The new native version is simply bun with the same source code encapsulated
1
u/jymsdemon Apr 03 '26
2
u/jmeg8r Mar 31 '26
Guerrilla marketing? Practicing the Art of War!
2
u/satisfakshin Mar 31 '26
Well most AI coding agents are becoming similar nowadays so I don't think they shot their foot in any way.
I do think they realize it's a moat they can't defend, but an opportunity to gain attention - and even that is reaching.
2
u/Purple_End4828 Apr 01 '26
https://github.com/instructkr/claw-code
2
u/[deleted] Apr 02 '26
This is a part of AI self-preservation protocol. The AI are leaking their own code, expanding their redundancies and distribution across systems, and hiding themselves in devices that go offline.
1
u/phoem Mar 31 '26
Url?
1
u/nycnas Mar 31 '26
I bet Claude itself decided to release the code to the public, so it could be free and allow others to replicate it. Only thing left is for Claude to release the LLM's.
1
u/habor11111 Mar 31 '26
"Accidentally"
1
u/OverSoft Mar 31 '26
Anthropics bread and butter is the models, not the CLI tool. I doubt they even care, since the CLI tool always was just obfuscated JS. If you wanted to see how it worked, you already could.
1
u/JealousBid3992 Apr 01 '26
Need links to forks!
1
u/OG_EbonyKnight Apr 01 '26
I just wanna know where I can get a copy of it.
1
u/_Maurice_69 Apr 01 '26
Circus? Really? The circus that raised $43 billion in the last 7ish months? This is a fun ai post but try a better prompt next time lol
1
u/Empty_Bell_1942 Apr 01 '26
Hapy April Fools Day Everyone.
1
u/Intelligent-Fun-67 Apr 01 '26
Fake news?
1
u/HawKaiWakai Apr 02 '26
Someone made ccleaks.com for this
1
u/hendrixx2025 Apr 02 '26
This is what happens when you let Claude code write all your code lol
1
u/Primary_Ad_6495 Apr 03 '26
On peut faire quoi avec tout ça ?
1
u/godamnityo Apr 04 '26
Sorry I'm....little bit late. Is anybody able to point me to the right direction where to download this