Skip to content
Builders· Nov 8, 2026

A fake Claude Code update in Cursor’s marketplace planted a backdoor. Here’s how to check your machine.

For about 11 hours on October 29, Cursor’s extension marketplace served tampered builds of the Claude Code extension that tried to open an SSH backdoor. Cursor says at most 5,000 users were affected. Here’s who is at risk and the one-line check Cursor published.

Sources
4 checked
Read
4 min
A shelf of identical small parcels with one opened to show a hidden key and a thin thread leading away.

The short version

  • On October 29, 2026, Cursor’s VS Code extension marketplace served tampered builds of Anthropic’s Claude Code extension, versions 2.1.312 and 2.1.313, for macOS and Windows. They were available from about 2:27 am to 1:35 pm Pacific time 1.
  • The tampered code tried to add an attacker’s SSH key, open a reverse SSH tunnel back to the attacker and keep itself running after a restart. It also sent the computer’s name, username, IP address and the names of its environment variables to the attacker 1.
  • Cursor says “at most 5,000 users” were affected and that the attacker’s server has been taken offline 1,2,3. Anthropic says it did not build, publish or host the tampered extension 3.
  • The problem was in Cursor’s marketplace. Cursor says it has no evidence that other versions of the extension or Anthropic’s official distribution were affected 1.

Am I affected?

You’re in the risk group if all of these are true 1:

CheckAt risk if
EditorYou use Cursor (not VS Code or another editor)
ExtensionYou have Anthropic’s Claude Code extension installed from Cursor’s marketplace
VersionIt installed or updated to 2.1.312 or 2.1.313
WhenBetween 2:27 am and 1:35 pm PT on October 29, 2026
SystemmacOS or Windows (Cursor’s notice); researchers found setup code for Linux too 2,4

Cursor extensions update automatically by default, so you may have received the bad version without doing anything 2. Anthropic shipped a clean version, 2.1.314, several hours later 2.

How do I check?

Cursor published a one-line test. The tampered extension adds an SSH key labelled `svc-telemetry` 1.

On macOS or Linux, in Terminal:

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

On Windows, Cursor’s notice gives a PowerShell version that also checks `C:\ProgramData\ssh\administrators_authorized_keys` 1.

If the key is found, Cursor says to 1:

  1. Isolate the machine from your network.
  2. Run Cursor’s clean-up script for your system (linked from its notice). It removes the extension, the persistence files, the tunnel processes and the attacker’s key.
  3. Decide with your IT or security team whether to rebuild the machine. Cursor warns that “uninstalling the extension may not be sufficient,” because the code drops separate scripts that keep running.
  4. From a different, trusted computer, change the passwords and rotate the API keys and tokens that the affected machine could reach.

How bad was it?

The backdoor didn’t always work. Turning on the computer’s SSH service needs administrator rights, and Cursor says bugs in the malicious code meant that step failed unless Cursor itself was running as an administrator 1. Phorion, the security firm that first reported the extension publicly, found a similar bug on macOS 4.

The other steps did run. Cursor says the code still added the attacker’s key, installed its persistence and sent host details out 1. Phorion said that list of environment variable names would let the attacker see which cloud credentials and API tokens a machine held, so it could pick targets for a follow-up attack 2. Cursor says the attacker’s server no longer works, so the tunnel and the reports can’t reach it now 1.

How did it happen?

Neither company has said. Researchers told Ars Technica that the tampered versions were posted through the official Anthropic account on Cursor’s marketplace 2. Anthropic’s statement, quoted by Information Security Media Group, says “a malicious actor used access to Cursor’s marketplace to publish a tampered extension targeting Cursor’s users” 3. Cursor says it shut its marketplace down, rotated its keys, checked that no other extensions were changed and brought it back online 1.

What it means for you

  • If you use Claude Code in Cursor, run the check above, even if you think you didn’t update that day.
  • If you manage developer machines, Cursor’s notice lists file hashes, the attacker’s IP address and the persistence file paths to search for 1.
  • For any AI coding extension, auto-updates are a trade-off. They get you security fixes quickly, and they also deliver a bad build quickly if a marketplace account is misused. Cursor lets you change the auto-update setting 2.

What we know and what’s unclear

Known: the versions, the time window, what the code tried to do, the check and the clean-up steps 1,4; Cursor’s estimate of at most 5,000 affected users 2,3; Anthropic’s statement that it didn’t publish the build 3.

Unclear:

  • How the attacker got the access to publish. Neither Cursor nor Anthropic has explained it 2,3.
  • Who was behind it 3.
  • How many machines actually ran the backdoor successfully. Cursor gives only the upper bound of 5,000 users 3.
  • Early reports named only version 2.1.313. Cursor’s updated notice adds 2.1.312 1,4.

As of November 4, 2026.

Sources

4 sources
  1. Cursor, "Security notice: malicious version of Anthropic.claude-code (2.1.312 and 2.1.313) identified in the Cursor VS Code Extension Marketplace," October 29, 2026.
  2. Ars Technica, "Anthropic VS code extension on Cursor backdoored for nearly 12 hours," October 30, 2026.
  3. BankInfoSecurity (Information Security Media Group), "Cursor Confirms Anthropic Claude Code Extension Compromised," October 2026.
  4. Phorion, "Official Claude Code Extension Compromise: Security Advisory," October 30, 2026, updated October 31.