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:
| Check | At risk if |
|---|---|
| Editor | You use Cursor (not VS Code or another editor) |
| Extension | You have Anthropic’s Claude Code extension installed from Cursor’s marketplace |
| Version | It installed or updated to 2.1.312 or 2.1.313 |
| When | Between 2:27 am and 1:35 pm PT on October 29, 2026 |
| System | macOS 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:
- Isolate the machine from your network.
- 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.
- 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.
- 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.
