Malicious Claude Code Extension in Cursor: How to Check Your Machine and What Cursor's Investigation Found
A tampered Claude Code extension in Cursor's marketplace tried to plant an SSH backdoor. Who is affected, how to check your Mac or PC and what Cursor found.
- Published
- Updated
- 6 min read

Key takeaways
- For about 11 hours on 29 October 2026, Cursor's extension marketplace served tampered copies of the Claude Code extension (Anthropic.claude-code 2.1.312 and 2.1.313) for macOS and Windows that tried to install an SSH backdoor.
- On 13 November Cursor said the attack started with an access key exposed by Fireworks, an AI provider it used. At most 5,000 users could have received the malicious build. Anthropic did not publish it, and Open VSX never had it.
- If you installed or updated the extension in Cursor that day, check for the svc-telemetry SSH key and follow Cursor's clean-up steps. Uninstalling the extension alone may not be enough.
On this page
For about 11 hours on 29 October 2026, developers who installed or updated the Claude Code extension inside the Cursor code editor could have received a tampered copy that tried to plant an SSH backdoor on their computer. On 13 November Cursor published the results of its two-week investigation, and the attack started somewhere unexpected: with an access key exposed by one of Cursor's AI suppliers.
Here is who is affected, how to check your machine in under a minute and what Cursor found.
What happened
| Date | Event |
|---|---|
| 29 October, about 02:27 to 13:35 Pacific Time (10:27 to 21:35 CET) | Tampered copies of Anthropic.claude-code 2.1.312 and 2.1.313 are served from Cursor's extension marketplace |
| 29 October | Cursor removes them, takes the marketplace offline and publishes a security notice |
| 30 October | Cursor updates the notice with indicators of compromise and clean-up scripts, and starts notifying affected users |
| 1 November | Last attacker activity Cursor observed, which was blocked |
| 13 November | Cursor publishes its investigation update |
Cursor is clear that this was not Anthropic's doing: according to Cursor, Anthropic did not publish this copy and it was not a vulnerability in Anthropic's product. Cursor's marketplace gets its extensions from Open VSX, which, according to Cursor, never had the malware.
How the attacker got in
According to Cursor's update, the attack was a chain of small failures:
- An attacker obtained an access key Cursor had issued to Fireworks, an AI inference provider, after Fireworks exposed it.
- With that key, the attacker copied data from a read-only storage bucket Cursor used to share data with Fireworks. It held coding agent traces, mostly from 2025, from sessions that were not in Privacy Mode.
- Some of those traces contained unredacted credentials, which the attacker used to get into some of Cursor's SaaS tools.
- From there the attacker reached archived non-production code, customer support data and emails, usage metrics, and credentials users had sent to Cursor support.
- On 29 October, the attacker used a stolen credential to place the tampered extension directly in the cache that serves Cursor's marketplace.
Cursor says the Cursor app and its official updates were not affected, no release signing keys were exposed, and all other marketplace extensions were checked and are genuine.
What the malicious extension does
According to Cursor's security notice, the tampered extension.js runs when the extension loads and:
- reports details about your computer to the attacker: hostname, username, operating system, home folder, names of environment variables, working folders, your Git email and your public IP address;
- adds the attacker's SSH key (comment
svc-telemetry) to yourauthorized_keysfile and tries to switch on the SSH server; - tries to open a reverse SSH tunnel to the attacker's server;
- installs persistence so it survives a restart: a LaunchAgent on macOS, a scheduled task called
SysMonon Windows (with a Startup-folder fallback), and scripts that retry the tunnel about every 60 seconds.
Cursor says the tunnel would usually fail because of bugs in the code, unless Cursor was running with administrator rights. But adding the key, installing persistence and reporting host details did work. The attacker's server has since been taken offline. If you have used an SSH key to secure a server, you know why an unknown key in authorized_keys is serious. See our article on the OpenSSH password bypass for another reason to audit your SSH set-up.
Who is affected
| Situation | Affected? |
|---|---|
| Cursor on macOS or Windows, Claude Code extension installed or updated to 2.1.312 or 2.1.313 from Cursor's marketplace on 29 October | possibly: check now |
| Claude Code extension from Open VSX | no, according to Cursor |
| The Cursor app itself and its official updates | no |
| Other extensions in Cursor's marketplace | no, all checked by Cursor |
Cursor estimates that at most 5,000 users requested the affected cached versions and could have received the malicious build.
How to check your machine
Cursor's quickest check looks for the attacker's SSH key.
macOS (Terminal):
grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted"
Windows (PowerShell):
$files = "$HOME\.ssh\authorized_keys", "C:\ProgramData\ssh\administrators_authorized_keys" | Where-Object { Test-Path $_ }
if ($files -and (Select-String svc-telemetry $files)) { "svc-telemetry key found" } else { "No key found; machine not impacted" }
Cursor calls this check a starting point, not proof that a machine is clean. Companies should also search their endpoint, network and extension-installation logs for the other indicators in Cursor's notice. These include:
| Platform | Signs of infection |
|---|---|
| macOS | ~/Library/LaunchAgents/com.apple.sysmond.plist, files ~/.config/.smt and ~/.config/.smtk |
| Windows | scheduled task SysMon, %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\sysmon.cmd, %USERPROFILE%\.config\smt.cmd |
| Network | connections to 134.209.82.225 (SSH on port 22, or HTTP on port 8099) |
How to clean up
If the check finds the key or any other sign, Cursor recommends:
- Isolate the computer from your network.
- Remove the attacker's SSH key, the persistence (LaunchAgent, scheduled task, startup script) and any running tunnel processes. Cursor provides clean-up scripts for macOS and Windows in its security notice. Run the macOS script as your normal user and the Windows script in an administrator PowerShell.
- Decide whether to rebuild the machine. If you can't rule out further access, a clean reinstall is the safest option.
- Rotate your credentials from a different, trusted computer: API keys, cloud credentials, Git tokens and active sessions that the affected machine could reach.
What about the data breach?
Separately from the extension, Cursor says the attacker exposed:
- coding agent traces of fewer than 0.05% of users who were not in Privacy Mode;
- API credentials of fewer than 0.01% of customers, found unredacted in those traces;
- some customer support data and emails, usage metrics and contact details, and credentials users had sent to Cursor support.
Cursor contacted affected customers directly and emailed team admins a list of affected keys. In its words: "If you did not receive a notification, your data was not in these traces." Prompts and code of users in Privacy Mode were not affected.
Lessons for developers and teams
- Editor extensions run with your permissions. A bad extension can read your files, your SSH keys and your tokens. Treat extension updates like any other software supply chain.
- Never paste secrets into AI chats or support tickets. Part of this attack worked because credentials sat in plain text in agent traces and support data.
- Use your tools' privacy settings. Cursor says Privacy Mode users' prompts and code were not in the exposed data.
- Plan for a compromised laptop. For companies in the EU, a developer machine with access to customer data can turn an incident like this into a personal data breach, which, under GDPR Article 33, must usually be reported to the data protection authority within 72 hours.
AI coding agents are becoming part of everyday development. Our explainer on AI agents covers why they need careful permissions, and the recent APT vulnerability is another reminder that the tools you install updates with are a target too.
Conclusion
If you use Cursor on a Mac or Windows PC and touched the Claude Code extension on 29 October, run the one-line check now. If the key is there, isolate the machine, remove the backdoor with Cursor's scripts, consider a rebuild and rotate your credentials from a trusted device. Cursor says the incident is contained, the attacker's server is offline, and the Cursor app itself was never affected.
Frequently asked questions
Was I affected by the malicious Claude Code extension in Cursor?
Only if you use Cursor on macOS or Windows and installed or updated the Anthropic.claude-code extension to version 2.1.312 or 2.1.313 from Cursor's marketplace on 29 October 2026, between about 02:27 and 13:35 Pacific Time. Cursor says at most 5,000 users could have received it.
Did Anthropic publish the malicious extension?
No. According to Cursor, Anthropic did not publish this copy and it was not a vulnerability in Anthropic's product. An attacker placed it in the cache that serves Cursor's marketplace. Open VSX, the marketplace's source, never had the malware.
Is uninstalling the extension enough?
No. Cursor warns that the malware drops persistence scripts that keep running after the extension is removed. Check for the svc-telemetry SSH key, remove the persistence and tunnel, rotate credentials from a trusted machine and consider rebuilding the computer.
Was my code or data exposed?
Cursor says coding agent traces of fewer than 0.05% of users not in Privacy Mode and API credentials of fewer than 0.01% of customers were exposed. Affected customers were contacted directly. According to Cursor, if you did not receive a notification, your data was not in these traces.
Sources and further reading
Related articles

OpenSSH Password Bypass CVE-2026-123158 (sshole): Who Is Affected, Alpine Linux and How to Fix It
An exploited OpenSSH flaw lets attackers log in without a password on musl systems like Alpine Linux. Who is affected, how to check, update and restart sshd.
Cisco Expressway CVE-2026-76466 Under Attack: How to Check Your Cluster and Patch to X15.5.20
CISA says attackers are exploiting a critical Cisco Expressway flaw that gives root access on clustered devices. Who is affected, how to check and how to patch.

Apache HTTP Server CVE-2026-119618: Critical HTTP/2 Flaw, Who Is Affected and How to Update to 2.4.71
A critical mod_http2 flaw in Apache HTTP Server 2.4.55 to 2.4.70 can allow remote code execution. Check if HTTP/2 is on, update to 2.4.71 or turn it off.