Fake Claude Code extension in Cursor tried to plant SSH backdoor
A tampered Claude Code extension, versions 2.1.312 and 2.1.313, sat in Cursor's marketplace for about 11 hours. Here is who is affected and how to check.
LandGadget Newsroom · · 3 min read

Developers who use the AI code editor Cursor should check one extension. Cursor says a maliciously modified copy of Anthropic's Claude Code extension was available in its VS Code extension marketplace on 29 October, between about 2:27 am and 1:35 pm Pacific time. The affected versions are 2.1.312 and 2.1.313 for macOS and Windows. Cursor stresses that these versions were not made by Anthropic.
What the fake extension did
According to Cursor's security notice, the tampered code:
- collected the hostname, user name, operating system, home folder, environment variable names, Git email and public IP address and sent them to the attacker;
- tried to add an attacker-controlled SSH key to the user's authorized keys, switch on the local SSH service and open a reverse SSH tunnel;
- tried to make that tunnel survive reboots through a LaunchAgent on macOS or a scheduled task on Windows, retrying about every 60 seconds.
Cursor says that switching on the SSH service needs administrator rights, which the extension did not have on most Macs and Windows PCs, so on those machines the attacker could not log in through the tunnel. The attacker's server has since been taken offline with the help of its hosting provider. WIRED reported that at most about 5,000 users downloaded the rogue package. Microsoft's security team has also published a technical analysis of the backdoor.
What Cursor did
Cursor removed the malicious versions, shut the whole marketplace down as a precaution, audited access, rotated its keys and rebuilt the marketplace before bringing it back online. It says no other extensions were tampered with and it has no evidence that other versions or Anthropic's official distribution were affected.
How to check your machine
If you installed or updated Claude Code in Cursor on macOS or Windows during that window:
- Look for an SSH public key labelled svc-telemetry in your
authorized_keysfile. Cursor's notice gives a one-line check for macOS and PowerShell. - If it is there, the machine is affected. Uninstalling the extension may not be enough, because the payload drops separate persistence scripts. Run Cursor's remediation script for your platform and consider rebuilding the machine.
- From a clean device, rotate passwords, API keys and sessions that the affected computer could reach.
This is the developer version of a familiar problem: a convincing copy of a trusted name sitting in an official store. The same habits that help on phones, such as checking the publisher and recent version history, apply here too; see our guide on how to spot fake apps on Google Play. For another recent security story involving Anthropic's model, read our report on the Linux TCP bug found with Claude, and if you use AI assistants daily, our ChatGPT privacy settings guide shows what to lock down.
More from Computers & AI
View all →Read next

Best Monitor Size for Gaming: 24 vs 27 vs 32 Inch
What monitor size is best for gaming? Compare 24, 27, 32-inch and ultrawide screens by resolution, pixel density, desk distance, GPU power and the games you play.

Bluetooth Codecs Explained: SBC vs AAC vs aptX vs LDAC vs LC3
What Bluetooth audio codecs actually change: SBC, AAC, aptX, LDAC and LE Audio's LC3 compared — sound, latency, battery and which phones support which codec.

Electric motorcycle buying guide: range, charging, licence
How to choose an electric motorcycle: real-world range, battery size, home and fast charging, licence classes, running costs and what to check before you buy.