Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
like this
reshared this
Rens van der Heijden
in reply to tante • • •Kotes reshared this.
David Nash
in reply to Rens van der Heijden • • •@Namnatulco
This Reddit thread is a good example. A dev posts some visible problems with the leaked code — some problems more serious than others, but just about everything in there counts as dubious “code smell”, sketchy team/organization culture, or both, at a minimum.
The general response? Blowing it off. Stating that the person posting this doesn’t know what real software development is like. Reinforced by an AI-generated summary at the top of the thread, emphasizing the sentiment just described, and generally belittling the concerns raised here.
(TL;DR summary of my own experience with enterprise software development, going back almost 30 years: the quality of what’s in the Claude Code leak is, at the absolute best, definitely on the “very dysfunctional” side of “typical”. I’ve seen lots of dubious code, outdated code, tech debt time bombs as code, and just plain crap code; I have *not* routinely seen codebases for major applications that look quite like this.)
reddit.com/r/ClaudeAI/comments…
rexi
in reply to David Nash • • •re: AI top of thread summary
can't get much more dystopian than having AI's defend themselves using some unknown energy amount.
bad code actually costs energy.
whole bunch of thesis papers on it.
Kim Spence-Jones 🇬🇧😷 reshared this.
Chris L
in reply to Rens van der Heijden • • •Ein „Primat“
in reply to tante • • •Ein „Primat“
in reply to Ein „Primat“ • • •Cap Ybarra
in reply to Ein „Primat“ • • •Oli
in reply to tante • • •Ralf
in reply to tante • • •Svavar the Neurospicy
in reply to tante • • •Salesforce has Agentforce Vibes and if you have access to it you can see a lot of the prompts they wrote to guide the LLM. There's very little to stop you from copying it all.
It's the same with a lot of their agentic offerings, you can look under the hood and customise how it works. All they're selling you is a prompt library and the ability to run the LLM on their infrastructure.
salesforce.com/agentforce/deve…
Enterprise Vibe Coding - Agentforce Vibes
Salesforcenone gender with left politics
in reply to tante • • •tante
in reply to none gender with left politics • • •Software as Fast Fashion
tante (Smashing Frames)none gender with left politics
in reply to tante • • •Pierric
in reply to none gender with left politics • • •Moe Lassus
in reply to tante • • •Skjeggtroll
in reply to tante • • •"Dunno what you call the people prompting software at Anthropic but "engineer" is not it."
'Software mendicants', perhaps?
Kotes reshared this.
Parth Parikh
in reply to tante • • •like this
const negativePattern =
/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/
😂
Kotes likes this.
Kotes reshared this.
Adrian Chadd <verified.png>
in reply to Parth Parikh • • •Parth Parikh
in reply to Adrian Chadd <verified.png> • • •GunChleoc
in reply to Parth Parikh • • •@parikhparth23 @erikarn I guess I'll have to swear in a language other than English then.
Tòn an t-Sàtain!
Lord Caramac the Clueless, KSC
in reply to tante • • •Ever since the Industrial Revolution, capitalism has been thriving on producing bad quality for cheap, and then selling that cheap disposable shit to everyone so they have to throw it out and replace it when it breaks. Before the Industrial Revolution, people didn't have many pieces of clothing, but their clothes lasted for decades. Then mechanical looms produced so much cloth for so cheap that weavers lost their livelihoods, even though their artisanal cloth was far superior. All of a sudden, many people could afford to buy a lot of new clothes, but then they had to keep buying them because the fabric didn't last as long as it used to.
Making things cheap, shoddy, disposable, has always been the general direction of industrial mass production. If it's cheap enough, who cares if it breaks after a while, just buy a new one.
First it was textiles. Then it was all kinds of consumer goods. After WW2, everything became increasingly disposable. Nowadays even entire washing machines are often made out of plastic so that they break after a decade. Automated factories don't care if their products are of worse quality than the things that came before, they just dump their cheap shit onto the marketplace until the competition crumbles.
Kim Spence-Jones 🇬🇧😷 reshared this.
Cap Ybarra
in reply to Lord Caramac the Clueless, KSC • • •Angie
in reply to tante • • •tante
in reply to Angie • • •Urwumpe
in reply to tante • • •Bruce Simpson, Ph.D.
in reply to tante • • •https://mastodon.online/users/LuxVenandi
in reply to tante • • •Ken Brucker
in reply to tante • • •Svavar the Neurospicy
in reply to Ken Brucker • • •@sigsegv
There's a study that found that engineers report being 20% more productive but they're actually 20% less productive.
So it's delusional all the way down.
VoidZeroOne
in reply to tante • • •Hugs4friends ♾🇺🇦 🇵🇸😷
in reply to tante • • •Sensitive content
Aras Pranckevičius
in reply to tante • • •Bent Chinrest
in reply to tante • • •tymoty 🇪🇺
in reply to tante • • •degenerating degenerate
in reply to tante • • •... the scaffolding around a natural language engine isn't going to look like oldstyle heuristic code. That's what all those highly paid "prompt engineers" have been doing.
Although it clearly eases the pain for people to come together and ritually denounce AI and all that sail in it, the fact is coding AIs work very well and aren't going anywhere even when the "add clippy to everything" bubble bursts.
Just bear in mind it's widely used, but quietly on masto due to all the pitchforks.
Kotes reshared this.
LotharMucki 🦄
in reply to tante • • •Brandy - Beggin & Pleadin
Brandy (YouTube)Harald
in reply to tante • • •Wulfy—Speaker to the machines
in reply to tante • • •... Shame you miss the whole point of #Vibecode...
It was never meant for human eyes.
It turns you into a bitter angry creature 🤡
Dahie
in reply to Wulfy—Speaker to the machines • • •Wulfy—Speaker to the machines
in reply to Dahie • • •@dahie
Fast - There are no performance issues noted
Efficient (By definition: Efficient code is
software that achieves its intended functionality using the minimum necessary computational resources)
In fact it does exactly that. The "Hahaha Regex" folk are condemning it for being efficient. Instead of kicking off an Ai sentiment check, it checks for 100+ words. That's super efficient.
The JSON blah blah is just.misinterpretation of what the code does, its a fallback error handling.
Other than that I have not heard any specific "inefficiencies"
Reliable - The compounding net correctness is outpacing the compounding errors. Claude code is reliable and increasing so, as evidenced by its adoption (not amongst the forest folk of course).
Secure - Once again, in the initial reporting, I have not seen any security holes. The software source was a human error.
Maybe I missed something in the analysis so far.
If you can point me to any breaches of those 4 criteria, I'd happily read more.
No doubt, we will find out more soon.
Edit: A super quick look says there is SOME merit in your claims (although stretching), Security is rock solid though. I'll have to evaluate fully the others (they are tenuous IMHO)
#claudeleak #claudecode
Claudio Zizza 🦜
in reply to tante • • •Nothing you wrote will make a company reconsider its usage, when they're earning money by using Claude. They have to lose money to rethink.
It's the same with every questionable technology. 😞
Kotes reshared this.
Brian Swetland
in reply to tante • • •MidgePhoto
in reply to tante • • •Software Archeologist looked like a future occupation.
#SciFi Pham Newen did a lot of that in #VernorVinge's Zones of Thought novels.
Archeologists currently dig through ancient #middens as well as more ordered ancient to old structural remnants.
But this looks like a mess made from the start.
Openhuman
in reply to tante • • •Robin Syl 🌸
in reply to tante • • •Paul Chambers🚧
in reply to Robin Syl 🌸 • • •FWIW, people that create with ai should be aware, they aren't protected if they plan on doing something more with the code they generate with AI.
Also, there is an argument to be made to leave it up since the courts came out and said machine generated creations aren't copyrightable and the US Supreme Court refused to take up the appeal with the courts finding that the Copyright Act Copyright Act “protects only works of human creation” and “requires all eligible work to be authored in the first instance by a human being.” @tante
For law buffs, the cites are here:
Thaler v. Perlmutter, 687 F. Supp. 3d 140 (D.D.C. 2023)
Thaler v. Perlmutter, 130 F.4th 1039 (D.C. Cir. 2025)
Justin Scholz
in reply to tante • • •Tristram Brelstaff
in reply to tante • • •Natalia Ossipova
in reply to tante • • •@jzilske Knowing their dirty minds we can be sure that they will force software engineers to manually review, fix and test that code. They are already fantasising about it.
Edit: In case it's ambiguous, I mean LLM-generated code in general, not the Claude source code.
Aegir
in reply to tante • • •tante
in reply to Aegir • • •SuperDicq
in reply to tante • • •Blurry Moon likes this.
https://mtl.jinxian.casa/users/adiz
in reply to tante • • •Cassandrich
in reply to tante • • •The difference from fast fashion is that low quality clothing doesn't make decisions about who to bomb, who to put in prison, who gets benefits, how a bridge or skyscraper gets built, what medical treatment someone gets, whether their stalker or abusive partner can search their phone, etc.
Low quality software is fundamentally a threat to human life and safety.
SkellySoft
in reply to tante • • •Whenever I buy fast fashion, I buy it expecting it to fall apart because I'm broke. When it *doesn't* it's an unexpected surprise, a production glitch.
A future where youll be saying "Oh wow, my banking app/age verification app/bluetooth-integrated blood sugar monitor app *didn't* shit itself and delete all my saved data/log me out of my accounts/publicly leak my personal data to the internet today!" is... not quite the impressive feat that OpenAI & Co think it is. 🥲
tante reshared this.
John Colagioia
in reply to tante • • •Patrick H. Lauke
in reply to tante • • •Chaddicus
in reply to tante • • •Bredroll
in reply to tante • • •Rolf Cronberg
in reply to tante • • •teledyn 𓂀
in reply to tante • • •Plan-A
in reply to teledyn 𓂀 • •teledyn 𓂀 likes this.
Dennisqr
in reply to tante • • •