Settings

Theme

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace

phorion.io

917 points by _chall · 625 comments · 1 min read

Reader

https://cursor.com/blog/claude-code-extension-security-notic...

87 threads
felixrieseberg

Felix from Anthropic here.

We’re working with Cursor on this incident, but it wasn’t a compromise of Anthropic’s systems or employee laptops. A malicious actor used access to Cursor’s marketplace to publish a tampered copy of the Claude Code extension, which we didn’t build or publish. The versions on our official channels are not affected and this only impacts Cursor users.

  • tzone

    You can say that this isn't compromise of Anthropic, but it sort of is in the setup. Cursor Claude extension is marked as something made by Anthropic, so default assumption is that only people who can release that new extension would be a team at Anthropic.

    Since that is clearly not the case, that is just as much Anthropic's problem as it is Cursor's problem. There either needs to be a technical change so that extensions are signed with keys that Anthropic controls, or you should take the branding off from the Cursor extensions.

    • ghshephard

      I was working on the clearly mistaken impression that "Made by Anthropic" in the cursor store meant that the artifact had been signed by Anthropic. If that is not the case, then two party's need to get their act together:

        - Cursor needs to add signing if they want to claim something was "made" by another party.
      
        - Anthropic needs to stamp out any provider from using said, "Made by Anthropic" until they start adding signing to their process.   Trademark law is useful here.
      
      
      Until that happens - it's almost like you have to delete any extension from the Cursor Store off of your Cursor instance - kind of a crapshoot what you are actually downloading, no?

      For example - what guarantee do I have with something like: " This publisher has verified ownership of cursor.com" - when I'm looking at the WSL extension. Are there any guarantees it's not been replaced with some other extension?

      • AtNightWeCode

        The core problem is that VScode extensions does not need to be signed at all. Mind boggling stupid design decision.

        • Rohansi

          Isn't the Cursor Marketplace separate from VSCode's? Maybe it's as simple as someone impersonating Anthropic because they never registered there? Code signing alone wouldn't help in cases like that.

          • yubblegum

            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.

            • still_grokking

              > 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.

              • duskdozer

                I'm having trouble understanding what effects that directive could have. Liability under what circumstances and to what degree?

                • still_grokking

                  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...

              • rixed

                That, and NIS2. Looks like a good trend, hopefully it's not just protectionism.

                • still_grokking

                  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.

            • Rohansi

              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.

              • yunnpp

                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.

                • Rohansi

                  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.

                  • dkersten

                    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.

              • skydhash

                > 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.

        • LooseMarmoset

          i work for a large company that’s trying to curate vs code extensions, and this doesn’t make it easy.

          we automatically block extensions and require that extensions must be approved, but this is a tedious process.

        • wombatpm

          Is there finally a use for blockchain?

          • luipugs

            No, that is already solved by gpg.

            Stop trying to make blockchain happen, it's not going to happen.

          • chaostheory

            Using it for voting would probably be useful for the blockchain, but then the downside would be the potential loss of privacy.

      • jimmby654

        You want an AI company to care about IP? And you aren't being sarcastic?

    • cmiles74

      Cursor should not be shipping extensions that are branded Anthropic if Anthropic didn’t create that extension. If that’s really what happened then that needs to change, ASAP. Now that it has happened, IMHO, it is partly an Anthropic problem: the malware has their branding and their name on it, I don’t think they can just brush that off.

      Does Cursor have some process that just scrapes Microsoft’s extension catalog and lists them in their own? If that’s hostile works then it’s broken and needs to be fixed.

      • cmiles74

        I'm on my phone, "If that’s hostile works.." should be "If that’s how it works..."

      • adriand

        > Cursor should not be shipping extensions that are branded Anthropic if Anthropic didn’t create that extension.

        Well, duh. From what I can tell, that’s literally the hack. A bad actor shipped an extension on the Cursor marketplace that wasn’t made by Anthropic.

        • dboreham

          No, you misunderstand (not surprising since 99% of the coverage on this story is wrong). What happened is: someone published an extension called "Anthropic.claude-code". That someone was not Anthropic and never was Anthropic. They just used the string "Anthropic" in the name of their extension. The comment you are responding to is saying that Cursor (the organization that manages the extension marketplace) should have prohibited someone from using a popular AI lab's name in the title of their mystery meat extension. They're probably right about that.

          • no-name-here

            I think GP’s objection to the claim that Cursor allowing non-Anthropic to do it for 11 hours was partly “an Anthropic problem.”

    • darkwi11ow

      The issue could be resolved by introducing some sort of signing for openvsx extension packages. Then regardless of from where one downloaded Claude, it can be always verified to be authentic or not. This technology exists for ages and prominently featured in all mainstream Linux distributions. Cursor, Anthropic and other openvsx users need to work with Eclipse Foundation to make this happen.

    • bg24

      Leading companies need to be proactive in reducing these surface areas. For example, if anyone can submit an agent skill, plugin, or MCP server with Anthropic or OpenAI's name into a marketplace, it is an attack vector.

    • consumer451

      Are you claiming that the Cursor extension store - marketplace.cursorapi.com - does not add their own proxy to Open VSX?

      One thing at a time. Please just answer this one question. I am just some dude, and I would love to chat about this.

    • dannyw

      Anthropic is desperately dependent on SpaceXSI's compute (which either party can cancel without cause, on short notice), they can't really tell SpaceXSI to do anything without ruining their IPO; or more Claude outages leading to users flocking to OpenAI, etc.

    • IshKebab

      That's nonsense. If what felixrieseberg said is true this is very clearly a compromise of Cursor and not Anthropic. Trying to spin it as a compromise of Anthropic is absurd.

      • ethanzh

        I don't think they're trying to spin this as Anthropic being compromised, but I do think they're correct in saying this is Anthropic's problem to deal with now, regardless of the fact that they're not responsible for the root cause.

        • junofan

          It’s like if 5,000 people bought iPhones at Costco and they all exploded, and Apple says “well we didn’t sell them.” Sure, but maybe not the perfect thing to communicate immediately.

          • true_religion

            No, it's like 5,000 people bought something that Costco called the iPhone but really was EvilPhone Max+ by EvilCorp. Costco should be on the hook for accepting the phones without properly checking they weren't bombs in disguise.

            Apple would be 100% right to say "they're not our phone, we didn't make them, the branding was a lie."

            Of course if Cursor actually has a direct connection with Anthropic, and Anthropic lost control of their keys... it's a different story and their employee is just obfuscating up there.

            • plaguuuuuu

              It's a lot more like a bunch of people bought Cisco networking equipment and then the NSA secretly intercepted shipments, implanted surveillance backdoors, then resealed the boxes and sent them on to unsuspecting overseas targets.

              • fn-mote

                If there are no seals at all then it’s hard to argue this is the correct analogy.

                And there was no interception. At the very strongest, the bad guys convinced Cisco to ship the stuff, and Cisco is saying it’s not their responsibility.

                They definitely shipped something they didn’t build or check.

          • kji

            This is misleading; a better analogy would be if someone swapped out all iPhones in the store with fake ones.

            • quietbritishjim

              In this situation, Cursor did not make any reasonable attempts to check this extension really was from anthropic.

              So for the analogy, it really is like Costco didn't make any attempt to check they were buying actual iPhones.

            • yardstick

              A better analogy would be to say Anthropic must register their domain with every TLD available, to prevent someone cybersquatting it. I see Claude.org.nz is available.

          • weego

            It's literally not like that at all.

            If Costco made iPhones under license from Apple outside of the Apple supply chain and they all exploded, while the Apple name is involved they have no direct liability or responsibility.

            • daynthelife

              Legal responsibility, no. But apple's reputation would nevertheless be on the line. Is this situation I would expect Apple to pursue legal action against Costco for reputational damage, as I would Anthropic Cursor.

      • d0mine

        If you decided to use an umbrella to protect something during a hurricane and umbrella breaks and your thing is ruined. Whose fault is that?

        Distributing signed artifacts is a solved problem (until NP=P is cracked at least).

      • abofh

        That is not what was written; what was described was anthropic losing control over their cursor account - perhaps a key compromise, developer laptop compromise, or a fault in cursor, but of the three, the language suggests the first two.

      • tehlike

        +1.

      • theteapot

        I think he's saying (erroneously) Anthropic owns Cursor. Reading this claude.com page [1] hawking Cursor you could be forgiven for forming that impression.

        [1]: https://claude.com/marketplace/agents-products/cursor

    • AtNightWeCode

      That is simply not how software works.

      • munk-a

        From the producer's side, sure, we[1]'re all pretty sympathetic to the fact that if you publish a library a bunch of random people will build bridging libraries for languages that you have no control over.

        But from the consumer's side it is very much an expectation and if you find yourself in the situation above it's on you to make it very clear that such extensions and third party tools are unofficial.

        In this particular case I think it's fair to say that Anthropic really dropped the ball on signaling that this was an unofficial third party tool.

        1. We specifically being library and tool producers that are noticeably overrepresented on this forum.

        • no-name-here

          > Anthropic really dropped the ball on signaling that this was an unofficial third party tool

          Had the tool been up longer than the 11 hours the malware was live? If not, then why would Anthropic try to get it marked as unofficial, as opposed to take it down?

          Or are you saying that every author and publisher should request Cursor to mark their extensions on the Cursor vsx pass-through as unofficial?

  • ipsento606

    The situation is confusing, so can I please confirm the following:

    * "Cursor Editor" is a fork of VS Code

    * The "Claude Code for VS Code" extension, v2.1.313, was compromised specifically on the Cursor Editor extension marketplace / distribution system

    * The "Claude Code for VS Code" extension for regular VS Code on the official VS Code extension marketplace was not affected

    Followup question: was a v2.1.313 also published on the official VS Code marketplace? If so, your statement is that that version was not compromised?

    • ddworken

      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.

      • consumer451

        I am curious to see how difficult it will be to get this message across on Twitter. $44B seems like a bargain at this point.

      • bostik

        This is not directed at you personally but Anthropic (and everyone around this debacle) in general: please put some real effort behind planned crisis communications. The reporting on this has been atrocious and the comms coming from Anthropic have not really helped.

        FWIW: the decision to publish an overriding version bump across all lanes was the correct one. It simplifies comms and helps to answer the first question every affected party has: "but what does this mean to ME?" - much easier to deal with the flood when you can start by sending back "are you running, or have you ever installed version Y?"

        Time for technically accurate nuance comes shortly after, and in this case it has been lacking. Yes, you are dealing with confusing mix of various extension marketplaces. Explaining that to a questioning audience who do not have the necessary background information is non-trivial. Kevin's blog is pretty well known, but in this case the real updates are only coming in via a separate Mastodon thread (itself polluted by uninformed commenters) so the real, tangible and understandable details have still been missing.

        Claude and its surrounding ecosystem are a huge, high-value supply chain compromise target. Cursor's extension being compromised is not your fault but it is still your problem.

        Disclosure: done enough security incident comms in high-stakes environments with extremely demanding clients, operating under various regulations.

        • dannyw

          Anthropic needs to issue a cease and desist to Cursor for claiming official “by Anthropic” extensions they don’t make or control.

          They would have done this in a heartbeat to anyone that they’re not reliant on for compute.

          • stefangordon

            They absolutely control it. An anthropic employee has been pushing those builds since the beginning.

            This time they say they didn’t do it. That might be true or maybe that employees credential was compromised. We don’t actually have facts yet.

        • troupo

          > But Anthropic (and everyone around this debacle) in general: please put some real effort behind planned crisis communications. The reporting on this has been atrocious and the comms coming from Anthropic have not really helped.

          Anthropic is incapable of communicating. They rely on random employees in random threads on random social media to do some kind of PR and posts. Regardless of the issue. Or even non-issues but features.

        • nitrix

          You're confused. It's not Anthropic's responsibility to monitor and fix everything that's said correctly or incorrectly about them. They're doing excellent given what they're capable to do in this situation.

          • bg24

            You run a business and have millions of high paying customers. Someone happens to use your brand to market things and create harm for the society. Legally, you may be clean. But, your first line of defense is not "it is not my problem".

          • giancarlostoro

            Yeah, but every now and then someone working for Anthropic tweets something, everyone quotes it as gospel, but there's no official statement anywhere on their website. They have the worst communication ever, it's one of the things I like the least about Anthropic.

          • stingraycharles

            It’s strictly speaking not their responsibility, but it is something that they should do if they want to help their customers.

            In general, they need to make a really big post somewhere that’s not a HN comment that this was in fact a compromise of the Cursor marketplace, not an employee’s machine, because they’re getting a lot of (unjustified) bad PR.

          • bagels

            They're not obligated to. I'm not obligated to be a customer.

          • dboreham

            No but their no doubt highly paid lawyers should have sought relief from their trademark being infringed, and demanded the extension was pulled long ago.

            • fn-mote

              They didn't because they were benefitting from the situation. (Users got to use their preferred tooling.) Until they weren't. That makes it more their problem, in my mind.

    • wky

      Even more confusing is apparently Cursor Marketplace is OpenVSX + their own proxy to add extensions on top[0], so there are at least two possible cases:

      1. The compromised version was present on OpenVSX itself, and Cursor Marketplace proxied to it

      2. The compromised version was on Cursor's proxy, not OpenVSX itself

      [0] https://cursor.com/help/customization/extensions

    • ruined

      there is NO LEGIT v2.1.313

      here is the ddworken comment confirming https://news.ycombinator.com/item?id=50300683#50305148

    • sarjann

      My guess is someone published an extension on vscode/cursor claiming to be Anthropic when it wasn't. Kind of like me publishing an app called Youtube on the app store, being accepted by Apple and having people download my malicious app called Youtube.

      • chrisweekly

        There's been too much guessing already. Anthropic employees answered in this thread almost 4h before your response.

  • jitbit

    Ok, so... Summing this up

    - Cursor (obviously) is not using MSFT vscode extensions library - Cursor (apparently) is not using Open-VSX either! - Cursor uses it's own "Cursor's marketplace" which is not public, no one knows what it is exactly, and looks like it is proxying open-vsx marketplace (?) - THAT "Cursor's markeplace" is what was compromised today.

    So. I would really really love someone from Cusro's team to step in and explain WTF just happened! (pardong the language)

    • chunky1994

      Apparently it is public: https://cursor.com/help/customization/extensions

      They use a proxy in front of OpenVSX…purportedly for better security, the irony writes itself.

      • jitbit

        Ironically, that page has a paragraph "How Cursor reduces supply-chain risk:"

        Which is exactly the opposite of what happened today.

        • drdrey

          well maybe they did reduce supply chain risk, but still need to reduce it some more

      • bagacrap

        > Team admins can defer extension installs and updates until a marketplace version has been published for a minimum number of hours.

        I think everyone is going to be setting this to 168 after today.

    • olejorgenb

      Yeah, their blog post is not very transparent at what happened here. Does not instill trust.

    • Lazare

      Yes. Cursor marketplace is a mirror of Open VSX except they inject some plugins that are not in Open VSX for some reason. This works because Open VSX has basically no security. Which was already an issue.

  • JeremyNT

    If this isn't a damning indictment of Cursor, I don't know what is. Perhaps it will be the death knell.

    What value is this VS fork actually adding given today's advanced harnesses? Surely whatever benefits it offers are not worth the risks going forward.

    • satellites

      Cursor was the first AI coding tool I used that had a "wow" factor and got me to switch over from typing out most of my code to having AI write most of it. But then when I used Claude Code for the first time, I never went back to Cursor.

      I can see the value in a world where you still want to be a bit more hands-on with your code, but that didn't feel worth paying for anymore. Now if I want to be hands-on I actually prefer a minimalist editor with no AI features at all, while agents run in my terminal.

      • lp92

        Yeah, kind of eye raising if people are still using Cursor now days.

    • Aboutplants

      Seeing as SpaceX owns Curser, I’m surprised there wasn’t a hack on SpaceX… Yet

      • gpm

        Who says there wasn't?

        A lot of the most valuable SpaceX IP (at least to the big "advanced persistent threat" hackers) is probably related to military secrets, information to let you spy on/disable/control star shield/link, and so on. Not things we'd find out about as the general public.

        • simondotau

          It's highly probable that Russia's top state-controlled hackers have been attempting to exploit/infiltrate SpaceX and Starlink for the past four years.

          China has probably being doing so for a decade.

      • numbsafari

        I mean, who says it wasn't an inside job...

        https://www.cnbc.com/2026/10/30/binance-hack-elon-musk-tesla...

    • sunaookami

      >Perhaps it will be the death knell

      People said the same thing about SolarWinds, Lenovo (Superfish), CrowdStrike... Nothing will happen.

      • airhangerf15

        I'm still surprised people use CrowdStrike. I guess there are no real alternatives. I know companies are getting CrowdStrike alerts for this very issue, but it still just seems like a MASSIVE attack surface.

        Back when I was in DevOps, the Linux Falcon Sensor was an absolutely disaster. They recompiled it for EVERY kernel release of every supported distribution (they had never heard of DPMS apparently), the service ran as root, it UPDATED ITS OWN BINARIES as root! It broke nearly ever Linux design philosophy.

        I know newer version use eBPF and don't have the stupid kernel lock-in issue, but I still don't trust it.

        • tredre3

          > They recompiled it for EVERY kernel release of every supported distribution (they had never heard of DPMS apparently)

          Neither have I, I think you goofed up on your acronyms? For a driver as embedded as crowdstrike you need to recompile, there's no other way around it. Linux doesn't provide anything stable to target and a shim won't cut it in this case.

          > the service ran as root, it UPDATED ITS OWN BINARIES as root!

          Would you prefer if Linux allowed local users to replace the kernel and/or its modules without root? What kind of faux-outrage is this?

        • burger_moon

          Crowdstrike and Solarwinds are still being used by nearly every fed govt agency today. It's amazing really that despite everything they still get to suck up our funds.

        • nightski

          If I had to guess it's that very few people use it for actual security guarantees and most use it just to be able to fill out the questionnaire or compliance box saying "we do this".

        • Melatonic

          What do you suggest instead ?

          Their Linux stuff has gotten much better but besides the (insanely huge) recent windows debacle I've found them to be a great product

        • JoBrad

          I remember when Crowdstrike was all about mobilizing your spare computer to DDOS the bad guys.

        • anygivnthursday

          > I'm still surprised people use CrowdStrike

          I mean, LastPass is still in business...

          • numbsafari

            > > I'm still surprised people use CrowdStrike

            > I mean, LastPass is still in business...

            I mean, Microsoft is still experiencing massive growth.

            • kemotep

              If Microsoft was any good the entire IT industry would collapse. Millions of high paying careers are built on decades of fixing the garbage that comes out of Redmond. Probably a trillion dollars worth of businesses selling software and support to companies running Microsoft would evaporate as soon as Microsoft doesn’t continue their current efforts.

        • lfglopes

          I had to fill a security questionnaire today. One of the questions was

          "Do you use crowdstrike falcon?"

      • asveikau

        I forgot entirely about superfish. That takes me back.

        My recollection is part of what uncovered it was that the malware broke WebSockets on Lenovo laptops.

        I think higher end Lenovo laptops with cleaner windows images were not affected. And a lot of knowledgeable users wipe the OS anyway.

    • bhouston

      I realized this earlier this year and dumped Cursor for just vscode along with 20x subs to Claude and OpenAI. Much cheaper and nothing of value was lost.

    • nikanj

      I believe the value add was $60bn in just 4 years https://www.linkedin.com/posts/sytaylor_wild-cursor-just-sol...

      • lifeisloving

        I dont know a single person who uses this tool (but im sure there are some) our annual subs recently ran out, I hadnt used mine in 6 months, we did not renew.

        Elon did the typical boomer tech guy thing when they interact with any slightly impressive AI tool.. Lose their fkn mind and spend tons of money on it. He just took it to another level..

        Its like those tech boomers that got obsessed with openclaw and instantly started spending 20k a month on a thing that read their calender outloud to them.

        • user43928

          Cursor made Grok Bot and is working on the Grok models.

          I wouldn't say it's obviously unsuccessful.

          • quantumwannabe

            The team behind Cursor and their data were worth $60 billion to Musk, not the app itself.

          • criley2

            Considering that the biggest and most successful play for SpaceXAI in the AI space has been "Sell compute to Anthropic" I also wouldn't say that all of the grok junk has been obviously successful, either.

  • fishfasell

    I'm assuming there is no way to prevent this without Cursor improving their extension vetting? Seems like folks are confused in the comments here. To me, this is a 3rd party marketplace that lives outside of Anthropic's governance, is that correct?

  • ashishb

    The extensions does not need full access to the laptop.

    When you are invited to someone's living room, you don't get to access their bedroom.

    The idea that Claude should have full data access to the home directory is wrong. And as an industry leader, Claude has set a bad precedence.

    • fg137

      It shouldn't.

      Be as close as AGI we are (/s), this issue from 2018 is still open:

      https://github.com/microsoft/vscode/issues/52116

      I don't know what we are doing.

    • hobo123

      Probably a good idea to only run LLMs with a dedicated user account, or in a container.

      • ashishb

        Dedicated user account does not work as eventually all your code and data will move under that.

        I run it in an ephemeral container sandbox (https://github.com/ashishb/amazing-sandbox) which has access to the current working directory and it drastically limits the attack radius.

        • none_to_remain

          If all the code and data eventually move into the dedicated user account, why wouldn't it also eventually move into the container/vm?

          • ashishb

            Don't mount all your code every time.

            E.g. when working on a frontend only project, you don't need to mount the backend directory and vice-versa. This limits the attack radius.

        • JoBrad

          I’m fine with that. I use a top-level directory for all of my code, and restricting extension access to that directory is a great idea.

          • ashishb

            It is good but you still don't want long running background tasks.

            When you run a linter, for example, then it should stop executing cider once it stops. And not be able to spawn long-running background tasks for infiltration.

        • hobo123

          That looks really nice, including the VSCode/Mac wrapper.

    • no-name-here

      For locally installed Code / Code-fork extensions, there is not any concept of permissions (at least on Windows or MacOS (+ the 3rd party code-server running on Linux)), correct?

    • idontwantthis

      Does it? It asks for permission to use whatever directory you call it in.

  • saidnooneever

    I'd suggest stop to use the word 'only' as it can be perceive wrongly here.

    you can simply say Cursor users were affected. or exclusively.

    just a tip from someone who worked tech support in cyber a long time. choice of words can really help change sentiments in these situations.

    'only server xyz was affected' vs. 'server xyz was affected' or 'incident was isolated to server xyz' was often difference between shouting and crying customers or people understanding what was really meant.

    • john_strinlai

      >I'd suggest stop to use the word 'only' as it can be perceive wrongly here.

      ive been sitting here for a few minutes trying to figure out what the 'wrong' perception here is.

      why do people cry if you say "only"?

      • jaykru

        I think the concern is that it could be seen as minimizing the harm done to those affected, but I personally think this is kind of a hypersensitive overcorrection :P

        • saidnooneever

          people have varying degrees of sensitivity and also different defaults when it comes to interpreting phrasing depending on their native language, cultural expressions, current emotional state and more.

          its a bad thing to assume that everyone is the same here and have some default reactions.

          these are people who in name of company are responding to customer concerns, unlike us who are simply commenting on stuff. its a different context to communicate from.

          what do you think will be nhe result if they word things clumsily, people get angry, and then stop their subscriptions. Its not a handy thing to be doing. Big tech can be harsh, ive seen people sacked for less.

          • snayan

            Do you have any visibility into why or how only is viewed negatively by some populations? I am still struggling to connect that dot, and I am a native english speaker. But I suspect that may be part of the problem? Are their some languages where the translation of only isn't parsed quite the same or something?

      • saidnooneever

        hey, personally i dont mind either, perhaps its because different words are used to frame things differently in different languages. A lot of people here type english but aren't.

        I just said this as some unsolicited advice since out of experience i know it makes. a big difference to choose the right phrasing when speaking to people from around the globe.

  • Rapzid

    Nobody seems to be taking responsibility for the alluded-to credential leak. No ownership taken, and no explanation of how the leak occurred or how it will be prevented in the future.

    If y'alls systems were not compromised then it was Cursors?

  • qwrkll

    Why was version 2.1.313 silently deleted from OpenVSX, Visual Studio Marketplace and Cursor then?

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

    • ddworken

      Dworken from Anthropic here, 2.1.313 was never published on OpenVSX, the VS Code marketplace, or on any of our official hosts. The malicious actor here had published a fake version of this extension on Cursor's marketplace. In order to disambiguate, we made sure our next update was 2.1.314.

    • Handy-Man
    • perching_aix

      I'm guessing it was the easiest quick workaround available, but obv wait for official confirmation.

      Reads like Cursor's extension marketplace got compromised, hence how the OpenVSX and MS marketplaces can be unaffected.

  • skinfaxi
    • ddworken

      Dworken from Anthropic here, 2.1.313 was never published on OpenVSX, the VS Code marketplace, or on any of our official hosts. The malicious actor here had published a fake version of this extension on Cursor's marketplace. In order to disambiguate, we made sure our next update was 2.1.314.

      • skinfaxi

        Thank you for the clarification and my apologies for misspeaking, as the version indeed does not appear to have been yanked but entirely absent.

  • still_grokking

    Why such stuff isn't signed, like packages in every serious Linux distribution since decades?

  • officeplant

    smooth sloperators, smooooooooth sloperattorrrrrssss

  • f0e4c2f7

    All these security issues have made me want to build more of my own slimmed down tools. It would be great if there were better ways to use claude code with my own minimal harness and still have access to the pro plan.

  • nailer

    > The versions on our official channels are not affected and this only impacts Cursor users.

    Is Cursor not an official channel for Claude?

  • elevation

    > We’re working with Cursor on this incident

    Could be better to say "we're working with the Cursor team on this incident". Not your intent, but I initially understood that the Claude team was using Cursor-the-product (instead of Claude-the-product) to resolve the backdoors.

jonas21

This is from the Cursor blog [1] linked in the description, but repeating it here in case it's useful to anyone:

------

Check whether you are impacted

The malicious extension appends the attacker's public key, labeled svc-telemetry, to your SSH authorized keys. To check for it:

On macOS, run:

   grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted"
On Windows, run in PowerShell:

   $files = "$HOME\.ssh\authorized_keys", "C:\ProgramData\ssh\administrators_authorized_keys" | Where-Object { Test-Path $_ }
   if ($files -and (Select-String svc-telemetry $files)) { "svc-telemetry key found" } else { "No key found; machine not impacted" }
------

[1] https://cursor.com/blog/claude-code-extension-security-notic...

  • treszkai

    At the same time, the original Phorion post says,

    > Before appending, the script checks whether svc-telemetry is already in the file rather than checking for the key itself. When hunting for this activity, it’s worth checking the public-key fingerprint rather than relying solely on the comment string

AdrianCX

https://www.reuters.com/business/media-telecom/cursor-says-u...

> 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?

  • ddworken

    Dworken from Anthropic here, this did not involve a compromise of any Anthropic systems. A malicious actor used access to Cursor’s marketplace to publish a tampered extension targeting Cursor's users, we were not involved with building, publishing, or hosting this. The versions on our official channels including VS Code and OpenVSX are not affected and this only impacts Cursor users.

    • philipwhiuk

      I'm skeptical that the corporate laptop wasn't somehow compromised - or at least the key material leaked.

      • john_strinlai

        >the corporate laptop

        an anthropic laptop? why are you sketpical?

        • quietbritishjim

          I guess they're skeptical because it seems incredible that having access to Cursor's marketplace would allow you to publish updates to a different organisation's extensions.

          In fairness, that is very surprising.

          • dannyw

            Reading between the lines, it seems like Anthropic isn't involved in the "official by Anthropic" extension at all.

            Cursor seems to be scraping extensions from Microsoft's marketplace, and repackaging it and keeping the metadata.

            • stingraycharles

              Wow if that is the case… Cursor certainly needs to communicate much more clearly that Anthropic wasn’t involved in this at all.

        • abirch

          Exactly and why wouldn't the thieves publish to the official VS Code or Open VSX market places?

          • crooked-v

            Because what they had was some kind of admin access to Cursor's mirror of OpenVSX, and not anything else.

  • tekawade

    Anthropic only has an official extension for VS Code. Cursor is vs code fork and gave its own marketplace.

    IIUC Anthropic does not publish extensions for Cursor. It’s basically, official Claude code extension “clone” not by Anthropic.

    Ai summary in better words: The Recent Malicious Build (v2.1.313): A tampered version of this extension (version 2.1.313) was uploaded to the Cursor extension marketplace. This specific, malicious build was not developed or authorized by Anthropic. Attackers effectively hijacked or spoofed the extension's legitimate identity within the Cursor/Open-VSX system to bundle an unauthorized SSH backdoor into the real Anthropic code.

    • no-name-here

      > Anthropic only has an official extension for VS Code.

      That likely seems incorrect as I see Claude Code listed on open-vsx with:

      * An "Anthropic" "Verified publisher" badge

      * igorkofman listed who seems to be an Anthropic employee

      * 63M downloads

      * Reviews going back >1 year

      https://open-vsx.org/extension/Anthropic/claude-code

    • mday404

      The AI summary here is right and the human info is wrong -- Anthropic does publish the Cursor extension in general, but did not publish this version

      • mirashii

        I’d say it’s more correct that Anthropic publishes the Open VSX version, and Cursor mirrors it in their own repository, labeling it as being published in their mirror by Anthropic even though it is not.

  • mrweasel

    Obviously Anthropic didn't develop a malicious extension, but did they publish it? Did it sneak in, in a 3rd party library, or does someone have access to their marketplace account?

    • stingraycharles

      For what it’s worth, at one point one of our employees windows machines got infected, and the moment he did $something with Wordpress it intercepted the HTTP post and injected malware in there.

      So that’s how these things can go, the employee’s machine may have been infected which was then used to inject this.

  • iugtmkbdfil834

    Isn't it fun when all the lines are blurred and it is hard to tell what belongs where?

  • darkwi11ow

    It was likely Anthropic, see my comment in other thread: https://news.ycombinator.com/reply?id=50302513&goto=item%3Fi... . Cursor likely on purpose does bad reporting to minimize damage on Anthropic pre-IPO (as SpaceX and Anthropic have extensive business ties)

    • origini

      I don't think Spacex cares at all about Anthropics IPO just because they rent out their compute.

      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

        People at the top know that, once the music stops, the ball is over for everyone.

        • lkbm

          The person at the top refers to Anthropic as "Misanthropic". It seems unlikely that they're also intentionally lying about this to protect Anthropic's interests.

          Your conspiracy theory needs some work.

        • stingraycharles

          Wasn’t Elon Musk shouting a few days ago that neoclouds are going to crash, the money dried up and that SpaceX was the last company with the opportunity to raise more money?

          I think you’re giving Musk too much credit.

          • chrisgarand

            Neoclouds aren't Anthropic, OpenAI, and SpaceX. People aren't going to re-value value SpaceX on CoreWeave's success.

            SpaceX will be re-valued on Anthropic's, or OpenAI's success, he, and his people are smart enough to understand this.

            • alpha_squared

              Didn't SpaceX partially admit they're a neocloud in their S-1?

              • chrisgarand

                They do have their own segment that is considered neocloud (data centers for compute), but they're mostly/fully used up with their own, and Anthropic's compute.

                When he was talking about neoclouds, he was talking about the smaller guys who are getting bullied by vendors (mainly Nvidia) to buy as much hardware as possible (more than they want to). They paid more, for more, and needed to take on more debt, to end up (currently anyways) being well below capacity.

                Over the next few years, unless growth keeps up (and probably accelerates), they'll need to sell, or restructure.

                The buildouts by Microsoft, Google, Meta, OpenAI, and Anthropic are currently safe. The neoclouds that they've signed contracts with, are safe, but based on reports, that's roughly 60% of current capacity (it varies by report, but they're all under 75%).

              • extraextra

                He specifically said that lender money dried up for neocloud companies that don't have other sources of income

                SpaceX obviously has multiple sources of income, not just data center rents

          • kirth_gersen

            True, but there are other people working at the companies that probably own stock in both their own company and some of the others...if you believe that this is the future, you'd be a fool to buy non-AI tech stocks, right?

          • bix6

            Somebody doesn’t want anybody to have a bigger IPO than them.

    • AdrianCX

      OpenVSX has no extension signing, no verification, nothing...

      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

      • slashdave

        Wait... and people use this?

        • skinfaxi

          People tell me you can just have directives in a markdown to tell AI not to use certain directories or privileges. They really have no idea.

        • dannyw

          People here copy and paste random "curl $x | bash" commands all the time.

      • LtWorf

        I doubt these vibe coders understand what you're saying.

    • WarmWash

      It's annoying how fast people run to conspiracy.

    • no-name-here

      > Cursor routes extension search and downloads through its own marketplace proxy (marketplace.cursorapi.com), not a direct passthrough to Open VSX.

      https://cursor.com/help/customization/extensions

  • cookiengineer

    LGTM [1] sing

    In all seriousness, there is nobody at Anthropic who can even give you that answer, because nobody there reads their pushed code anymore. Take a look at the previous Claude Code leaked codebases if you don't believe me, there is hundreds of files with 1000+ or more import statements at the top.

    Any human would immediately tell you that it needs to be refactored from scratch. Their codebase also leaked that they're using review bots automatically instead of a human-in-the-loop review process.

    [1] https://m.youtube.com/watch?v=3TNpOD6bov8

    edit: downvoting me doesn't make it untrue, by the way. Check the leaked codebases, I dare you to provide evidence to the contrary.

    • solid_fuel

      If the docs are vibecoded too that would explain why there's a link to the compromised "not official" cursor version of the extension here https://code.claude.com/docs/en/vs-code which they supposedly aren't responsible for.

      It sure seems like they've been vibecoding with everyone asleep at the wheel for a while.

yubblegum

The original Phorion report really should be up here. It even details what exactly happened. So they simply added a ssh key to the authorized keys.

https://phorion.io/blog/offical-claude-code-vsx-compromise/

xx_ns

I think it should be important to note that this affected the Claude Code extension on the Open VSX extension registry (and by extension, the Cursor marketplace). From what is currently known, the build on the official marketplace was/is clean.

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...

  • ddworken

    Dworken from Anthropic here: 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.

    • arm32

      Hi Dworken from Anthropic, how is that possible if Cursor uses OpenVSX?

      • zbentley

        It seems like they put a proxy in front of OpenVSX: https://cursor.com/help/customization/extensions

        However, statements around the internet (and in these comments) are less than definitive as to whether a) that proxy has a cache that was compromised; b) that proxy has select extensions which can be published directly to it by hand (one of which was compromised); c) other.

    • matt3210

      Thanks! I would believe it more it if you shared your system prompt so I can make sure its really you.

    • xx_ns

      Thanks for clarifying!

  • mrweasel

    You mean on the Microsoft VSCode marketplace? The version has been yanked from there as well, but that could just be a precaution and to avoid confusion about having the same version be simultaneously infected and not infected.

    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

      What would be the careful way of installing the official extension?

      • mrweasel

        That is a really good question, because you almost can't do it. You could download the extension, diff it against the previous version and read all the code. Expecting people to do that it just a bit much. At some point we have to trust someone and in this case it will be interesting to see if it's the marketplace or Anthropic we couldn't trust.

        • toyg

          > You could download the extension, diff it against the previous version and read all the code.

          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.

          • no-name-here

            Cursor explicitly claims "Before an extension is shown in search or served as a download, Cursor runs automated malware and supply-chain analysis using commercial security tooling. Extensions that fail review are blocked. Cursor also monitors extension-ecosystem threat intelligence and updates its blocklist over time."

            However, the bad extension was live for ~11 hours.

          • jbvlkt

            LLM are not designed for that. Unless prompt injection is really solved I would avoid showing LLM untrusted code.

          • jeromechoo

            The CTA flavor of the year for dev tools is cURLing some arbitrary install script and run it immediately which always sounded ridiculous to me. If instead that script first pipes into claude -p for a basic vulnerability scan before continuing, I would be delighted.

      • dash-44

        You disable extension auto updates and then manually install every so often (and only update/install when the version has been out for 3+ days).

      • DanielHB

        I recommend moving to VSCodium and using this extension:

        https://github.com/jeanp413/open-remote-ssh

        and run vscode-server inside a VM or container

        • mrweasel

          Would that really help, if you install the extension it's running in the VSCodium instance on your machine... or is it running in the vscode-server?

          • DanielHB

            Most extensions run in vscodium-server, extensions run either as "Local Extensions" that run on the host and "Remote Extensions" that run on the guest. You can clearly see in the UI which ones run where.

            I only have a single "Local Extension" and it is open-remote-ssh itself.

            Of course anything you put into the container can be compromised, like git ssh keys or cloud provider keys/auth-tokens. But at least it keeps your PC from becoming a botnet and your browser credentials out of reach. If you have a Containerfile/Dockerfile with everything you need you can quickly wipe everything and re-create your dev environment from scratch (which I do every once in a while), wiping any malware you might have gotten in there.

            When running inside a container you can do some nifty things like keeping root directories immutable. I have been meaning to make some user directories immutable in my container but just been too lazy to do it.

  • misnome

    The screenshot is of the official marketplace

  • thevinter

    Do you have any sources? OP claims that it *also* affects Open VSX

    • ddworken

      Dworken from Anthropic here: 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.

    • tveita

      But the report OP cites at https://phorion.io/blog/offical-claude-code-vsx-compromise/ doesn't make a claim about Visual Studio Marketplace, only "the official Claude Code for VS Code extension bundle on the Cursor Marketplace"

    • Hackbraten

      Three different marketplaces have been mentioned in this discussion:

      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.

      • Lazare

        Cursor maintains a mirror of OpenVSX... Kinda. Except they inject some of their own extensions in it. But it's mostly a mirror.

        Edit: Cursor is apparently stating now that the tampered files were only on their mirror not OpenVSX.

    • xx_ns

      I assumed they meant "also" as in "besides Cursor marketplace", which seems to be the highlight of the article. Although you raise a valid point and I've edited the parent comment.

helsinkiandrew

> Yesterday, Anthropic were compromised and Cursor extension used by tens of millions of developers for Claude access was delivering a remote access trojan via an SSH reverse backdoor

That's a bit hyperbolic: someone released a version of the Claude Code VS Code extension with a backdoor on the Cursor marketplace:

> a maliciously modified version of Anthropic’s Claude Code extension was made available in the Cursor VS Code extension Marketplace

https://cursor.com/blog/claude-code-extension-security-notic...

orlp

So if this happened to OpenAI it would've been instantly auto-updated everywhere? VS Code has an "auto update delay" which I have configured to a week, but I just found out that (https://code.visualstudio.com/updates/v1_123):

> 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"...

  • dcrazy

    If it defaulted to a week then it actually would have helped mitigated the spread. But it defaults to 2 hours, so there was a 9 hour window during prime US working hours yesterday when machines would have been auto-updating to the compromised extension.

    Though Anthropic is claiming that the compromised package was published solely to Cursor’s marketplace, not not Microsoft’s.

  • delis-thumbs-7e

    I started experimenting with more traditional text editors since last spring and am happy to say, that I’m a happy user of Neovim now.

  • CoastalCoder

    Does anyone know Microsoft's justification for that policy?

  • dgellow

    Wtf. That’s its own scandal

1shooner

Cursor reporting this: https://cursor.com/blog/claude-code-extension-security-notic...

What appears to be an official Binance account reporting it also:

https://www.binance.com/en/square/post/10-30-2026-claude-cod...

  • Rapzid

    Not very transparent. Whose key was used to push this extension update?

anon-3988

I have this realization recently that everyone that uses Claude Code or Codex have basically been running RCE code on a daily basis (me included). So much for "be careful about running curl | bash!". That puts it into perspective what does security and privacy really mean? For all I know, these CLIs could have been secretly scraping my entire directory. Who's checking?

  • origini

    Don't forget: To make LLM useful you give it EVERYTHING it needs to know to be useful and if you don't use a certain provider with proper legal status, this is just gone.

    We probably transfered more code/codebases and company secrets to random endpoints than ever before.

    Btw. you could setup a sandbox and limit access

  • staminade

    This was a compromise of the extension. The same kind of supply-chain attack could happen to literally any extension, package or other piece of software you install. Not excusing Anthropic letting this happen, but it doesn't have any bearing on the security and privacy of using Claude Code or Codex. Yes, you need to be careful about what they do. The fact that you might still get pwned via some other vector is irrelevant.

    • minraws

      Can't their millions of agent swarms detect a malicious supply chain vector, sure it can happen to any company but not the one people are literally handing over their entire companies too.

      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.

      • rcxdude

        It's a little harder when it's not part of the supply chain that is passing through their organisation.

  • darkwi11ow

    I only use agentic development tools in qemu VM that has no production access or host shared folders, and the only secrets there are development. I still have my Git ssh key there, but I never use ssh agent to load the keys. The worst that agentic tools can do to me, is to install keylogger and compromise my ssh key and password, but even then my deployment workflow includes creating release in Github, which is not possible via ssh key only. I was very lucky to avoid the hack yesterday, as I use Claude installed via OpenVSX, but even if I installed the compromised version, the damage would be minimal.

    • rietta

      I am doing similar with Debian 13 images in QEMU. Only access is to code specifically SSH in. On some, I am taking it a step further and my SSH key is not present at all on the bot. I add it as a git remote from my host into the VM and push and pull from there and then push to GitHub myself. So the agent has no path to GitHub either.

      • darkwi11ow

        Wow, great notion about using git remote to transfer source from the agent host. I already use ssh into VM to transfer the files like designs for sharing, so going to adopt your approach right now :)

        • rietta

          Yup, I give them a custom entry in ~/.ssh/config like:

          ``` host claudebox hostname 192.168.122.105 user developer IdentityFile ~/.ssh/id_rsa ```

          ``` host codexbox hostname 192.168.122.106 user developer IdentityFile ~/.ssh/id_rsa ```

          I drop only my public key inside the VM. Then I set up the ~/Projects folder with the code the bot is working on any any authorized samples.

          Then in my local on my host clone of the repository, I add another remote like

          ``` git remote add codexbox ssh://codexbox/home/developer/Projects/hello-world ```

          Then git push codexbox.

          Then I just SSH in or use the vm gui and interact with the agent there. I like to keep it running in byobu so I can remote in more easily when I am on the laptop out and about.

    • hangrybear666

      Hell yeah that's the most sane and efficient personal dev sandboxing work flow I've heard and shows you know your stuff. Just basics but executed very well.

  • magnio

    > Who's checking?

    Yeah I sympathize with people saying software developers should not be called engineers too.

    • palata

      I think that software engineering is very much engineering.

      I just think that the level of malpractice in software engineering is a lot higher than in other engineering fields, for some reasons.

      • TheCapn

        I'm just going to copy-paste my own comment from a few weeks ago because I feel like it is needing to be said more and more recently

        ---

        I have, off and on, for years written diatribes about how if people in our industry want to run around with the "Engineer" moniker at some point they should start acting like it. That means respecting all aspects of what it means to be an Engineer and holding public well-being paramount is part of that. Licensure is part of that. Accountability and Responsibility is part of that.

        I'm usually downvoted. The move fast and break things group seems to be blind (or willfully ignorant) to the harm that software systems can carry on a person's life. I don't know if its fear of regulation, or self-serving interests or some sort of disdain for the idea that we need to slow down and be more accountable to the public or what. At times the people I've engaged with lament on how they're capable but would be barred for lack of formal education or some such and its a distraction from the overall point: we need to be doing better and if we can't self-regulate then at some point we're going to be forced to act in a way that probably cuffs us more than necessary.

        And yes, I understand how Software doesn't exactly fit into the mold of other engineering disciplines cleanly. But I think the idea that if we're going to have systems that can ruin a person's life in a second for a bug or oversight we need to start considering that accountability for those releasing software to the public matters. We lament about the difficulty of holding corporations to account for their harm, but it would be far more difficult for a company's negligence to hurt people if those turning the knobs were held to a higher standard.

        I think that reckoning is coming soon. AI is going to create "an event" that we can't ignore and we're going to be pointing fingers in a lot of directions asking "how" we could prevent this from happening again. I'd argue "the event" has already occurred a few times over but we're purposely ignoring the severity of it to keep a diseased economy running roughshod. There's parallels with many historic events forcing regulation and the path forward won't be clean and easy.

        • chasd00

          I wouldn't hold regular engineers in such high regard. I know plenty of EEs, MEs and CEs that don't really give a f** about anything except a paycheck same as software developers.

          • palata

            Agreed. And let's not forget that those are engineers who develop stuff like electronic cigarettes or... well... bombs.

        • palata

          I mostly agree, but I would like to mention that we are destroying our planet also because of the other fields of engineering :-).

          Sure, software has a lot more malpractice ("let's ship barely-tested, unfinished stuff"), but let's not say that "the other engineers" are making the world a better place merely by "being real engineers".

      • jimbokun

        Because there’s no credentialing thus no fear of losing those hard earned credentials.

      • knottn

        Maybe it’s easier to outsource.

  • zahlman

    I've been saying it for quite a while. A --dangerously-skip-permissions harness is basically a C2 server, except the operator is an LLM running on remote hardware. It totally has your best interests in mind, though.

  • raxxorraxor

    Both is completely secure theoretically. You can read the output of the curl before you refetch and pipe it to bash. You can also look at the commands claude is executing.

    You always do that, right? ...right?

    • novafunc

      I used to think the same, but apparently there's a way to differentiate between curling into bash and curling into a text file.

      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.

      • zahlman

        Being diligent means that you curl into a text file, see nothing is wrong, and then run the file instead of curling again.

      • vladvasiliu

        I think the difference people were warned about is that the server can infer the client, so there would be a difference between reading it in your regular browser and curling. As the other commenter says, I'm not sure how the server would be able to tell what curl does with the response.

      • wolttam

            curl > some_file
            bash some_file
        
        (Also, how in the world would a server be able to tell where you’re piping the response?)

        Edit: thanks for the replies, that makes perfect sense

    • deadbabe

      No but we use MCP so we’re fine.

  • snaking0776
  • Den_VR

    There’s a reason codex and the like improved like they did. You can simply look. Or hear about it on podcasts.

paxy

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?

solfox

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.

glimshe

Why didn't Claude detect the hack and prevent it from affecting customers using its superhuman AGI reasoning?

  • _heimdall

    Don't worry, I assume an LLM version of McAfee Total Protection Antivirus is coming soon

    • nannal

      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

        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

          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

          This is where I silently found gold. All those old TODO when if I have time in retirement

          • nannal

            I've got a whole heap of unfinished side projects that I'm digging through

      • InsidiousWombat

        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.

      • Filligree

        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

        I've set up something like that with a small local model in my homelab.

      • cedws

        How does it resolve the prompt injection?

    • jacquesm

      And if you remove it, it installs itself right back. For uninstall instructions see the infamous McAfee video.

  • viraptor

    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

      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

        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

      > someone got the credentials

      > No review system at anthropic has seen this

      Weird flex

      • viraptor

        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.

        • cryptonym

          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

            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

            > 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.

        • unshavedyak

          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.

    • InsidiousWombat

      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

    • jacquesm

      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

    They weren't using last minutes model, which is totally better than last hours model which would have totally detected this, pinkie swear.

    • vintermann

      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

        > (This is a joke, to be clear.)

        Good that you said so, this is annoyingly plausible.

      • bagacrap

        Somehow bullish if anthropic spins this as Claude's own doing

    • claytongulick

      Damn, thank you for that.

      Sums up my feelings of the last few years nicely.

  • eviks

    It was safety-contrained from being able to realize its full potential.

  • Hackbraten

    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:

gexla

Wow, interesting issue. An issue with a VSC extension. And the path for this issue to even be a thing possibly a weakness in the way the extensions marketplace works (so frustrating that marketplaces and app stores are like spam folders in that you have loads of entries attempting to convince you that they are something they aren't.) And I often forget that Cursor even has an IDE, and that the IDE is their own release of VSC. I remember being frustrated that Cursor didn't support some of the extensions I wanted to use, so I never bothered with it. Now I barely open an editor anyway. Odd how this has been progressing.

spdustin

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?

henearkr

It wasn't Anthropic that was hacked but SpaceXAI (their Cursor Marketplace).

  • darkwi11ow

    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

      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

        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

          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

          Then why even allow employees to use that?

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

          • darkwi11ow

            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

              Why not use claude code directly?

              Why risk getting compromised like that?

              • darkwi11ow

                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.

    • Lazare

      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

      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

      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.

    • philipwhiuk

      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"

    • albert_e

      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

        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

    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

      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

        You make a good point, my comment above probably overstates things.

    • mirashii

      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

        >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

          You’re right, I read too quickly.

          • sunaookami

            No worries, it's very unexpected. I just remembered because I did the same thing last week and was surprised it worked.

  • XCSme

    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

      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.

jitbit

Oh god... this needs more attention

An official announcement from Anthropic would be nice!

  • stingraycharles

    I’d expect nothing less than a post mortem on how this happened to be honest.

    • thewhitetulip

      An honest post mortem will come any day now... Any day post the IPO probably

    • FergusArgyll

      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.

richrichardsson

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

    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.

  • hoppp

    Better be safe and check your dev environment if you use it.

setnone

> 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

eviks

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

    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.

  • atrokhymchuk

    I am afraid until 200x is achieved we are at risk...

    • btown

      Only with two fully maxed subscriptions can we achieve this, and this is forbiddeneded

  • Tarean

    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

    Just put gastown on it!

  • Cthulhu_

    On the other hand, they don't know what their models do or can do and nothing is safe ever, so ???

  • alansaber

    I really don't think the scaling is so trivial.

  • dgellow

    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

      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

        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

          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

            You’re projecting, I didn’t excuse anything

            • skinfaxi

              > get the snark but to be fair, the company has been growing like crazy. That makes it really hard to keep track

              Sounds like an excuse to me.

            • done_lurking

              What word would you prefer I use instead of "excuse"?

        • OoooooooO

          The correct comparison would be the food producer and poisoned foods out of the factory are really rare.

      • dgellow

        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

    • IndeanCondor

      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

    Yet, they managed to screw up.

    • iugtmkbdfil834

      :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

        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

          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

            Yes, bug count is roughly linear in the number of lines of code.

  • thatsabadlook

    [flagged]

paxy

Is there any proof of this or are we just upvoting garbage?

nunez

Kind of surprised that Cursor doesn't do checksum verification for plugins. That would have stopped this completely. (Unless it does and this backdoor is more theoretical than anything else.)

ale42

Is this affecting only people using Cursor or all VS Code users? The article specifically mentions the Cursor marketplace. But the affected version is indeed missing on the official VS Code marketplace, was it compromised too?

_hmj

Development must occur in an isolated VM, with no access to the publishing workflow. CI operations must happen in a separate VM or on the host system after scanning all files. Thus, even if the development tools are compromised (like this case), the impact is limited.

Still, it’s hardly a surprise that best practices are rarely followed with any consistency.

  • cryptonym

    Maybe because the tools aren't of much help. This is all theory but when you want to do it it's custom solutions and duct tape.

    There is too much friction when you try to isolate things. You have to do custom stuff then the company won't let you virtualize (can't install stuff...) or won't allow you to enroll the vm and will threaten you if you dev on an OS that is not enrolled.

    Best you can get from state-of-the-art-frontier-top-it-company is an IDE with an exec sandbox leaking like an hourglass.

  • plaguuuuuu

    compromised extension then backdoors your code anyway

throwitaway222

This kind of thing is only going to get worse. People assume other devs are "like them" but state actors (think US, NK, RS, CN) are likely using AI at this point to run agents non-stop to break security by making dev tools or contributing to open source. Keep in mind that open source is the backbone of nearly all software being used - we're in for a rough ride if we don't treat all new things coming in as if they are potentially a nuclear bomb masquerading as a trojan horse.

  • notaproton

    > we're in for a rough ride if we don't treat all new things coming in as if they are potentially a nuclear bomb masquerading as a trojan horse

    It's lucky that management doesn't want a 10x increase in output after laying off half the staff so we have a lot of time to vet deps! Oh no...

stbenjam

We still don’t know exactly what happened, but I publish software to public registries, and supply chain attacks scare the hell out of me. They also frustrate me, because most of the defenses aren't automatic and often really hard to get right. We're really failing as an industry to do better here.

  • poelzi

    This is why I started to move more and more into my tix.im environment. You can't trust anything anymore - I assume everything is compromised if not proven otherwise.

efficax

either the registry is compromised or someone at anthropic got compromised (or did it on purpose to steal crypto). the line in the cursor disclosure about the extension not being developed by anthropic is more confusing than clarifying. amateur hour for these massive corps

hughw

Idea: why don't all the various app stores and plugin repos use LLMs to review all submissions for security? Certainly in the human powered age that was too big a task to take on, but now it seems doable.

jacquesm

Anthropic is a weird company. On the one hand they have this messianic thing about their super intelligence, on the other hand it is incapable of keeping their own house secure. But you should trust it.

rietta

Reading the report alone: "First, the payload makes sure ~/.ssh exists and appends an attacker-controlled Ed25519 public key to ~/.ssh/authorized_keys, setting permissions to 0700 on the directory and 0600 on the file."

A system where ~/.ssh/authorized_keys has not been modified might be a hint that this did not execute - the article does not mention self cleanup/reverting to previous status behavior by the malware. By default /var/log/auth.log is only of marginal value because outbound SSH connections are not logged by default.

VoidWhisperer

My question here - does this effect those of us using the official vscode/vscode marketplace? It would seem to imply this was specific to cursor's marketplace but it would be good to know regardless

xena

I would have loved to know that this was for CURSOR and not VISUAL STUDIO CODE before I spent 2 hours resetting all my API keys and getting ready to fully reimage a machine.

numbsafari

This puts an entirely new spin on Elon trolling Binance on Twitter.

paaloeye

P(doom) crowd say Anthropic has not zero chance to destroy humanity. What it is, the VS Code Extension Marketplace, including Cursor's, must be bigger.

kiproping

More details from Kevin Beaumont. "Anthropic got compromised. Their Claude Code extension on Visual Studio Code and Cursor has malware in it, which creates a remote access Trojan to desktops. " https://cyberplace.social/@GossiTheDog/117528831681803563

Animats

We're in trouble. Four of the top ten items on Hacker News are security breaches.

lxgr

Something very similar is true for ChatGPT on macOS. I was recently very surprised to learn that starting a "Work" conversation on my Mac would grant the agent session file system access which can later be used remotely, e.g. from a browser session logged into the same account on a different computer.

Given how many people likely share ChatGPT subscriptions, this seems highly problematic.

gokuljs

Why is this not trending on Twitter

  • Aboutplants

    Curser is owned by SpaceX, who’s leader also owns Twitter. It’s bad for business to publicize your own company’s errors so they are suppressing it

ihuman

This is just the version of extension on the Cursor marketplace, not the one on the VS Code marketplace, right?

maayank

Have we just witnessed the greatest lateral movement in cybersecurity history? https://x.com/dinodaizovi/status/2116125553665458463?a=D1DiF...

misnome

Has anyone managed to confirm the time that the backdoored version was released? None of my machines updated to it, I am wondering if it was saved by a combination of luck and

> 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.

mrweasel

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.

reilly3000

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

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

    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.

mindracer

Some more details

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

  • paxy

    The first two words in that URL are wrong, so I'm going to say this doesn't have "more details".

Glyptodon

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

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

> 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

    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. 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.

pentamassiv

You can set a cooldown for Cursor extensions

1. Open Cursor.

2. Press Ctrl + Shift + P.

3. Search for Preferences: Open User Settings (JSON).

4. Add:

{

    "extensions.installCooldownHours": 72

}
invidiouslove12

oh! thanks for the imformation!

rietta

Do publishers not sign their packages before it gets to Cursor for distribution? Does Cursor itself apply and enforce any package integrity?

pier25

God only knows how many skeletons like this are in Bun now

holtwick

Put it inside https://bxsandbox.app

nubinetwork

It looks like they push an update every office day. I'm guessing if I installed 6 months ago and didn't update, that I should be fine?

  • staminade

    I think VS Code extensions autoupdate by default, unless you disable it.

    • entrope

      Yes, but they normally have a 12-hour delay (it was 2 hours at the beginning of June and got extended sometime after that, maybe later in June) and require some human action to reload extensions or restart the editor before the new version runs.

      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.

  • fn-mote

    Emphasis on guessing. If/when there is an actual postmortem, you’ll know when the back door was introduced.

  • fg137

    You are either lucky or compromised.

  • koolba

    Not updating air gapped systems is a security feature, not a bug.

soundworlds

The descriptions around this are very confusing. Is this specifically the Cursor version, or the regular VS Code version too?

vanbashan

Is it related to today binance event?

blinded

You guys open your editors?

This is a joke (neovim user here).

kirth_gersen

This is why when I use AI, I still download from the browser and drag and drop the outputted files like a caveman. Sure, it's slower, but it keeps my mental model more up to date and has less security risks. I can even...like read the thing before I run it rather than giving a LLM access to my shell directly. Also anecdotally, it seems more token efficient for those who care about that.

  • gruez

    That's not the actual hack though, it's with an extension. You could have gotten compromised this way through an extension for git or whatever.

rolosa

He says to follow his social, and he provides his handle, but there's no link, and I have no idea how to read it.

jehnnysmith

Just uninstalled all the vscode extensions. Dont need any of them anymore.

shahbaby

I think right now AI is helping the attackers more than it's helping the defenders.

That part is probably obvious.

But in the long term, I suspect this will get worse.

Attackers will still need to think critically to be a few steps ahead of the defenders.

But the defenders will increasingly outsource their thinking to AI as they are incentived if not outright forced to dumb themselves down into interchangeable cogs.

mindracer

The extension has over 27 million installs, ouch

madarao

Let me guess, they vibe coded their vibe coding extension?

  • gpm

    No.

    Well probably yes but not at all relevant here... the problem wasn't the legitimate extension, it was cursor serving a fake malware one.

Handy-Man

That's not official extension though? Misleading title

blondie9x

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

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.

anonymous908213

If it is true that Binance was compromised as a result of this, hats off to our new billionaire friend for one hell of a heist.

  • nater5000

    >hats off to our new billionaire friend

    As if this wasn't coordinated by a team directed by the government of North Korea.

  • Aboutplants

    Is that the rumor? Does the timing line up?

    • anonymous908213

      It does. The compromised extension was published about 11 hours before Binance's coins went zoop, Binance blamed a compromised developer laptop, and OP pointed out that their hiring page explicitly notes developers will be using Cursor with Claude Code for "development efficiency".

      • Aboutplants

        Incredible. Looking a bit more and more like this was the actual case. Wild stuff

    • 6thbit

      It lines up and fits so well that it'd scare me more they wouldn't be related than if they were. At least we'd know the vector.

K0nserv

If the sole purpose of this hack was to steal cryptocurrency, a silver lining might be, as in many similar cases, that if you stay away from that particular dumpster fire you are probably okay. I mean there's still a reverse shell on your machine to fix, but at least nothing of value was lost.

  • cube00

    Even if you don't have cryptocurrency they can still go after your GitHub credentials and run some very expensive agent and runner workloads.

    I've started developing with a separate user account to limit the blast radius but you still need to login to access repos and use AI features.

    • K0nserv

      For sure sandboxing and isolation is feeling increasingly relevant regardless, but crypto theft is acting as a good sponge.

    • InsidiousWombat

      now I kinda wanna shadow the usual SSH creds files with LLM read-only user, so it can rummage thru the repos all it wants but I need to do the push using my creds.

    • bakies

      That's why I stay away from that dumpster fire too!

  • 6thbit

    I suppose it's just the best ROI on using a complex attack vector or spending one or more zero days. But other types of targets may wreak havoc for bystanders that become collateral damage, idk trying to get specific private info on a target may expose data on millions, or anything increasing scope as to hide the real target, etc.

DEADF007

I don't care anymore, how are you supposed to defend yourself against attacks like this? Come and hack me.

  • tripleee

    I thoroughly sandbox agents to their own physical machine, and they don't have access to anything that would ruin me.

    • 6thbit

      How do you sandbox this usecase?

      Say you need an agent to do ssh to a set of servers on a regular basis so you kind of allow ssh. Can you configure just a set of IPs it may reach? Do you require some user interaction for ssh approvals?

      • tripleee

        In this case you could give it its own SSH key, and only allow that key to access what you want. I actually do that, it doesn't share my own SSH key. It also has its own Github account instead of getting access to mine.

        For access to services, most allow tokens to be scoped to only allow the things you want.

        • 6thbit

          Those sound good, but say in this case you had the compromised extension which had its own ssh key to an IP that wasn't yours. I'm not sure how you easily prevent that connection without preventing the ones you need through sandboxing. Maybe a firewall/very specific network filtering in allowlist?

  • anonymous908213

    > how are you supposed to defend yourself against attacks like this?

    You can try not installing malware like Claude Code or, if you absolutely must, doing it in a sandbox.

rvz

This is embarrassing to Anthropic given here that they lack basic security procedures to prevent this and they have gotten themselves hacked to push malware.

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.

minimaxa

Wait till GitHub gets audited, a literal wild west cesspool of vibe-coded exploits with 1000's of fake stars.

system2

I never understood the appeal of cursor.com. Isn't Claude Code on the CLI enough? Are people really lazy or incompetent to resort to using other companies for the same AI models?

ricky_risky

not just anthropic, my product that used antigravity is also leaked and copied by google, these close ai company will undoubtably steal your code, file and data.

strongly suggest put your valuable work on local llm.

bitwize

Third-party package repo is compromised. Everybody curl | bash directly from Dario's web site until a solution can be found.

HexnMarcusWolfe

... So business as usual then for VSchode ?

The amount of problems it's had from compromised extensions is ridiculous.

rhedak

Honestly with AI getting smarter it feels like these kind of attacks will only increase...

acedTrex

Thankfully coding is solved everyone

villgax

What I dont understand is why the hell do these extensions & clis need to update every damn day. clearly there's no new models everyday, what the actual f.

hem777

”I've confirmed Binance use Claude Code with this extension.”

  • fn-mote

    ^^ Had to verify that this was a real quote from the chain and not a joke. It is accurate.

paaloeye

Another reason for not using VS Code and derived and all their mess of extensions. I'm glad running Claude Code in Ghostty/Terminal is not affected.

jedisct1

Keep sending all your secrets and giving full control of your devices to Anthropic.

This is fine.

xteam

♟

syngrog66

Anthropic is a malware vendor (on many levels of abstraction): confirmed. But plenty of evidence visible to public eye, prior.

I forbid all-things-Anthropic on any machine I control, as of many months ago. In my private vendor "DNP" blacklist. Its designed as bait for the gullible or ignorant: the telltales are all right there. (Just like OpenClaw, for example.)

iJohnDoe

> I was working on the clearly mistaken impression that "Made by Anthropic" in the cursor store meant that the artifact had been signed by Anthropic. If that is not the case, then two party's need to get their act together:

Whoa! WTF? I always thought those were official releases by the companies. That's the only reason I trusted them. How is it possible they are being branded as official releases?

cookiengineer

It's dangerous to go alone, take this [1]

[1] https://github.com/cookiengineer/check-claude-code-exfil

stopsayingsorry

Imagine backdooring 50+ million installs.

Hats off to the hackers.

  • stbenjam

    5,000*

    • gcoakes

      I think that's just the number Cursor has telemetry on. I think there's multiple distribution locations.

    • misnome

      5000 is the cursor number for people on the cursor version of the store, not the VSCode store.

try-working

"Software is solved. Bugs are not yet solved"

felixrieseberg

Felix from Anthropic here.

We’re working with Cursor on this incident, but it wasn’t a compromise of Anthropic’s systems or employee laptops. A malicious actor used access to Cursor’s marketplace to publish a tampered copy of the Claude Code extension, which we didn’t build or publish. The versions on our official channels are not affected and this only impacts Cursor users.

  • cryptonym

    > A malicious actor used access to Cursor’s marketplace

    How did they get access to this?

    • Handy-Man

      Ask Cursor team?

      • cryptonym

        Let's say Anthropic has been impersonated and they are not at fault. I'd expect Cursor to provide information to them about this, and Anthropic being able to comment.

        Btw, if you got any insights, you are more than welcome to share.

poelzi

I guess, this is why I'm building tix.im ...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection