For about eleven hours on 29 October 2026, users of the Cursor code editor who installed or updated Anthropic’s Claude Code extension received a tampered copy containing a persistent SSH backdoor. The malicious versions, 2.1.312 and 2.1.313 of the extension, were served from the cache behind Cursor’s VS Code extension marketplace, and Cursor says as many as 5,000 users may have received them. The payload tried to plant an attacker-controlled SSH key on each machine it reached, open a reverse tunnel back to the attacker’s server, and install itself so it would survive a reboot.
The extension itself was not built by Anthropic, and Anthropic’s systems were not compromised. The attacker got in through a different route: an access key Cursor had issued to Fireworks AI, an inference and training vendor, which Fireworks had exposed. With that key, the attacker copied data from a storage bucket Cursor shared with Fireworks, then placed the tampered extension copies on the marketplace cache. Ars Technica reported the incident, and Cursor published its notice on 29 October, updating it on 30 October and issuing a fuller incident report on 13 November.
The episode is a supply-chain attack on the tools developers trust most. An editor extension runs with the permissions of the user who installed it, which means a backdoored extension has immediate access to local files, source code and developer credentials. The attack did not need to break Anthropic’s security or Cursor’s application; it needed one exposed vendor key and a marketplace cache that would serve whatever was placed on it.
Key takeaways
- Tampered copies of the Claude Code extension, versions 2.1.312 and 2.1.313, were served from Cursor’s marketplace cache for about 11 hours on 29 October 2026.
- Cursor says as many as 5,000 users may have received a bad build, though the malicious code often failed to obtain the access it sought.
- The payload tried to add an attacker SSH key labelled svc-telemetry to authorized_keys and open a reverse SSH tunnel to an attacker server.
- The attacker got in using an access key issued to vendor Fireworks AI that Fireworks had exposed; Anthropic’s own systems were not compromised.
- Cursor removed the release, revoked the Fireworks key, rotated secrets and rebuilt the marketplace; affected users should check for the planted key and rotate credentials.
What the tampered extension did
Security firm Phorion published the first detailed analysis of the tampered extension. The compromised extension.js file begins with an injected immediately invoked function expression, a block of code prepended to the otherwise standard minified bundle. It pulls in the Node.js modules for child processes, the file system, the operating system, paths, HTTP and cryptography, and it executes as soon as Node loads the file, before the extension’s normal activation callback runs. That means no user interaction with the extension was required for the payload to fire; loading the extension was enough.
The first stage creates a .ssh directory if needed and appends an attacker-controlled Ed25519 public key to the authorized_keys file, with permissions set to 0700 on the directory and 0600 on the file. The key carries the comment svc-telemetry, and the script checks for that comment string before appending. The payload then tries to turn on the local SSH service and establish a reverse SSH tunnel to an attacker-controlled address, and it collects host details including the hostname, username, operating system, architecture, home directory, environment variable names, Git email and public IP address.
Persistence was built in for all three major platforms. On macOS the implant installs a LaunchAgent named com.apple.sysmond, on Windows a scheduled task named SysMon with a sysmon.cmd file in the Startup folder as a fallback, and Phorion notes implementation bugs on some platforms, including a macOS flaw in how the setup logic checks the Remote Login state. Despite those flaws, Phorion characterises the malware as a significant threat, because its goal is long-term interactive access to a developer’s machine. Our report on the SSH vulnerability under active exploitation covers a different SSH flaw, but the same principle applies: an SSH key planted on a developer’s machine is a key to everything that machine can reach.
How the attacker got in
The chain started with a key. An attacker obtained an access key Cursor had issued to Fireworks AI after Fireworks exposed it, then used it to copy data from a read-only storage bucket that Cursor shared with Fireworks. Cursor’s 13 November report says the attacker placed the malicious copies directly on the cache serving its marketplace, and that the upstream Open VSX marketplace never held the malware. Some early reports named Open VSX or the Visual Studio Marketplace as the source; Cursor’s notice does not mention Open VSX, and Microsoft published its own write-up on 30 October confirming the tampered copy was served through Cursor’s marketplace.
Cursor’s notice states the facts plainly: between about 2:27am and 1:35pm Pacific Time on 29 October, a maliciously modified version of Anthropic’s Claude Code extension was made available in the Cursor VS Code Extension Marketplace, covering versions 2.1.312 and 2.1.313 for Windows and macOS. The notice also states that these malicious versions were not developed by Anthropic. Anthropic’s Felix, responding on Hacker News, said the same thing: the incident was not a compromise of Anthropic’s systems or employee laptops, and Anthropic did not build or publish the extension.

The disclosure itself travelled fast. BleepingComputer first reported the tampered extension on 29 October, and the story dominated Hacker News the following day, with the main thread drawing 1,014 points and 553 comments. Cursor published its notice on 30 October, although the original notice still displays a 29 October dateline, and updated it at 11:30am Pacific Time on 30 October with revised indicators of compromise and clarified affected versions. The 13 November incident report added the Fireworks key origin and the ceiling of 5,000 potentially affected users.
The pattern is familiar from other supply-chain incidents. Our coverage of canaries planted in the AI supply chain showed how a weakness in one link can expose many others, and the Cursor incident follows the same shape: the compromise did not happen at the company whose name is on the extension, but at a vendor whose key opened a door to the distribution channel. The 5,000 figure is a ceiling, not an infection count, and Cursor says the malicious code often failed to obtain access, but the exposure window was real.
The background: extensions are trusted code
A code editor extension is not a web page. It runs with the permissions of the IDE and of the user running it, which means it can read files, run commands and access credentials without asking again. Developers install extensions by the dozen, usually without reading their code, because the marketplace is assumed to vouch for them. That assumption is the vulnerability the Cursor incident exploited: the marketplace cache served a tampered copy, and the users who installed it had no reason to suspect anything, because the extension came from the official channel.
The incident also shows how a vendor relationship can become a security boundary. Fireworks AI is an inference and training vendor, not a household name, but Cursor had issued it an access key, and that key opened a storage bucket that led to the marketplace cache. The chain had several links, and the attacker only needed the first one. Cursor has since revoked the Fireworks key, rotated secrets, rebuilt the marketplace and moved inference off Fireworks, which are the right steps, but they are steps taken after the fact.
There is a wider context too. AI coding tools have become central to how software is written, and the extensions that deliver them are now part of the software supply chain in the same way libraries and packages are. Our roundup of the best AI tools for coding covers the tools developers actually use, and the Cursor incident is a reminder that the trust developers place in those tools extends to the infrastructure that distributes them. A backdoor in a coding assistant is not just a security incident; it is a compromise of the machine where the code is written.
The caveats that matter
First, the number of affected users is a ceiling, not a count. Cursor says at most 5,000 users who requested specific cached versions on 29 October may have received the tampered extension, and that the malicious code often failed to obtain access. That does not mean 5,000 machines were compromised; it means 5,000 is the upper bound of exposure, and the actual number of successful infections is likely lower. But it also means anyone who installed or updated the extension in that window should check, because the only way to know is to look.
Second, the attribution of blame is clear and narrow. Anthropic did not build or publish the extension, and its systems were not compromised. The failure was in Cursor’s vendor key management and marketplace cache, and in Fireworks’ exposure of the key. That matters because the fix is also narrow: it is about how vendors are given access and how distribution channels are protected, not about the safety of Claude Code itself.
Third, checking for the key is not enough on its own. Cursor advises organisations to review their environments for use of Claude Code for VS Code 2.1.313, and Phorion suggests checking the public-key fingerprint rather than relying solely on the svc-telemetry comment string, since a comment can be changed. If the key is found, the machine should be treated as compromised: uninstalling the extension alone may not be enough, and credentials that were on the machine should be replaced from a clean machine, because anyone who used the planted key could have read private keys.
| Detail | What is known |
|---|---|
| Extension | Anthropic Claude Code for VS Code, distributed through the Cursor Marketplace |
| Bad versions | 2.1.312 and 2.1.313, for Windows and macOS |
| Exposure window | About 11 hours on 29 October 2026, roughly 2:27am to 1:35pm Pacific Time |
| Users potentially affected | At most 5,000, per Cursor; a ceiling, not an infection count |
| Payload | Attacker SSH key labelled svc-telemetry in authorized_keys, reverse SSH tunnel, persistence |
| Entry point | An access key issued to vendor Fireworks AI that Fireworks had exposed |
| Not compromised | Anthropic’s systems; the extension was not developed by Anthropic |
| Response | Cursor removed the release, revoked the key, rotated secrets, rebuilt the marketplace |
Finally, the macOS flaw in the payload is a useful reminder that malware is often imperfect. The setup logic assumed it could check the Remote Login state without root privileges, and that assumption was wrong, which limited the payload’s effectiveness on some machines. Imperfect malware is still malware, and the fact that it sometimes failed does not change what it was trying to do.
Checklist: reading the Cursor incident honestly
Use these checks before deciding what this incident means for you.
- Check the window: only installations or updates of the Claude Code extension in Cursor on 29 October 2026 are in scope.
- Look for the key, not just the comment: check authorized_keys for the svc-telemetry entry, and verify the public-key fingerprint rather than relying on the label alone.
- Remember the 5,000 figure is a ceiling: it is the maximum number who may have received a bad build, not the number infected.
- Do not blame the wrong company: Anthropic did not build or publish the extension, and its systems were not compromised.
- Treat a hit as a compromise: if the key is present, rotate credentials from a clean machine, because uninstalling the extension alone may not be enough.
- Ask about vendor access: the incident started with an exposed vendor key, so the lesson is about how third parties are given access to distribution channels.
Frequently asked questions
What happened with the Claude Code extension on Cursor?
Tampered copies of Anthropic’s Claude Code extension, versions 2.1.312 and 2.1.313, were served from the cache behind Cursor’s VS Code extension marketplace for about 11 hours on 29 October 2026. The copies contained a persistent SSH backdoor.
Was Anthropic hacked?
No. Anthropic did not build or publish the extension, and its systems and employee laptops were not compromised. The attacker used an access key Cursor had issued to vendor Fireworks AI, which Fireworks had exposed.
What did the backdoor do?
It tried to add an attacker-controlled SSH public key, labelled svc-telemetry, to the user’s authorized_keys file, enable the local SSH service, open a reverse SSH tunnel to an attacker server, and install persistence so it would survive a reboot.
How many users were affected?
Cursor says at most 5,000 users who requested specific cached versions on 29 October may have received a tampered build. That is a ceiling, not an infection count, and the malicious code often failed to obtain the access it sought.
How do I check if I was affected?
If you installed or updated the Claude Code extension inside Cursor on 29 October 2026, check your authorized_keys file for an unfamiliar entry, and check the public-key fingerprint rather than relying only on the svc-telemetry label. Cursor published a cleanup script and indicators of compromise.
Is uninstalling the extension enough?
Not necessarily. If the planted key is present, the machine should be treated as compromised, and credentials that were on it should be replaced from a clean machine, because anyone who used the key could have read private keys.
The bottom line
The Cursor incident is a supply-chain attack in miniature: one exposed vendor key, one marketplace cache, and a backdoor delivered to as many as 5,000 developers through a channel they had every reason to trust. The payload was serious, the window was short, and the response from Cursor was thorough, but the incident happened because a third party’s key opened a door to the distribution channel.
What to watch next is whether marketplaces change how they verify what they serve, and whether companies tighten the keys they hand to vendors. For developers, the immediate task is simple: if you updated the Claude Code extension in Cursor on 29 October, check for the key, and if it is there, treat the machine as compromised.


