Cursor’s marketplace served a malicious Claude Code extension
Cursor says that on October 29, 2026 its extension marketplace served tampered Claude Code extensions that tried to install an SSH backdoor. What Cursor and researchers say, how to check your Mac or PC, and how to clean up.
On this page
- When
- October 29, 2026, about 11 hours
- Component
- A tampered copy of Anthropic’s Claude Code extension, 2.1.312 and 2.1.313, on Cursor’s marketplace
- What was hit
- macOS and Windows machines that installed it: Cursor says an SSH key and persistence were added and host details sent
- Outcome
- ◐Removed by Cursor, which says uninstalling alone may not be enough
- Fix
- ✓Marketplace rebuilt and keys rotated, per Cursor
On October 29, 2026, Cursor says, a tampered copy of Anthropic’s Claude Code extension, versions 2.1.312 and 2.1.313, was available on Cursor’s extension marketplace for macOS and Windows from about 2:27 am to 1:35 pm PT. Cursor says the code tries to install a persistent SSH backdoor. Cursor says Anthropic did not publish it. Cursor posted a security notice dated that day and a longer account on November 13. Cursor’s security notice · Cursor’s update, Nov 13
Status: Contained. Last checked Dec 2, 2026. Cursor removed the extension, rebuilt its marketplace and says it believes the incident is contained. Its investigation and monitoring continue. Cursor says uninstalling the extension may not be enough, because the code drops scripts that keep running. We update this page as Cursor and researchers do.
- Oct 29, 2:27 am PT
Damage: Cursor says the tampered copy becomes available on its marketplace. Its notice is dated this day.
- Oct 29, 1:35 pm PT
Fixed or contained: Cursor says the window ends. It says it removed the copy, then shut the marketplace down.
- Oct 30
Fixed or contained: Cursor updates its notice with new indicators and clarified versions. StepSecurity and Phorion publish analyses.
- Nov 13
Partly: Cursor publishes how the attacker got in and says it believes the incident is contained.
What happened
The extension. Cursor says the modified extension collects host and user details: hostname, username, operating system, architecture, home directory, environment variable names, working directories, the Git email address and the public IP address. It says the code then tries to add an attacker’s SSH key to authorized_keys, turn on the local SSH service, open a reverse SSH tunnel and make that tunnel persistent. Cursor says the SSH step would fail on most machines because of errors in the code and because turning on SSH needs administrator rights. It says the key, the persistence and the host details were still sent or installed, so everyone who installed it should follow the cleanup steps. Cursor’s security notice
What researchers add. Two security firms published their own analyses on October 30. StepSecurity and Phorion both say the extra code is a loader placed at the start of the extension’s extension.js file, and that the rest of the extension is the real one. They say it runs as soon as the file loads, with no action by the user. StepSecurity says the loader records the names, not the values, of up to 40 environment variables whose names look like keys, tokens or secrets. Phorion describes a mistake in the macOS code that stops it from turning on remote login for a standard user, and says the key and persistence still get installed. StepSecurity · Phorion
Versions. Cursor’s notice says that on October 30 it updated the indicators and clarified the affected versions. The notice’s title lists both 2.1.312 and 2.1.313. Phorion’s revision history says it added 2.1.312 per Cursor’s updated notice, so its first version named only 2.1.313.
How it got there. In its November 13 update, Cursor says the attacker used a stolen credential to put the tampered copies directly on the cache that serves its marketplace. It says Open VSX, the marketplace’s source, never had the malicious code, and that this was not a vulnerability in Anthropic’s product. It says the attack began when an attacker obtained an access key Cursor had issued to a vendor, Fireworks, and used it to copy data from a storage bucket. Cursor’s update, Nov 13
What else Cursor says was reached. Cursor says that data included limited coding agent traces from sessions not in Privacy Mode, and that fewer than 0.01% of customers had API credentials exposed in them. It says the attacker then reached select tools Cursor uses and, through them, archived non-production source code repositories, limited customer support data, usage metrics and contact details. Cursor says it contacted each affected customer directly. If you did not receive a notice, Cursor says your data was not in the traces.
Who is affected
- People who installed or updated
Anthropic.claude-code2.1.312 or 2.1.313 from Cursor’s marketplace on macOS or Windows between about 2:27 am and 1:35 pm PT on October 29, 2026. - Cursor says at most 5,000 users who requested the cached versions that day may have received the malicious build.
- Cursor says other extensions on its marketplace, its own app and its official updates were not affected, and that it found no other tampered extension.
- StepSecurity says having the version installed does not by itself mean a machine was hit. It says to check where and when you got it.
How to check if you were hit
Cursor’s notice gives one check that does not need a download. On a Mac, 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 for .ssh\authorized_keys and for C:\ProgramData\ssh\administrators_authorized_keys. Use the one on the notice. If it finds the key, Cursor says the machine is impacted.
Cursor also lists signs the code leaves behind:
| Where | What to look for |
|---|---|
| SSH keys | A key with the comment svc-telemetry in authorized_keys |
| macOS files | ~/.config/.smt, ~/.config/.smtk, and a LaunchAgent named com.apple.sysmond in ~/Library/LaunchAgents |
| Windows | A scheduled task named SysMon, %USERPROFILE%\.config\smt.cmd and sysmon.cmd in the Startup folder |
| Processes | A background ssh or autossh process with a reverse tunnel option |
| Network | Connections to 134[.]209[.]82[.]225, the attacker’s address. Cursor says it worked with the hosting provider to take that server offline |
Search your endpoint, network and extension logs for these from October 29 on. The full list, with file hashes, is in Cursor’s notice.
What to do now
Cursor’s steps, shortened:
- Check whether you are impacted, with the command above or Cursor’s script.
- Isolate any machine that shows the payload ran or the backdoor was installed.
- Remove the unauthorized SSH key, the persistence files and any running tunnel process, and decide whether to rebuild the machine. Cursor says uninstalling the extension may not be enough, because the code leaves its own scripts running.
- Rotate the credentials and sessions that machine could reach, from a different, trusted machine. Cursor says that the code collecting only variable names does not rule out later access over the backdoor.
Cursor provides cleanup scripts for macOS and Windows on its notice. Read a script before you run it, and download it only from that page.
If you use Cursor, also check your email for a notice from Cursor. Cursor says it emailed team admins a list of any keys to rotate.
What we don’t know yet
- How many people installed the malicious version. Cursor’s figure is a ceiling of 5,000 who may have received it, not a count of installs.
- Whether any machine was accessed over the backdoor. The sources describe what the code tries to do, not who used it.
- Who the attacker is. Neither Cursor nor the researchers say.
- Fireworks’ own account of how the key was obtained. We have not seen one.
- Whether Cursor’s investigation will change its account. It says it will update the post if anything important changes.
How to stop it next time
- Editor and device management
✓Review extensions like dependencies
Know which agent extensions each machine has, from which marketplace, and which version.
How → - Every developer machine
✓Watch authorized_keys
A new key you did not add is a sign of trouble. Check the file after any incident.
- GitHub, cloud, npm, SSH
✓Rotate from a clean machine
After a bad install, change the credentials the machine could reach, from a different, trusted one.
Check what you install, and where it came from. StepSecurity says the copies were served under the real extension identifier, so the name looked right. Cursor says the tampered copies were placed on the cache that serves its marketplace, and that this was not a vulnerability in Anthropic’s product. Keep a list of the agent extensions on each machine, with their versions and where they came from. AI agent policy template · MCP server security
Update log
- Dec 2, 2026: First published. Status: Contained. Cursor removed the extension and posted its notice (dated Oct 29) and its account (Nov 13).
Sources
- Cursor: security notice, malicious Anthropic.claude-code 2.1.312 and 2.1.313 (Oct 29, updated Oct 30)
- Cursor: an update on our recent security incident (Nov 13)
- StepSecurity: trojanized Claude Code extension (Oct 30, updated Nov 1)
- Phorion: official Claude Code extension compromise (Oct 30, updated Oct 31)


