Top
Best
New

Posted by _chall 1 day ago

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace(phorion.io)
https://cursor.com/blog/claude-code-extension-security-notic...
917 points | 535 commentspage 5
mrweasel 1 day ago|
How will they communicate and fix that. The affected version has been yanked from the marketplace: https://marketplace.visualstudio.com/items?itemName=anthropi... but that doesn't clean up infected machines.
bitfilped 23 hours ago|
Seemingly the won't to either point.
reilly3000 1 day ago||
My tin foil hat says MSFT stands the most to gain my this. https://open-vsx.org/ is where the attack took place, and that power’s all of the VSCode fork’s extensions needs.
airhangerf15 1 day ago||
VS Code extensions have always been terrible from a security perspective. This seems like it's a supply chain attack? Makes me think of Solar Winds from a few years ago.

It doesn't appear that the Claude Code harness itself was compromised, was it? or Cursor if you use Anthropic models via Cursor's API itself?

Lately I've been using a script that mounts my current working directory in a container and I put all my build tools in a Dockerfile. I also map the harness config (~/.config/opencode or whatever) to a named volume to minimize the chance a harness could grab other things off my host. I can't use it if I ask the LLMs for docker work since they need the docker socket and then all bets are off (it could just mount your root volume somewhere). I sure I could use a full QEMU VM or some other type of isolation for such devops tasks, but I haven't really looked into it yet. Guess I should.

bhubert 23 hours ago|
You could also start whichever container it needs (the docker work) yourself and just have the two containers container with eachother (e.g. docker compose, without granting access to docker socket), provided that the docker work is static enough that this would work.

You could also look into user gVisor runtime for extra security.

If not, then I think you're right about full VM.

I've been eyeing Gondolin for a while for that, but haven't yet tried it.

chrisweekly 23 hours ago||
Try smolvm microvms from https://smol-machines.com
mindracer 1 day ago||
Some more details

https://doublepulsar.com/anthropic-hacked-to-deliver-remote-...

paxy 22 hours ago|
The first two words in that URL are wrong, so I'm going to say this doesn't have "more details".
Glyptodon 22 hours ago||
Normal VS code doesn't even use Cursor Marketplace, right? The way this is reported lacks clarity. Do people using plain CS Code even use the Cursor Marketplace? Or am I missing something?
hemlock4593 22 hours ago||
It's funny that's the point where people draw the line. But that basically every API based agent is doing RCE where commands are fetched from servers is perfectly fine.
HexDecOctBin 1 day ago||
> Claude Code for VS Code extension on the Cursor Marketplace

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 day ago||
VS Code doesn't allow forks to use their marketplace, I think. At least with VSCodium, they don't. I think they even patch a workaround where you could download almost all extensions' .vsix files.
altbdoor 1 day ago||
1. If only Cursor Marketplace version was compromised, how was it published in the first place?

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.

More comments...