322 points dsr_ 1 hour ago 82 comments
xx_ns 1 hour ago | parent
EDIT: I am now actually unsure if this is the case. From what I can see, all of the write-ups mention the Cursor marketplace and Open VSX specifically, but make no explicit mention of the official Microsoft registry.
thevinter 1 hour ago | parent
Hackbraten 13 minutes ago | parent
1. The Cursor Marketplace (never heard of this one, it’s possibly a custom marketplace hard-wired into Cursor, which is architecturally a VS Code fork?)
2. The Visual Studio marketplace, hard-wired into VS Code
3. Open VSX
If I understand this thread correctly, then #1 and #3 had compromised versions, and nobody has made a statement yet about the status of #2.
xx_ns 13 minutes ago | parent
tveita 10 minutes ago | parent
mrweasel 1 hour ago | parent
This very much illustrates the danger of just carelessly installing untrusted software on your machine. In this case it happens to be code from Anthropic, but it could have been almost anyone. I'll be very interested in see the explanation from Anthropic, because of all the extension developers they should have the best tools for finding issues like this. LLMs have proven pretty good at finding security issues, so did they simply not let their own AI tools vet the code before shipping it? Or was the extension infected later, because in that case every single extension on Open VSX could be at risk.
eviks 1 hour ago | parent
mrweasel 44 minutes ago | parent
toyg 18 minutes ago | parent
This would actually be an exceptionally good use-case for AI. You don't need a super-duper frontier model to download a bit of source-available code and check for suspicious signs, any cheap model would do well enough. Heck, it's effectively virus scanning, we've had that for decades.
misnome 1 hour ago | parent
nubinetwork 1 hour ago | parent
fn-mote 1 hour ago | parent
fg137 1 hour ago | parent
koolba 1 hour ago | parent
staminade 50 minutes ago | parent
entrope 39 minutes ago | parent
I noticed that there was no update yesterday and wondered why. The daily updates are annoying in the base case.
Edited: This update was live for only 11 hours, so hopefully the default delay limited the blast radius, as it is meant to do.
altbdoor 1 hour ago | parent
https://cursor.com/blog/claude-code-extension-security-notic...
Edit: related https://news.ycombinator.com/item?id=50301983
sharpshadow 36 minutes ago | parent
yubblegum 30 minutes ago | parent
Wtf does that mean.
sourcecodeplz 28 minutes ago | parent
noitpmeder 27 minutes ago | parent
olmo23 21 minutes ago | parent
eviks 1 hour ago | parent
kamban 58 minutes ago | parent
iugtmkbdfil834 48 minutes ago | parent
It obviously doesn't take much to simply add 'just one more feature' that happens to undermine the original purpose of the application.
skydhash 40 minutes ago | parent
mirekrusin 4 minutes ago | parent
samiv 23 minutes ago | parent
stymaar 21 minutes ago | parent
It tells you all you need to know about how unserious these people are about computer security.
malfist 19 minutes ago | parent
stopsayingsorry 1 hour ago | parent
Hats off to the hackers.
misnome 57 minutes ago | parent
> This extension is not updated yet because new versions become eligible for automatic update 12 hours after they are published. It will become eligible in 2 hours.
anon-3988 49 minutes ago | parent
staminade 44 minutes ago | parent
minraws 27 minutes ago | parent
Anthropic holds the SLA/MSA agreements not this bad actors what happens to your data is unknown if these become frequent and accepted. Given how much data is piped to Claude code via these services/extensions.
Den_VR 43 minutes ago | parent
snaking0776 43 minutes ago | parent
origini 34 minutes ago | parent
We probably transfered more code/codebases and company secrets to random endpoints than ever before.
Btw. you could setup a sandbox and limit access
raxxorraxor 18 minutes ago | parent
You always do that, right? ...right?
deadbabe 12 minutes ago | parent
novafunc 2 minutes ago | parent
So you could be diligent and curl into a text file, see nothing is wrong, but then when you curl into bash, it runs something different.
magnio 15 minutes ago | parent
Yeah I sympathize with people saying software developers should not be called engineers too.
palata 10 minutes ago | parent
I just think that the level of malpractice in software engineering is a lot higher than in other engineering fields, for some reasons.
AdrianCX 47 minutes ago | parent
> Cursor said the extension was not developed by Anthropic and the maliciously modified extension was live on the marketplace from about 2:27 a.m. PT to 1:35 p.m. PT on Thursday
So is this or isn't this from Anthropic and how did this happen?
iugtmkbdfil834 46 minutes ago | parent
darkwi11ow 39 minutes ago | parent
origini 35 minutes ago | parent
Big companies are not just 'Company' they are a lot of small teams doing their own things. They need to coordinate with other people for public announcements etc. and security team is probably also looking at it.
stopsayingsorry 29 minutes ago | parent
AdrianCX 27 minutes ago | parent
So really, there's no way to say what was compromised and where.
This could have been avoided by having extensions signed by company doing them with their own keys and have them reviewed
mrweasel 36 minutes ago | parent
HexDecOctBin 41 minutes ago | parent
So Cursor is running its own extension repository? Or is this the official VS Code repository and the incident report just happens to focus on Cursor for some reason?
NewsaHackO 38 minutes ago | parent
altbdoor 28 minutes ago | parent
2. If the Cursor Marketplace version was released from an "official Anthropic" account, whose to say OpenVSX and/or VSCode versions are not compromised?
The affected versions have been pulled down, so no one really knows. The way I see it, only Cursor has admitted to have been compromised.
stbenjam 40 minutes ago | parent
poelzi 34 minutes ago | parent
poelzi 36 minutes ago | parent
orlp 27 minutes ago | parent
> Note: This delay does not apply to extensions from trusted publishers such as Microsoft, GitHub, and OpenAI. These extensions continue to update immediately.
You can't even configure which publishers you "trust"...
numbsafari 25 minutes ago | parent
efficax 18 minutes ago | parent
rvz 5 minutes ago | parent
Claude Code was already malware, but with this attack you cannot trust the vendor either.
In the next 2 weeks, no one should download / install / update anything as I predict at least one developer's key for a GitHub, NPM, Crates.io or any other CI or login was leaked and the attacker will target those services to propagate their trojan to more victims.
yubblegum 5 minutes ago | parent
anonymous908213 3 minutes ago | parent