News for hackers. Stuff that matters.
Re:Official Claude Code extension compromise by yubblegum on Friday October 30, 2026 @08:31PM (#50311999)
Vendor A publishes a public key on their site for authenticating any signature. There is an entire subset of cryptography dedicated to addressing these needs. This is just yet another software player, Cursor, taking the absolutely easy no effort path because otherwise they would be, I don't know, "losers". I mean only losers would setup a basic authenticated provinance for bits of code they are pushing to the world to be executed by all and sundry. Really, this profession has become a complete clown show.
Re:Official Claude Code extension compromise by still_grokking on Friday October 30, 2026 @11:42PM (#50313007)
> Really, this profession has become a complete clown show.

Always has been because there is so far zero liability for anything someone programs and distributes commercially. That's the single root cause. If not that software wouldn't be in general such major shit show. What we have is the result of being allowed to throw out even the most toxic shit out without any consequences if it causes damage, no mater how large the damage is. Software companies caused so far over the decades likely hundreds of billions, or even a few trillion damages in sum, yet nobody responsible ever got the bill. It's wild west—since now over 60 years. This has to stop finally!

Let's see where things will move as soon as we have regular product liability for software:

https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=legissum...

Just a few days left! Looking forward.

Re:Official Claude Code extension compromise by rixed on Saturday October 31, 2026 @02:18AM (#50313676)
That, and NIS2. Looks like a good trend, hopefully it's not just protectionism.
Re:Official Claude Code extension compromise by still_grokking on Saturday October 31, 2026 @04:29AM (#50314194)
Well, if something than it's "anti-protectionism".

This is going to cause some major argument between the EU and the US, maybe even a trade war. Trouble is already underway:

https://www.reuters.com/legal/government/us-lawmakers-urge-t...

Despite that I also think that this is the right and long overdue move on the EU side. We need to break the basic pattern that nobody cares as long as the responsible effectively never get the bill when they mess up.

Software is "Unsafe at Any Speed" [ https://en.wikipedia.org/wiki/Unsafe_at_Any_Speed ] to bring a striking analogy — even we have since about 60 years the tech to build software which provably (in the mathematical sense) matches its specification. Still what you have on the market is utter garbage, and instead of getting better it gets currently actually worse with lowering the garbage quality level even more with "AI" slop. That EU legislation could become the escape hatch; that's why I'm looking forward.

Re:Official Claude Code extension compromise by duskdozer on Saturday October 31, 2026 @04:38AM (#50314223)
I'm having trouble understanding what effects that directive could have. Liability under what circumstances and to what degree?
Re:Official Claude Code extension compromise by still_grokking on Saturday October 31, 2026 @08:47AM (#50315698)
It's the biggest fundamental change which ever happened in how software is treated legally. This is a revolution!

Under the new legislation software products become regular products; there is no liability exception any more.

If you commercially distribute defective products to end user you're in general liable for the damages these defective products cause. This now includes pure software just as any other (physical) product on the market.

If you don't know how product liability generally works in the EU, and what this means for software see here:

https://cms.law/en/int/publication/the-new-eu-product-liabil...

Re:Official Claude Code extension compromise by Rohansi on Friday October 30, 2026 @09:04PM (#50312207)
I don't think even VSCode does this. Probably not even any package managers I know of? Code signing, yes, but not for organization verification? It's pretty much like a username - anyone can claim it if it is unclaimed?

edit: VSCode has a verified marker for publishers but I don't know how that works or if Cursor does the same.

Re:Official Claude Code extension compromise by yunnpp on Friday October 30, 2026 @10:14PM (#50312613)
This is a solved problem, just look at how EFF's certbot works. You cannot just claim that you are porn.com unless you put a payload there that matches what the bot expects.
Re:Official Claude Code extension compromise by Rohansi on Saturday October 31, 2026 @12:15AM (#50313157)
And force everyone who wants to publish an extension to buy and manage a domain name? What if it expires? You're just replacing one set of problems with another.
Re:Official Claude Code extension compromise by dkersten on Saturday October 31, 2026 @05:03AM (#50314310)
You could make it a requirement only for people who want to attribute “made by”. If you publish a no name extension, you could skip it.
Re:Official Claude Code extension compromise by yunnpp on Saturday October 31, 2026 @12:34PM (#50317632)
You don't need to force everyone, both an coexist in this context. I do believe a company with nearly a trillion dollars of planned expenditure can afford to buy a domain and renew it prior to expiration.
Re:Official Claude Code extension compromise by Rohansi on Saturday October 31, 2026 @12:54PM (#50317812)
Then you would have the same problem. Anthropic has no presence on the Cursor Marketplace, so what is stopping someone from claiming the name and just not associating a domain name?
Re:Official Claude Code extension compromise by yunnpp on Saturday October 31, 2026 @02:07PM (#50318436)
Nothing, but that extension would be flagged as "unknown" or "third-party" source or something and you'd get a big warning before proceeding to install it.

Also, a basic scan of the package would have flagged an ssh backdoor, no? It didn't seem to me like its obfuscation was very sophisticated.

Re:Official Claude Code extension compromise by Rohansi on Sunday November 01, 2026 @06:10AM (#50324501)
A big danger warning before installing extensions is a great way to kill your FOSS extension crowd off. Verifying ownership of a domain doesn't even guarantee that anything about the extension is trustworthy. People get phished all the time and skip through warnings.

Scanning is a curious one. It's not always obvious because developer tools have legitimate reasons to do a lot of these things. LLMs are better at understanding what it's actually doing now though so that might have worked. But who knows, people have snuck in backdoors into many things before.

Re:Official Claude Code extension compromise by havnagiggle on Sunday November 01, 2026 @09:13AM (#50325894)
Literally "Made by <verified domain name>" would go a long way. Cursor is just making poor technical decisions. But then I'm sure we'd have a news story about homoglyph attacks on Cursor.
Re:Official Claude Code extension compromise by skydhash on Friday October 30, 2026 @10:30PM (#50312683)
> Code signing, yes, but not for organization verification

They don’t do organization verification, but they do verify where code comes from. You may be sure that packages are built by alpine, which made sure that the dist files comes from the sources that the maintainers added, and the latter ensure that the sources are correct. In truth, it’s a very small circle of trust.