SSH Backdoor Hid in Cursor's Claude Code Extension
The tampered 2.1.313 build sat in Cursor's marketplace for about eleven hours, dropped SSH keys and reached up to 5,000 developers.
In short
A tampered build of the Claude Code for VS Code extension, version 2.1.313, carried an SSH backdoor in Cursor's marketplace; the cleaned release is 2.1.314.
At a glance
- Compromised: Claude Code for VS Code 2.1.313 in Cursor's marketplace; 2.1.314 is the cleaned build.
- Window per Cursor: Thursday, 10:27 to 21:35 Central European Time, roughly eleven hours.
- Scale: up to 5,000 affected users, per Reuters as cited by heise online.
- Backdoor: SSH key labeled svc-telemetry, persistence, system data exfiltration; routines for Linux, macOS, Windows.
- Unverified: how the package entered the marketplace, and the extension's total install count.
If you installed Claude Code for VS Code from Cursor's marketplace, check your version number. Build 2.1.313 shipped with an SSH backdoor. Cursor says that package was available on Thursday between 10:27 and 21:35 Central European Time, a span of roughly eleven hours, and that 2.1.314 is the cleaned release.
What the backdoor actually did
Security firm Phorion, which documented the incident, found routines targeting Linux, macOS and Windows. The code wrote a foreign SSH key labeled svc-telemetry into ~/.ssh/authorized_keys, established persistence and shipped system information back to the operators. On macOS a logic bug usually stopped the SSH access from being switched on — an accident of sloppy code, not a reason to skip cleanup, because the key and the persistence hooks were still planted.
Indicators to look for
Phorion lists several artifacts that give the infection away:
- ~/.config/.smt and ~/.config/.smtk
- Session status files matching /tmp/.stk_*
- macOS: ~/Library/LaunchAgents/com.apple.sysmond.plist
- Windows: a scheduled task named SysMon
- An unexpected svc-telemetry entry in ~/.ssh/authorized_keys
Cleanup goes beyond the update
Updating to 2.1.314 or later replaces the extension but leaves the implant behind. Administrators have to terminate running tunnel processes, delete the dropped files and scheduled tasks, and strip the foreign SSH key. On any workstation that holds credentials for production systems, rotate those tokens and keys as well — an eleven-hour window is long enough for a key to have been used.
Who was hit, and who published the build
heise online, citing Reuters, puts the reach at up to 5,000 users. Cursor states the tampered version did not come from Anthropic: it was distributed through the editor's own marketplace rather than Anthropic's release channels. The analysis credited in the report comes from Phorion.
What remains open
The available report does not explain how the attackers got the package into the marketplace, so account takeover, a supply-chain step or anything else is unconfirmed. The extension's total install base is also unverified: a Golem.de headline calls it installed millions of times, but that article's body was not retrievable for this piece, and neither was a Mastodon post by security researcher Kevin Beaumont. The only figure that holds up here is the count of up to 5,000 affected users.
FAQ
Which Claude Code extension version is affected?
Version 2.1.313 of Claude Code for VS Code from Cursor's marketplace. Move to 2.1.314 or later.
How do I check whether my machine was compromised?
Look for an svc-telemetry entry in ~/.ssh/authorized_keys, plus ~/.config/.smt, ~/.config/.smtk and /tmp/.stk_* files. On macOS also check com.apple.sysmond.plist in ~/Library/LaunchAgents; on Windows, a SysMon scheduled task.
Did the malware come from Anthropic?
No. Cursor says the tampered version did not originate from Anthropic; it reached users through the editor's marketplace.