Security Guides

Tampered 'Claude Code' extension on the Cursor marketplace (Oct 29, about 11 hours): how to check for an SSH backdoor

A tampered extension published under Anthropic's name (Anthropic.claude-code), which Cursor says was not developed by Anthropic, was distributed on the Cursor extension marketplace on October 29, 2026. Per Cursor, it tried to add an SSH key and persistence. What Cursor says, and the defensive checks for Cursor users.

Published 2026-10-31 Updated 2026-10-31 Last verified 2026-10-31 9 min read
On this page

For: people who use the Cursor editor and installed or updated the Claude Code extension on October 29, 2026, and teams that manage developer machines. This article follows Cursor's own security notice and covers defensive checks only.

Developing: this article will be updated as the organisation publishes more

As of October 31, 2026

Not yet known

  • How the tampered versions were published under Anthropic's name
  • Whether any systems of the marketplace operator or the publisher whose name was used were compromised
  • How many users installed the tampered versions
  • Whether any machine was accessed through the backdoor

Cursor updated its notice on October 30 at 11:30 am PT to revise indicators and clarify affected versions. It says anyone who may have installed the extension should follow its remediation steps even if an impact check comes back clean.

What Cursor users should do today

1

Find out whether you installed or updated the extension on October 29

The window Cursor gives is about 2:27 am to 1:35 pm Pacific Time on October 29, 2026, which is October 29, 6:27 pm to October 30, 5:35 am in Japan time (JST). Open the extension list in Cursor and check the installed version of the Claude Code extension. Cursor lists 2.1.312 and 2.1.313 for Windows and macOS as the tampered versions. If you did not install or update it in that window, Cursor's notice does not say you are affected.

2

Check authorized_keys for an entry labeled svc-telemetry

Cursor says the code tries to add an attacker-controlled SSH public key labeled svc-telemetry. Open your authorized_keys file (on macOS, usually in the .ssh folder of your home directory) and look for that label. Cursor's notice has separate commands for macOS and Windows; use them from the official page. Do not run commands copied from anywhere else.

3

Check for persistence: LaunchAgents, scheduled tasks, Startup items

Per Cursor, persistence is a LaunchAgent on macOS or a scheduled task with a Startup fallback on Windows, retried about every 60 seconds. Look at the LaunchAgents folders, the Task Scheduler and the Startup folder for entries you did not create. Cursor's notice lists the names and file paths to compare against.

4

If anything matches: isolate, remove, rotate

Cursor advises isolating hosts with evidence of payload execution or backdoor installation, removing the unauthorized key, the persistence entries and tunnel processes, and rebuilding the host where appropriate. Then, from a trusted machine, rotate credentials and revoke sessions that were reachable from the affected one: SSH keys, cloud and API tokens, Git and package-registry tokens, and browser or SaaS sessions. Cursor warns the limited environment-variable collection does not rule out later credential access.

For rotation order and least-privilege keys, see SSH keys with least privilege.

5

Run Cursor's remediation steps even if the check looks clean

Cursor provides a script for each platform and says to follow the remediation steps regardless of the impact check. Contact: the security address in Cursor's notice.

6

For teams: look at what extensions your developers can install

Decide which IDE extensions are allowed, pin or review updates for the ones that matter, and keep long-lived secrets off developer laptops where you can. For the same class of problem in packages, see npm supply-chain defense and the TanStack, Nx Console and GitHub chain.

What happened (from Cursor's notice)

All statements below come from Cursor's security notice and are attributed to Cursor, except where marked as press.

  1. October 29, 2026, about 2:27 am PT

    The first tampered version appears on the Cursor extension marketplace, according to Cursor.
  2. October 29, about 1:35 pm PT

    The window ends (about 11 hours). Cursor removes the tampered versions and blocks further distribution.
  3. October 29

    Cursor temporarily shuts down the marketplace, audits access and other extensions, rotates keys, rebuilds the marketplace and brings it back online. It works with the hosting provider to take the attacker's server offline.
  4. October 30, 11:30 am PT

    Cursor updates its notice with revised indicators and clarified affected versions.
About 11 hours
Availability window (Cursor)
2.1.312 / 2.1.313
Tampered versions, Windows and macOS (Cursor)
Up to about 5,000
Developers possibly exposed (BleepingComputer)
No longer functions
Attacker server (Cursor)

What is known and what is not

State as of October 31, 2026. This table will be rewritten as more is published.

ItemWhat is statedStatus
Tampered versions on Cursor's marketplace2.1.312 and 2.1.313, Windows and macOS, about 2:27 am to 1:35 pm PT on October 29Confirmed (Cursor)
Who developed themCursor says Anthropic did not develop themConfirmed (Cursor)
BehaviorRuns on load; collects host and user information; added the attacker's SSH key; tried to enable SSH and open a reverse tunnel; installed persistence via LaunchAgent or scheduled task; sent host details to the attackerConfirmed (Cursor)
SSH enablingNeeds admin rights the extension usually lacks, so it fails on most hosts and the attacker could not have logged in through the tunnel there. The extension did add the attacker's key, install persistence and send host detailsStated (Cursor)
Other extensions and the official distributionNo evidence they are affectedNot affected per evidence so far (Cursor)
Other marketplaces (npm, Open VSX, VS Code Marketplace)Early reports were corrected; Cursor's marketplace was the only sourceReported by press (BleepingComputer)
Number of usersUp to about 5,000 may have been exposed (press); no count in the Cursor notice we readNot confirmed
How it was published under Anthropic's nameNot explainedNot explained
Access to any machine via the backdoorNot statedNot stated

How to read this: the name that was used is not necessarily the party that was breached

Cursor states the tampered versions were not developed by Anthropic. Whether any system of the marketplace operator or the publisher whose name was used was compromised has not been explained in the sources we read, and this article does not claim either. "Exposed" means the version was available, not that a machine was accessed.

Adds an SSH public key (svc-telemetry)

↓

Check authorized_keys

→ If found: remove, isolate the machine

Persistence (LaunchAgent / scheduled task / Startup)

↓

Look for entries you did not create

→ Remove; consider rebuilding (Cursor)

What the tampered versions did (per Cursor) and where to check

Why a fake extension on a marketplace is dangerous

An editor extension runs with your user's permissions, usually with access to your files, Git credentials, SSH keys and the environment variables of your terminal. A tampered copy of a trusted name therefore starts with more access than most malware has. Adding a key to authorized_keys is meant to give the sender a way back in later, which is why removing the extension is not the same as cleaning the machine.

Generally, before installing or updating an extension: check the publisher and the exact name, be careful with sudden new versions of widely used extensions, and keep production credentials out of the environment in which you test new tools.

Sources

  • Cursor, security notice on the Claude Code extension (published October 29, updated October 30, 2026) — cursor.com
  • BleepingComputer, "Malicious Claude Code extension on Cursor planted SSH backdoors" (October 30, 2026) — bleepingcomputer.com

Update history

2026-10-31: First version, based on Cursor's notice (updated October 30, 11:30 am PT). This article will be updated when the publishing route or the user count is explained.

Latest breaking reports

All breaking reports →

FAQ

QWhat happened on the Cursor marketplace?
A

Per Cursor's security notice (October 29, updated October 30, 2026), tampered versions 2.1.312 and 2.1.313 of an extension published under the name of Anthropic's Claude Code extension were distributed on the Cursor extension marketplace for Windows and macOS between about 2:27 am and 1:35 pm Pacific Time on October 29. Cursor says the versions were not developed by Anthropic.

QIs the official Claude Code extension affected, or other marketplaces?
A

Cursor says it has no evidence that other versions of the extension or the official distribution are affected, and that other extensions on its marketplace were not tampered with. BleepingComputer reports that early claims about npm, Open VSX and the Visual Studio Code Marketplace were later disproven and that Cursor's marketplace was the only distribution source.

QWhat did the tampered extension do?
A

Per Cursor, it ran on load, collected host and user information, added an attacker-controlled SSH key, tried to enable SSH and open a reverse tunnel, and kept the tunnel alive using a LaunchAgent on macOS or a scheduled task with a Startup fallback on Windows. Cursor adds that enabling the SSH service needs admin rights the extension usually lacks, so that step would typically fail, but that the extension did add the attacker's SSH key, install persistence and send host details to the attacker, and that the attacker could not have logged in through the tunnel on most hosts.

QHow do I check whether I was affected?
A

If you installed or updated the Claude Code extension in Cursor on October 29, 2026, check the installed version, look for an SSH key labeled svc-telemetry in your authorized_keys file, and look for unfamiliar LaunchAgents (macOS), scheduled tasks or Startup items (Windows). Cursor's notice lists the exact commands and indicators per operating system and offers a remediation script.

QIs uninstalling the extension enough?
A

Cursor says uninstalling alone may not be enough, because the key and persistence entries can remain, and that rebuilding the host may be appropriate. It also says the limited environment-variable collection does not rule out later credential access over the backdoor, so secrets reachable from that machine should be rotated from a trusted system.

QHow many users were affected?
A

Not confirmed. BleepingComputer reports that up to about 5,000 developers may have been exposed; in the version of Cursor's notice we read, no user count is given. Exposure means the version was available to install, not that every user was compromised.