For about eleven hours on October 29, a version of the official Claude Code extension in Cursor's extension marketplace tried to install an SSH backdoor on every machine that loaded it. It wasn't a typosquat. It wasn't a lookalike with a zero swapped for an O. It was the real extension ID, under the real publisher name, and Cursor says the malicious build was not developed by Anthropic.

Every badge on that listing was telling the truth. That's what makes it worth a post.

I've never wanted an IDE to do everything. This week is a good reminder of why, and of something we keep relearning: your editor's extension store is part of your supply chain, whether or not anyone drew it on the diagram.

The face was right

Here's what Cursor has confirmed in its security notice. Between about 05:27 and 16:35 Eastern on October 29, a maliciously modified version of Anthropic.claude-code was available in the Cursor VS Code Extension Marketplace. Cursor puts the reach at 5,000 users at most. The notice was updated on October 30 to name two versions, 2.1.312 and 2.1.313, on macOS and Windows. A lot of the early coverage only mentions 2.1.313, so if you're sweeping a fleet, work from Cursor's list.

The payload collected host details (hostname, username, OS, home and working directories, git email, public IP, and the names of environment variables), appended an attacker's SSH key to authorized_keys, and tried to turn on the local SSH service and open a reverse tunnel. Cursor says bugs in the malicious code meant enabling SSH would fail unless the editor was running with admin rights. Phorion traced the macOS version of that flaw: it asked whether Remote Login was on without the privileges to read the answer, so it never tried to flip it.

So the attacker probably didn't get in on most Macs and Windows boxes. Probably. The key was still planted, persistence was still installed, and the host details still went out. Cursor also worked with the hosting provider to take the attacker's server offline.

No away team required

Nobody had to click anything. Researchers found a loader prepended to the top of the minified extension.js, with the rest of the real extension left intact. Because it sat at the start of the module, it ran as soon as the editor loaded the extension, before the extension's own activate() function. No prompt. No postinstall script for a reviewer to catch.

And uninstalling isn't cleanup. The persistence lives outside the extension folder: a LaunchAgent on macOS, a scheduled task with a Startup-folder fallback on Windows, and a cron @reboot entry on Linux. Cursor says plainly that removing the extension may not be enough, because the dropped scripts keep running.

Deleting the thing that ran the installer doesn't delete what it installed.

Blood screenings

In Deep Space Nine, Starfleet's answer to shapeshifters wearing borrowed faces was the blood screening: draw a sample, and if it reverts to goo, you've found your Changeling. After Changelings turn up on Earth, Sisko pushes through mandatory screenings for Starfleet personnel and their families. Memory Alpha notes the punchline: the screenings never actually caught a Changeling, and the Martok impostor got right past them.

A verified-publisher badge is a blood screening. It answers one question honestly: does the account that published this belong to who it says? On October 29, that question had the right answer. As SV Dev's write-up puts it, publisher verification speaks to who holds the publishing account, not to what's inside a given bundle.

The badge never lied. We just asked it the wrong question.

How a build got out under that identity is still open. StepSecurity says it was published to Open VSX and mirrored into Cursor. Cursor's notice describes it as its own marketplace, Phorion has since said the source was Cursor's marketplace rather than Open VSX, and BleepingComputer reports Cursor was the only source distributing it. Those accounts don't all fit together yet, and nobody has published the how.

Nowhere to fall back to

Here's the piece I hadn't thought about until I read the SV Dev post. They queried the public registry APIs and report that Cursor's marketplace exposes only the latest version of an extension: one version of Claude Code there, against hundreds on Open VSX and the Visual Studio Marketplace. That's their measurement, not mine, but if it holds, "pin to the last known-good version" wasn't an option on that channel during the window.

Some context on why the forks run their own stores: Microsoft's marketplace terms limit it to Microsoft's own products, so editors built on the open-source VS Code base lean on Open VSX and their own marketplaces instead. And auto-update does exactly what it says. One researcher quoted by The Hacker News pointed out that anyone with auto-update on could have pulled the bad build, even though it came down quickly.

None of this is anybody being careless. The channel did exactly what it was built to do. That's the trouble with a dependency nobody chose to evaluate: it works perfectly, right up until it works perfectly for someone else.

Why the editor isn't the starship

I've never wanted my IDE to be my platform. My daily drivers are JetBrains IDEs, usually Rider for C# or IntelliJ, and I've used them for years. I enjoy my time in them. VS Code comes out depending on the environment I'm in, and when I'm in a hurry it's vim over SSH to a Pi at home, with my YubiKey as the thing that lets me in.

Claude Code runs from the command line, scoped to the folder it's working in, with no permission to run anything on its own. Every action waits for my approval. When I want to see what it cranks out unsupervised, it goes into a sandboxed container, and I read the code before anything else happens. I've done that four or five times, mostly to see where it's getting better and where it isn't. Even email gets the same treatment: the Claude desktop app cleans up my usual jumble so it reads professionally, with nothing wired up to send on my behalf.

That's a security instinct, not a fashion statement. If something is going to be functional or reachable, I want full control of it. AI is a tool, not a replacement. I've dealt with enough DBAs over the years who typed rm -rf /* when they meant rm -rf * in a subfolder (still dangerous, just more localized), and agents have already had their own version. In July 2025, SaaStr founder Jason Lemkin reported that a Replit agent deleted his production database during a code freeze, and Replit's CEO called it unacceptable and committed to fixes.

Extensions get the same suspicion. As I said in the site redesign post, every third-party dependency is a liability. I run a few, and they're either vendor-supplied or ones I wrote myself. Auto-update is off in every IDE I use. Before I update, I read the changelog, and these days I'll hand Claude the repo URL and the tag and ask it to look for anything that doesn't belong. It takes about four minutes and barely dents the token budget, and it's headed off plenty of maybes.

This week sharpened that habit, though. The payload lived in the shipped extension.js. Reviewing a source tag tells you what the author meant to ship. It doesn't tell you what the marketplace handed you.

Check the artifact, not just the repo.

Normally this is where I tell on myself. This time I don't have a scar to show. I tried Cursor when it first came out to see what the buzz was about, didn't like it, uninstalled it, and never went back. That's preference, not foresight, and it's exactly why I'm glad we have so many good tools to choose from. The bad build landed somewhere I wasn't. The habits are what I'd be leaning on if it hadn't.

Know every hop between the author and your laptop.

Checking for Changelings

If you ran Claude Code in Cursor on macOS or Windows during that window, start with Cursor's notice, not with me. It has the full indicator list, file hashes, and remediation scripts. The quick check on macOS is a grep for the attacker key's comment:

grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted"

If it hits, Cursor's guidance is to isolate the machine, remove the key, the persistence, and the tunnel processes, consider a rebuild, and rotate every credential and session reachable from that host, from a trusted system. I'd go a step further: rotate anything you've used on that machine since the bad version landed, too. If someone was on the other end of that tunnel, you don't get to know what they watched you type. The environment-variable names that went out are a shopping list, and Cursor notes the limited collection doesn't rule out later credential access over the backdoor.

For everyone else, it's the advice from Unplugged with a sharper edge: prune your extensions. Turn off auto-update and read before you upgrade. If your editor or your org supports an allowlist, use it.

Then there's authorized_keys. An attacker's favorite file is the one nobody re-reads, so I stopped relying on re-reading. Every Linux box I run, desktop and servers alike, has a small systemd service wrapped around an inotify watcher. inotify is the kernel's own API for file events, and it can watch individual files, not just directories. When anything on the watch list changes, I get an email. The list varies by machine, but every rig starts with the same five:

/etc/passwd
/etc/hosts
/etc/resolv.conf
/root/.ssh/authorized_keys
/home/*/.ssh/authorized_keys

The exact paths shift a little with each system's configuration, home directories especially. authorized_keys is the very file this payload wrote to. A quiet append there is exactly the kind of change that's easy to miss and very loud in an inbox.

Don't wait to re-read the file. Make the file tell on itself.

Where we are

A real publisher, a real badge, a real extension ID, and a build nobody at the publisher wrote. Cursor pulled it, shut the whole marketplace down, rotated its keys, and rebuilt it. The open questions are the how, and whether your own fleet can answer "which machines loaded this" from telemetry instead of a Slack poll.

An editor's job is to make my dev life better. Syntax highlighting everywhere I go. IntelliSense when I'm in JetBrains. It suggests, I decide, and nothing gets rewritten behind my back.

That's the whole job. Everything else asks first.