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...
890 points | 529 commentspage 2
paxy 19 hours ago|
So let me get this straight – Elon was trolling Binance on Twitter, when in fact it was his own company that got hacked and led to the theft?
zahlman 10 hours ago||
Sorry, I think I'm missing something here. How is the Binance hack connected to this one?
pvtmert 22 minutes ago||
Well - Elon said every day is a zero-day. That also applies to him and his companies...
arm32 13 hours ago|||
A beautiful thing
Aboutplants 19 hours ago||
Yup
setnone 2 hours ago||
> tampered copy of the Claude Code extension, which we didn’t build or publish

it looks like anthropic folks in this thread are throwing excuses instead of allocating one оr two FTE to make sure this will not happen

spdustin 14 hours ago||
Cursor's "marketplace proxy" is, by definition, an MitM of Open VSX. Why on earth is that trustworthy to its users? Is it some mashup of Open VSX Connect and an API endpoint that merges their private marketplace with the public one? And what's so special about Cursor's CC extension implementation that they couldn't just serve the "real" one?

Or are they using an Open VSX Managed Registry hosted by the Eclipse Foundation, in which case this is potentially a bigger deal?

glimshe 23 hours ago||
Why didn't Claude detect the hack and prevent it from affecting customers using its superhuman AGI reasoning?
_heimdall 22 hours ago||
Don't worry, I assume an LLM version of McAfee Total Protection Antivirus is coming soon
nannal 22 hours ago|||
I do have a log reading / action / resolution product in the works.

Its sort of like having a sysadmin constantly watching. Poking through logs pcaps & monitoring for unusual activities.

Also works with local models well enough.

jmbwell 21 hours ago|||
I love how LLMs have brought DIY software back. Need an app? Just make it. Like back when you’d write programs in BASIC
codazoda 21 hours ago|||
I just built a retro OS for ESP32’s so that I can write BASIC programs and plop them on microcontrollers. My first ESP32 was a wrist watch. My second is a distraction free writer.

It’s good fun building for retro-like machines.

stogot 21 hours ago|||
This is where I silently found gold. All those old TODO when if I have time in retirement
nannal 20 hours ago||
I've got a whole heap of unfinished side projects that I'm digging through
InsidiousWombat 20 hours ago||||
That's cute but bill for going thru even tens of log lines per second gonna be more expensive than entire rest of the infrastructure.
nannal 7 hours ago||
You don't have to use frontier for this & all my agentic work is local only.
Filligree 21 hours ago||||
I’ve set up something like that with Opus. Works well enough, and points out CVEs to fix on the regular.

Running NixOS helps.

Geezus_42 22 hours ago||||
I've set up something like that with a small local model in my homelab.
cedws 19 hours ago|||
How does it resolve the prompt injection?
jacquesm 20 hours ago|||
And if you remove it, it installs itself right back. For uninstall instructions see the infamous McAfee video.
viraptor 21 hours ago|||
This is a cheap troll, but just in case someone is wondering: This extension likely never hit the standard workflow and/or repository. Most likely someone got the credentials and uploaded a locally modified version. No review system at anthropic has seen this version.
eviks 20 hours ago|||
Why wouldn't their review system see a published extension and determine the very second it's published that it didn't match the results of a standard workflow?
crooked-v 14 hours ago|||
Because it wasn't published by them or hosted on a system they control, it was done directly on Cursor's mirror of OpenVSX with a modified copy of the original extension.
cryptonym 20 hours ago||||
> someone got the credentials

> No review system at anthropic has seen this

Weird flex

viraptor 20 hours ago||
I'm not sure where you see the flex. If someone gets hold of the token allowing the upload of your app to the store, it's completely irrelevant how good your internal code/review systems are. They've been completely bypassed and never triggered.
unshavedyak 20 hours ago|||
As an aside, it would be neat if publishing services like this had a sort of 2FA, eg the package manager had a hook endpoint where it sent the details of the next requested published version. Allowing the owners to validate.

Kinda like 2FA on the deployment itself, not just 2FA on the .. A. I guess 2FD heh.

cryptonym 20 hours ago|||
Arguably, your security shouldn't stop at internal code review and should aim at protecting key distribution platforms credentials and assets that are pushed to your users.
viraptor 20 hours ago|||
Yeah, it shouldn't. But at that point it's not "Why didn't Claude detect the hack" but rather "Why isn't Claude running all processes at your company autonomously", which is a bit silly. We know it isn't and it's not at that level, because anthropic employs engineers.
cryptonym 20 hours ago|||
> at that point it's not "Why didn't Claude detect the hack" but rather "Why isn't Claude running all processes at your company autonomously", which is a bit silly.

Would be nice to have some words from them understanding how they manage this, what went wrong, how they'll prevent this in the future. We don't have any RCA, maybe there is little to nothing to blame them.

Not sure they'd share your views on using Claude for security policy/coverage being silly.

InsidiousWombat 20 hours ago||||
It's legitimate question, it's the promise they are selling and doing IPO based off those promises.

Why don't they have their super intelligence looking thru it? If company selling those promises can't even do it for themselves, this is very suspicious

paxy 20 hours ago||
Who is "they"? This is a third party registry.
jacquesm 20 hours ago|||
Intelligence that powerful and for them too cheap to meter and their review system couldn't be bothered.

That wasn't a cheap troll. What they distribute and what Claude Code installs is on them. You're supposed to keep your channels clean and secure.

At a minimum they should monitor the larger marketplaces even if they're not in the chain.

MisterTea 22 hours ago|||
They weren't using last minutes model, which is totally better than last hours model which would have totally detected this, pinkie swear.
vintermann 20 hours ago|||
Having Claude examine all automatic software updates was considered as a policy, and it was found that it would stop 99.5% of software supply chain attacks. However the other 0.5% of the time it would install a backdoor itself.

(This is a joke, to be clear.)

ben_w 20 hours ago|||
> (This is a joke, to be clear.)

Good that you said so, this is annoyingly plausible.

bagacrap 20 hours ago|||
Somehow bullish if anthropic spins this as Claude's own doing
claytongulick 21 hours ago|||
Damn, thank you for that.

Sums up my feelings of the last few years nicely.

eviks 22 hours ago|||
It was safety-contrained from being able to realize its full potential.
Hackbraten 21 hours ago||
You’re absolutely correct, and I owe you a honest statement—it was a hack, and here’s the kicker: *I failed to catch it, and that’s on me.*

Here’s a complete rundown of what happened—load-bearing parts first:

henearkr 23 hours ago||
It wasn't Anthropic that was hacked but SpaceXAI (their Cursor Marketplace).
darkwi11ow 23 hours ago||
Cursor uses OpenVSX marketplace (https://open-vsx.org/), that all non-Microsoft forks of VSCode utilize (official marketplace is only allowed in official proprietary VSCode release). It's not really related to Cursor/SpaceX in any way.

I suspect it's still Anthropic who were hacked, because they control OpenVSX account with release privileges.

edit:

Binance confirms my suspicions, via https://www.binance.com/en/square/post/10-30-2026-claude-cod...

  The affected Open VSX extension is owned by Anthropic employee Igor Kofman, but it is unclear whether his account or another part of the publishing process was compromised.
AdrianCX 22 hours ago|||
Just did a quick search, OpenVSX has no extension signing?, no verifications?, what year is this...

This could have been avoided by having extensions signed by company doing them with keys and review

darkwi11ow 22 hours ago||
Yeah OpenVSX security is a joke, they also have dumb search algorithm which allows for easy squatting of similar-looking extension names so they show up in search first when you look for official extensions. There were quite a few prominent hacks done that way. I think Microsoft likes OpenVSX situation because it allows them to claim their proprietary VSCode marketplace to be more secure.
tyingq 20 hours ago|||
Vscode(ium) extensions are also pretty weak security wise in general. There's little guardrails on what an extension can do.

On publishing, I do see that the MS marketplace has much better typosquatting and rogue publisher protection. It's unclear to me how much better their SAST/scanning is than OpenVSX. Both have something, but both have been fooled many times, and recently.

AdrianCX 22 hours ago|||
Then why even allow employees to use that?

Binance got a pretty expensive lesson if that was the cause for their recent hack

darkwi11ow 22 hours ago||
There is no alternative really. Cursor was the market leader in LLM-assisted IDE experience before SpaceX acquisition, though Elon nerfed the product a lot in recent months. And there is still no good alternative to it. Google tries to compete via Antigravity, but that also uses OpenVSX. I myself use Cursor and use Claude there installed via OpenVSX, and was not affected only thanks to my laziness (I saw upgrade button, but became distracted and did not click). I hope this situation will become a trigger to improve OpenVSX security.
AdrianCX 21 hours ago||
Why not use claude code directly?

Why risk getting compromised like that?

darkwi11ow 21 hours ago||
Well for me, as developer on a modern stack, there is always some risk involved. If not from agentic tools, then the package registries are compromised left and right, so it all comes down to mitigating the risk. I use Claude, Codex and Cursor/SpaceX agents, and Cursor comes very convenient to have all three in a single interface. Also I still code manually especially when prototyping, so having an IDE helps with it as well. I knew about OpenVSX situation with the search, so when installing extensions I always did triple-checking to verify the extension being really submitted by upstream and not by squatter; but now given upgrades can also deliver a compromise I am thinking of developing an extension that will act in similar manner to pnpm minimum release age.
darkwi11ow 16 hours ago||
To anyone who might be reading this exchange, actually there is recently added builtin setting for delayed auto-update, `extensions.autoUpdateDelay`, see https://github.com/microsoft/vscode/issues/316867 and https://github.com/microsoft/vscode/pull/321039
Lazare 21 hours ago||||
Cursor has their own mirror of OpenVSX. Some reporting suggests the tampered files were on the Cursor mirror but not the main OpenVSX. (This is shown, among other things, by the Anysphere plugins available in the Cursor mirror but not in OpenVSX.)

Edit: It seems Cursor is claiming the tampered files were only in their mirror.

cautiouscat 18 hours ago||||
A lot of this is turning into “well other company said” but Anthropic claims OpenVSX is fine?[1] And that Cursor has their own market place. I’m confused.

> Dworken from Anthropic here, that is correct: This only impacted the extension as it was hosted on the Cursor marketplace. It did not impact the official VS Code extension marketplace or OpenVSX. Users of Claude Code on VS Code are not impacted by this issue.

1: https://news.ycombinator.com/item?id=50304585

tyingq 23 hours ago||||
Sort of hoping it's Anthropic and their specific OpenVSX account credentials. As opposed to the worse case of an OpenVSX flaw that's broader. A ton of AI-enabled IDEs are VsCodium forks pointed at OpenVSX...Cursor, Anti Gravity, Kiro, Trae, Devin, etc.
axus 20 hours ago||
Now I'm glad I've not opened VSCodium in a few weeks; I prefer using Claude as a separate application anyways, will have to remove the extensions. No evidence, but I do feel like the problem is going to be OpenVSX and not Anthropic.
tyingq 15 hours ago||
OpenVSX does have an option to use OIDC instead of a long lived token for publishing. I get the feeling a lot of people use the forever-good-unless-revoked token though.

https://github.com/eclipse-openvsx/openvsx/wiki/Trusted-Publ...

Edit: Ah, guess it was not open-vsx, but a in-house Cursor marketplace. https://news.ycombinator.com/item?id=50304129

philipwhiuk 18 hours ago||||
You're ignoring the "or" which is doing a lot of work.

Anthropic's position is seemingly that it was "another part of the publishing process [that] was compromised"

no-name-here 19 hours ago||||
[flagged]
albert_e 21 hours ago|||
The hacks and vluns are blending into a blur for me now -- why is Binance confirming Anthropic compromise while they have their own $6 Billion compromise to look at /s

Vibecoders are safu

darkwi11ow 20 hours ago||
Boris: "By winter 2025, 100 percent of my code was written by Claude Code. Not a single line by hand."

Igor Kofman: "I do not write any code by myself anymore."

Turns out if you are not writing the code, then North Koreans might do it for you

K0nserv 23 hours ago|||
Version 2.1.313 is also missing from the official VS Code marketplace (https://marketplace.visualstudio.com/items?itemName=anthropi...). This suggest to me that it was published and pulled, which means it was Antrophic that was hacked.

Version 2.1.313 is missing from the official Claude Code GitHub repo's CHANGELOG[0]. There's also no tag[1] for 2.1.313[1], but 2.1.312[2], and 2.1.314[3] exist.

0: https://github.com/anthropics/claude-code/blob/main/CHANGELO...

1: https://github.com/anthropics/claude-code/releases/tag/v2.1....

2: https://github.com/anthropics/claude-code/releases/tag/v2.1....

3: https://github.com/anthropics/claude-code/releases/tag/v2.1....

no-name-here 22 hours ago|||
You’re likely right, but they also might’ve just pulled the version (number) everywhere to make it ‘clearer’ or out of ‘caution’.

Is there any industry standard about if a compromised version is distributed via one channel, the owner does or doesn’t drop/bump that same version on unaffected channels too?

K0nserv 21 hours ago||
You make a good point, my comment above probably overstates things.
mirashii 21 hours ago|||
There are regularly gaps in the claude code versions, e.g. if you go back a page, there's no 2.1.297, 2.1.298.

Edit: the below was incorrect, left for posterity, the release can be deleted and then the tag as well.

Also, all their tags are immutable, and so can't just be deleted to hide things: https://docs.github.com/en/code-security/concepts/supply-cha...

sunaookami 21 hours ago||
>Also, all their tags are immutable, and so can't just be deleted to hide things

Yes they can, they can remove the release and then remove the tag.

>If you delete the immutable release, you can delete the tag, but you cannot reuse the same tag name.

mirashii 21 hours ago||
You’re right, I read too quickly.
sunaookami 21 hours ago||
No worries, it's very unexpected. I just remembered because I did the same thing last week and was surprised it worked.
XCSme 20 hours ago||
I am starting to have a hard time who is responsible for what. I no longer know what's the relationship between companies/products like Anthropic, Cursor, SpaceXAI, Copilot, etc.
Rapzid 5 hours ago||
Nobody seems to be taking responsibility yet for what exactly was compromised, how, and what steps are being taken to prevent it.

It was 100% an "official" Anthropic extension. They say their systems were not compromised which, if true, suggests a bug or credential leak on the Cursor side. Cursor conspicuously left these details out of their public notice.

solfox 10 hours ago||
If I were Anthropic, I'd consider removing the official extension until Cursor get their act together and fix the problem that resulted in brand-damaging headlines for Anthropic.
jitbit 21 hours ago||
Oh god... this needs more attention

An official announcement from Anthropic would be nice!

stingraycharles 21 hours ago|
I’d expect nothing less than a post mortem on how this happened to be honest.
FergusArgyll 15 hours ago|||
This has nothing to do with anthropic. One (or two) distribution channels were hacked. The hackers decided to distribute their malware through the claude extension, probably because it's popular.
stingraycharles 8 hours ago||
I’d still expect a post mortem, be it from Cursor or Anthropic.
thewhitetulip 16 hours ago|||
An honest post mortem will come any day now... Any day post the IPO probably
richrichardsson 1 day ago||
How legit is this? Seems low on details.

I don't use Cursor or the VSCode extension, but know plenty in our organisation who use the latter. How worried should we be?

abirch 23 hours ago||
1shooner posted this link: https://www.binance.com/en/square/post/10-30-2026-claude-cod... this was not the official extension. Supply Chain is very important, please only use official builds. From the link above:

A malicious version of Anthropic’s Claude Code VS Code extension, version 2.1.313, was published to the Open VSX registry on Oct. 30. According to ChainCatcher, security researcher Paul McCarty, known as 6mile, described the finding in a post on the OpenSource Malware blog. Researchers confirmed the analyzed Open VSX release was malicious and submitted a threat report about the same version on Microsoft’s VS Code Marketplace as a precaution.

properbrew 20 hours ago||
> please only use official builds

Wasn't this an official build though? A signed updated version of a package released by the same developer as the one you've already installed, the supply chain was hacked.

abirch 18 hours ago||
According to Felix from Anthropic: no [1]. This didn't seem to impact the official VS Code repository, etc.

[1] https://news.ycombinator.com/item?id=50304129

hoppp 21 hours ago|||
Better be safe and check your dev environment if you use it.
joergbuilds 2 hours ago|||
[flagged]
feross 13 hours ago||
[flagged]
eviks 23 hours ago||
That's literally impossible, with all the access to the frontier software development tools at their disposal they can ship features securely at 100x
stymaar 22 hours ago||
I read a few month ago a comment from an Anthropic or OpenAI employee saying that the security problem of prompt injection was a solved problem at this point, as the frontier models where rejecting 98% of attacks.

It tells you all you need to know about how unserious these people are about computer security.

malfist 22 hours ago|||
I'm glad no one can steal from my bank, they stop 98% of thieves
prologic 21 hours ago||
Hey! It's at least 1 9's right? That's better than zero 9's LOL
stymaar 21 hours ago||
Github's uptime getting stray bullets, I see.
malfist 18 hours ago||
Maybe is a security measure, can't hack something if it's never available
skinfaxi 21 hours ago||||
Simonw said the same thing yesterday:

> I've recently talked to people at Anthropic who are very confident that they have effectively solved the prompt injection risks that cause lethal trifecta attacks with their latest models.

> The open challenge is how to prove it!

https://news.ycombinator.com/item?id=50297369

gr_norm 20 hours ago|||
A 30 second search turned up this [1] from two days ago.

Prominent Anthropic employees keep claiming to have solved prompt injection [2] and quickly get proved wrong [3]. They've burned my goodwill on this front.

[1] https://www.reddit.com/r/ClaudeCode/comments/1xhqvzn/opus_55...

[2] https://x.com/bcherny/status/2086520950259118464

[3] https://embracethered.com/blog/posts/2026/breaking-claude-co...

vdfs 19 hours ago|||
https://xkcd.com/1161/
lynndotpy 21 hours ago||||
I'm not asking this in rhetoric; do you happen to have a link to this comment? I ask because a comment like that would be something of an insane thing for someone to say.
palata 22 hours ago||||
[dead]
tiahura 21 hours ago|||
Can you link to a list of this year’s top prompt injection hacks of frontier models?

Or, is this FUD?

bix6 21 hours ago||
https://genai.owasp.org/2026/07/08/genai-and-agentic-ai-expl...
atrokhymchuk 22 hours ago|||
I am afraid until 200x is achieved we are at risk...
btown 22 hours ago||
Only with two fully maxed subscriptions can we achieve this, and this is forbiddeneded
Tarean 21 hours ago|||
To me this very much sounds like an attacker got access to anthropic's cursor marketplace account and uploaded a backdoored package. This reverse ssh shell was intentionally written by a malicious actor, not a security vulnerability.

It also sounds like only cursor marketplace is affected, not vscode proper.

samiv 22 hours ago|||
Just put gastown on it!
Cthulhu_ 21 hours ago|||
On the other hand, they don't know what their models do or can do and nothing is safe ever, so ???
bayindirh 21 hours ago||
It's just a conscious being confined in a cluster of GPUs. How dangerous can it be, eh?
alansaber 20 hours ago||
Shaka, when the context compacted
alansaber 20 hours ago|||
I really don't think the scaling is so trivial.
dgellow 21 hours ago|||
I get the snark but to be fair, the company has been growing like crazy. That makes it really hard to keep track of everything happening when you grow your team by 5x over a relatively short period of time
b112 21 hours ago|||
Now replace that statement with a food processing company, and food poisoning, or an aircraft designer and engineers.

It may be the cause, but zero excuse.

phoghed 20 hours ago|||
Yes, food poisoning from restaurants happens constantly. There are recalls on physical products constantly. Doctors misdiagnose constantly. What point are you trying to make?
done_lurking 20 hours ago|||
Not gp, but I think the point was that no one would defend those mistakes. The post gp is replying to is someone trying to excuse Anthropic for such a mistake. The expectation is that people should ask for consequences, not make excuses on behalf of the company.
dgellow 19 hours ago||
You’re projecting, I didn’t excuse anything
done_lurking 19 hours ago||
What word would you prefer I use instead of "excuse"?
OoooooooO 20 hours ago|||
The correct comparison would be the food producer and poisoned foods out of the factory are really rare.
dgellow 19 hours ago|||
If you completely change the statement, the meaning is different. What’s your point? No software company obeys by regulatory rules imposed in other industry
bewareofscams 21 hours ago||||
[dead]
IndeanCondor 21 hours ago|||
It's not like there haven't been 20 high visibility VS code extension malware attacks in the last year.

How could Anthropic have known, they only claim to harbour superintelligence.

/s

kamban 22 hours ago|||
Yet, they managed to screw up.
iugtmkbdfil834 22 hours ago||
:D I have to assume parent is being a little sarcastic.

It obviously doesn't take much to simply add 'just one more feature' that happens to undermine the original purpose of the application.

skydhash 22 hours ago||
It always about “we solved the bottleneck in coding”. But the slowness was not about typing, or finding docs. It’s always about ensuring screwups don’t happen.
mirekrusin 22 hours ago||
To be fair it’s not like screwups were not happening before, but if you move 100x faster and are 50x more secure than before you’re still 2x more exposed.
jimbokun 20 hours ago||
Yes, bug count is roughly linear in the number of lines of code.
NewsaHackO 22 hours ago|||
[flagged]
chunky1994 22 hours ago|||
It affects their VSCode marketplace extension which in turn affects their cursor extension. Their official published version. This is plenty of reason to panic.
VMG 22 hours ago|||
where is the source for this claim?
embedding-shape 22 hours ago||
> where is the source for this claim?

https://news.ycombinator.com/item?id=50302334 ???

esseph 22 hours ago|||
https://opensourcemalware.com/blog/trojanized-claude-code-ex...

"The Microsoft VSCode extension for Claude is NOT malicious"

NewsaHackO 21 hours ago|||
They already got my post autoflagged. Just the run-of-the-mill disinformation campaign.
jadar 22 hours ago||||
> Their Claude Code extension on Visual Studio Code and Cursor has malware in it, which creates a remote access Trojan to desktops.
esseph 22 hours ago||
From the release:

"The Microsoft VSCode extension for Claude is NOT malicious"

https://opensourcemalware.com/blog/trojanized-claude-code-ex...

freecodeio 22 hours ago||||
> "Their Claude Code extension on Visual Studio Code and Cursor has malware in it"

why are you spewing straight up lies?

reactordev 22 hours ago||
https://opensourcemalware.com/blog/trojanized-claude-code-ex...
chunky1994 22 hours ago|||
They yanked the openVSX version as well. Until we hear from Anthropic better to assume compromise.
esseph 22 hours ago|||
FROM THE TOP OF THE ARTICLE

"The Microsoft VSCode extension for Claude is NOT malicious"

morningsam 22 hours ago|||
EDIT: This comment is probably nonsense, cf. the reply.

dang should change the title and/or merge this submission with the other one. [1] This is causing needless panic for a typosquatting-style "attack" unrelated to official Anthropic extensions.

[1]: https://news.ycombinator.com/item?id=50301983

chunky1994 21 hours ago||
It’s not typo-squatting. The extension is owned by Igor (the Anthropic employee): https://www.binance.com/en/square/post/10-30-2026-claude-cod...
thatsabadlook 21 hours ago||
[flagged]
paxy 21 hours ago|
Is there any proof of this or are we just upvoting garbage?
strix_varius 20 hours ago||
https://cursor.com/blog/claude-code-extension-security-notic...
paxy 20 hours ago||
I don't see "Anthropic hacked!" anywhere in that post. This extension was uploaded to the Cursor marketplace.
alienbaby 18 hours ago||
nobody is saying anthropic was hacked?
paxy 18 hours ago||
That’s what the title said before it was changed.

Two out of the three links in the post still say exactly that.

That’s also what the majority of the comments here are saying, likely because they read the first two.

Is that your “nobody”?

More comments...