409 points dsr_ 2 hours ago 119 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.
EDIT 2: The version that was compromised (2.1.313) seems to have never been published on the official Microsoft registry. As per the documentation [1], unpublished versions should still be discoverable:
> When you unpublish an extension, the Marketplace preserves the extension statistics. The extension remains publicly discoverable and available via an existing API.
[1]: https://code.visualstudio.com/api/working-with-extensions/pu...
thevinter 1 hour ago | parent
Hackbraten 44 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 44 minutes ago | parent
tveita 40 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 1 hour ago | parent
toyg 48 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.
jeromechoo 11 minutes ago | parent
DanielHB 27 minutes ago | parent
https://github.com/jeanp413/open-remote-ssh
and run vscode-server inside a VM or container
mrweasel 7 minutes ago | parent
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 1 hour ago | parent
entrope 1 hour 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 1 hour ago | parent
yubblegum 1 hour ago | parent
Wtf does that mean.
sourcecodeplz 58 minutes ago | parent
noitpmeder 58 minutes ago | parent
stingraycharles 19 minutes ago | parent
mirashii 18 minutes ago | parent
LastTrain 14 minutes ago | parent
bunderbunder 14 minutes ago | parent
internet_points 3 minutes ago | parent
eviks 1 hour ago | parent
kamban 1 hour ago | parent
iugtmkbdfil834 1 hour 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 1 hour ago | parent
mirekrusin 35 minutes ago | parent
samiv 54 minutes ago | parent
stymaar 51 minutes ago | parent
It tells you all you need to know about how unserious these people are about computer security.
tiahura 2 minutes ago | parent
Or, is this FUD?
Cthulhu_ 21 minutes ago | parent
thatsabadlook 16 minutes ago | parent
dgellow 2 minutes ago | parent
stopsayingsorry 1 hour ago | parent
Hats off to the hackers.
misnome 1 hour 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 1 hour ago | parent
staminade 1 hour ago | parent
minraws 58 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 1 hour ago | parent
snaking0776 1 hour ago | parent
origini 1 hour 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 48 minutes ago | parent
You always do that, right? ...right?
deadbabe 43 minutes ago | parent
novafunc 33 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.
wolttam 6 minutes ago | parent
curl > some_file
bash some_file
(Also, how in the world would a server be able to tell where you’re piping the response?)magnio 46 minutes ago | parent
Yeah I sympathize with people saying software developers should not be called engineers too.
darkwi11ow 24 minutes ago | parent
hangrybear666 11 minutes ago | parent
AdrianCX 1 hour 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 1 hour ago | parent
darkwi11ow 1 hour ago | parent
origini 1 hour 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 1 hour ago | parent
stingraycharles 30 minutes ago | parent
I think you’re giving Musk too much credit.
kirth_gersen 4 minutes ago | parent
AdrianCX 58 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 1 hour ago | parent
stingraycharles 27 minutes ago | parent
So that’s how these things can go, the employee’s machine may have been infected which was then used to inject this.
thatsabadlook 14 minutes ago | parent
HexDecOctBin 1 hour 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 1 hour ago | parent
altbdoor 58 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 1 hour ago | parent
poelzi 1 hour ago | parent
poelzi 1 hour ago | parent
orlp 58 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"...
CoastalCoder 14 minutes ago | parent
efficax 48 minutes ago | parent
rvz 36 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 36 minutes ago | parent
paaloeye 30 minutes ago | parent
lxgr 26 minutes ago | parent
Given how many people likely share ChatGPT subscriptions, this seems highly problematic.
blondie9x 18 minutes ago | parent
Notable customers who run Claude Code and Cursor on laptops include Binance, amongst thousands of others.
Did the Claude Code plugin hack cause the Binance theft? The timing seems like an incredible coincidence.
DEADF007 11 minutes ago | parent
try-working 9 minutes ago | parent
maayank 2 minutes ago | parent