The Watch Log / Threat
Malicious Claude Code Extension Targeted Cursor Users
A tampered extension was available through Cursor’s marketplace for about 11 hours. It tried to install persistent SSH access and sent device details to an attacker’s server.

What happened
BleepingComputer reports that a malicious version of Anthropic’s Claude Code extension was available through Cursor’s extension marketplace on October 29, 2026. Cursor said the package was not developed by Anthropic and that up to 5,000 users may have been affected. The extension was available for about 11 hours.
The tampered package used version number 2.1.313. It ran code that tried to add an attacker-controlled SSH key, create persistence across restarts, and send information about the device to an external server. It also sent names of some environment variables that may indicate which credentials or cloud services are configured. Help Net Security reports that the variable values were not sent.
Who is affected
Cursor marketplace users who installed version 2.1.313 during the exposure window may be affected. Cursor said it planned to contact users. The Hacker News reports that the malicious version was removed and Anthropic published version 2.1.314. Users who installed the extension elsewhere are not known to be affected by this incident.
How the attack works
The malicious code ran when the extension loaded, without requiring the user to interact with Claude Code. It tried to enable SSH access and create a connection back to the attacker’s server. Researchers found flaws that could prevent SSH from being enabled on some Windows and Mac computers. This does not rule out access on machines where SSH was already enabled. The attacker’s identity and how the tampered package entered Cursor’s marketplace are not known yet.
What to do now
- Check whether Claude Code version 2.1.313 was installed from Cursor’s marketplace during the exposure window.
- Remove the affected extension and install a clean, updated version from a trusted marketplace.
- Review SSH authorized keys and startup tasks for entries you do not recognize.
- If the device had SSH enabled or may have been compromised, contact your IT team and rotate credentials accessible from it.
Timeline
Worried about this?
HarborSOC watches systems like yours around the clock. If you think you're affected, our analysts can check and help you fix it. What to do in the first hour after a hack · How our 24/7 SOC works
Talk to an analystSources
- Dark Reading: Devs Hit by Trojanized Claude Code Extension for Cursor
- BleepingComputer: Malicious Claude Code extension on Cursor planted SSH backdoors
- Help Net Security: Claude Code extension poisoned with persistent SSH backdoor
- The Hacker News: Official Claude Code Extension on Cursor Marketplace Trojanized with Persistent SSH Backdoor
This post was written by HarborSOC from the sources above, which we cross-check before publishing. Facts reported by only one outlet are attributed to it.