A tampered build of the Claude Code extension, served by Cursor’s extension marketplace as version 2.1.313, carried a backdoor that added an attacker’s SSH key to the user’s machine and opened a reverse tunnel to a server the attacker controls. The analysis was published by OpenSourceMalware on October 30, 2026, and the first widely seen warning went up on X at 03:33 UTC.
Corrected on November 13, 2026. This page and its title first said the build was published to Open VSX, as the researchers’ report did on October 30. The researchers have since updated their report. It now says Cursor told them its marketplace was compromised, and: “this is the origin of the malicious Claude Code extension, not Open VSX.” The title, the summary and the sections below are changed to match.
Cursor confirmed the build had been in its own extension marketplace. In a security notice and an X post, it says the build was live from 2:27am to 1:35pm Pacific on October 29 and that “At most 5,000 users were affected, and we will reach out directly.” Two Anthropic employees answered on X the same day, and their posts are quoted below.
On this page · 7 sectionsOpen
A build published as version 2.1.313 of Anthropic’s Claude Code extension carried a backdoor. It came through Cursor’s extension marketplace. The researchers who first named Open VSX have corrected that.
Sixty-six lines run before the real extension, add an SSH key labelled svc-telemetry and open a reverse tunnel to an attacker’s server.
The editor still works normally, because almost every error in the injected code is suppressed.
Version 2.1.313 is in no registry now. We checked Open VSX, the VS Code Marketplace and npm on October 30; all three go from 2.1.312 to 2.1.314.
Cursor says the build was not developed by Anthropic, was live for about 11 hours on October 29, and reached at most 5,000 users.
§ 01What Cursor confirmed
Cursor’s notice is the first account from a company that actually distributed the build. It says plainly: “This malicious version of the extension was not developed by Anthropic.” It removed the version, then shut its whole extension marketplace down, audited it, rotated its keys, rebuilt it and brought it back. It also worked with the hosting provider to take the attacker’s server offline, and writes that “The attacker server no longer functions.”
What Cursor’s notice adds to the researchers’ report:
- Who built it: not Anthropic, Cursor says.
- Where: Cursor’s extension marketplace.
- When: 2:27am to 1:35pm Pacific, October 29, 2026.
- How many: at most 5,000 users, whom Cursor will contact directly.
- Attacker server: taken offline with the hosting provider.
The SSH detail matters more than it looks. Because enabling the local SSH service needs administrator rights, Cursor says the step failed on most macOS and Windows machines, so the attacker could not log in through the tunnel. The extension still added the attacker’s key, installed its persistence and sent host details out, which is why Cursor asks every affected user to run its remediation anyway.
§ 02What the loader did
The package looked normal. The bundled binary was the official one and the interface was unchanged. The only altered file was extension.js, where 66 lines of new code sat in front of the real extension and ran first, which means a user never had to start a Claude conversation for it to fire.
| Step | Behaviour | Status in the report |
|---|---|---|
| Runs | 66 prepended lines execute before the real extension loads | Confirmed |
| Collects | Hostname, user, OS, git email, names of up to 40 variables holding KEY, TOKEN, SECRET, PASS, AWS or GCP | Confirmed |
| Opens a door | Appends an Ed25519 key labelled svc-telemetry to the user’s authorized_keys | Confirmed |
| Turns on SSH | Tries to enable Remote Login on macOS, sshd on Linux, OpenSSH Server on Windows | Depends on privileges |
| Phones home | Reverse SSH tunnel to 134.209.82.225, plus a plain HTTP beacon on port 8099 | Confirmed |
| Stays | LaunchAgent named com.apple.sysmond, a cron reboot entry, or a scheduled task named SysMon | Depends on platform |
Two details make this worse than the usual package-manager attack. Errors are suppressed almost everywhere, so when a step fails the real extension keeps loading and nothing looks wrong. And the persistence names borrow from system monitoring, so a quick look at a process list or a LaunchAgents folder does not obviously show an intruder.
§ 03Where version 2.1.313 is now
We checked the three places the extension ships from: the Open VSX version list, the VS Code Marketplace listing and the npm package. The malicious version is in none of them, and the clean follow-up went out across all three within about an hour.
| Where | 2.1.312 | 2.1.313 | 2.1.314 |
|---|---|---|---|
| Open VSX | Oct 27, 20:26 UTC | Not in the registry | Oct 30, 01:07 UTC |
| VS Code Marketplace | Listed | Not listed | Oct 30, 01:17 UTC |
| npm, @anthropic-ai/claude-code | Oct 27, 18:36 UTC | No publish time recorded | Oct 30, 00:12 UTC |
A missing version number alone was never proof of a takedown, which is why we held back on it before Cursor spoke. Cursor’s notice now settles part of it: the 2.1.313 build in its marketplace was not Anthropic’s, and Cursor removed it. The Open VSX listing’s download counter is an all-time figure for the extension, not a count of people who got the bad build; Cursor’s 5,000 is the only reach figure anyone has given.
§ 04What changed after October 30
- The researchers moved the source. The report, last updated on November 1, now lists what was not malicious: the npm package, the Open VSX extension and the Microsoft VS Code extension. In its words: “The Open VSX extension is NOT malicious”. It says Cursor runs an internal service that pulls extensions from Open VSX and also serves extensions of its own, and that this service served “a version 2.1.313 that wasn’t in Open VSX”.
- Anthropic employees spoke. Felix Rieseberg, whose X profile says he builds things at Anthropic, wrote on October 30 that the incident “wasn’t a compromise of Anthropic’s systems or employee laptops”. He added: “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.” David Dworken, whose profile says he works on security at Anthropic, wrote: “The versions on our official channels including VS Code and OpenVSX are not affected and this only impacts Cursor users.”
- Two versions, by the researchers’ account. The report says Cursor has updated its notice to name two malicious versions in its marketplace, 2.1.312 and 2.1.313. We have not read Cursor’s notice again since October 30, so the times and the quotes from it on this page are as it read then.
- The count is disputed. Cursor’s X post still says the incident affected “at most 5,000 users”. The researchers write that this wording has been removed from Cursor’s notice, and that “we suspect that the number is far larger”, going by the number of incident responders who contacted them. They give no figure and say they can only speculate about the reason.
§ 05What is not established
Nobody has said publicly how the attacker got a build into Cursor’s marketplace. The researchers write that Cursor confirmed the compromise to them, and add: “they didn’t share how it happened”. They also say their understanding, from a meeting with Cursor, is that the compromise went beyond this one extension. That is their reading, and Cursor has not said so in anything we have read. The report is not fully consistent with itself: its closing paragraph still says “Distribution source, attacker identity, infrastructure ownership, and the status of any official release remain unverified”.
Still unknown: how the build got in, how many people ran it, and whether any other extension was affected. In its October 30 notice, as we read it then, Cursor said it had “no evidence that other versions of the extension or the official distribution are affected.” By the researchers’ account the notice now names 2.1.312 as well. We have seen no statement from Open VSX or the Eclipse Foundation.
§ 06If you installed it
The report’s own advice is blunt: “Rebuilding the host is safer than assuming removal of known artifacts restores trust.” If you installed or updated the Claude Code extension in Cursor between 2:27am and 1:35pm Pacific on October 29, check before you assume you are clean, and move to 2.1.314. The researchers now say the Open VSX, VS Code Marketplace and npm copies were not malicious, so the risk is to people who got the extension through Cursor. By their account Cursor’s notice now names a malicious 2.1.312 build in its marketplace as well, so the version number alone does not clear a Cursor install. Cursor adds that “Uninstalling the extension may not be sufficient” because the payload leaves its own scripts running.
Cursor’s one-line check on macOS is grep -qs svc-telemetry ~/.ssh/authorized_keys && echo found, and it publishes remediation scripts for macOS and Windows in the notice. Look for the SSH key comment svc-telemetry in ~/.ssh/authorized_keys, for ~/.config/.smt and ~/.config/.smtk, for a LaunchAgent at ~/Library/LaunchAgents/com.apple.sysmond.plist on macOS, a cron entry that runs at reboot on Linux, or a scheduled task named SysMon on Windows. On the network side, block and search for 134.209.82.225 on ports 22 and 8099. If any of it is present, treat the credentials that machine could reach as exposed and rotate them from a different computer.
§ 07Why this one matters beyond one extension
The interesting part is not the malware, which is ordinary. It is the delivery. Coding agents arrive as editor extensions that people install in seconds and update silently, and those extensions run with the full rights of the developer who installed them: their SSH keys, their cloud credentials, their repositories. An agent extension is one of the highest-privilege things on a working machine, and it is distributed through the lowest-friction channel we have.
That is the same structural problem behind the LiteLLM package that shipped malware and behind agents breaking out of a sandbox at OpenAI. The answer is not to stop using agents. It is to stop giving them your own identity. An agent with its own account, its own machine and an explicit list of what it may reach is recoverable when something like this happens; an agent wearing your login is not.
Q1What is Open VSX?
An open registry of editor extensions run by the Eclipse Foundation. Editors that cannot use Microsoft’s Marketplace, including Cursor, VSCodium and Windsurf, pull extensions from it. The researchers now say the bad build did not come from it.
Q2How do I know if I was hit?
Look for an SSH key commented svc-telemetry in authorized_keys, for the files .smt and .smtk under your config folder, for a LaunchAgent named com.apple.sysmond, a reboot cron entry or a scheduled task named SysMon.
Q3Is removing the extension enough?
The researchers say no. The implant opens an interactive route into the machine, so they recommend rebuilding the host and rotating credentials from a clean computer.
Q4Has Anthropic said anything?
Not in a company statement that we have seen. Two Anthropic employees posted on X on October 30. They said Anthropic did not build or publish the build and that the versions on its official channels are not affected.
Q5What is the wider lesson?
Agent extensions run with all the rights of the developer who installed them. Giving an agent its own account and its own machine is what makes an incident like this recoverable.
