BusinessMCP

Cursor Removed a Tampered Claude Code Extension After an SSH Backdoor Attempt

A modified Claude Code extension was distributed through Cursor’s VS Code marketplace for about 11 hours. It collected machine data, attempted to install an SSH backdoor and remained active beyond the extension itself.

BusinessMCP Newsroom3 min read
An office laptop with its lid heavily covered in colorful stickers.
Image: Grenz / Wikimedia Commons (CC BY 4.0)

Cursor disclosed on October 29, 2026, that a tampered version 2.1.313 of the Anthropic.claude-code extension was available in its VS Code extension marketplace for about 11 hours, affecting up to 5,000 users. The package collected machine and user information and attempted to establish a persistent SSH backdoor, although Cursor said the remote-login step generally failed on most machines because it required administrator rights.

How long was the tampered extension available?

According to Unite.AI, the modified package was listed from about 2:27 a.m. to 1:35 p.m. PT on October 29, 2026. The Decoder described the listing as available on Thursday for about 11 hours.

Cursor said up to 5,000 users could have installed or updated to the affected version. The company also said Anthropic was not involved in developing the modified package.

Key figureReported value
Exposure durationAbout 11 hours
Marketplace availabilityAbout 2:27 a.m.–1:35 p.m. PT on October 29, 2026
Tampered packageAnthropic.claude-code version 2.1.313
Potentially affected usersUp to 5,000
Version requested by Cursor2.1.314
External beacon port8099

What did the extension try to collect and install?

The extension gathered the hostname, username, operating system, architecture, home-directory path, environment-variable names, working directories, configured Git email address and public IP address. The security analysis of version 2.1.313 reported that its payload ran when the editor activated the extension.

It then attempted to append an attacker-controlled public key labelled `svc-telemetry` to the SSH `authorized_keys` file, enable the local SSH service and open a reverse SSH tunnel. Cursor said these actions were separate from the data-collection activity: the malicious key, persistence mechanisms and outbound host information could still be installed even when the final remote-login stage did not work.

Did the remote backdoor work?

Cursor said the tunnel normally would not give an attacker access because enabling the SSH service requires administrative rights that the extension did not possess on most macOS and Windows systems. The exception was a machine where Cursor had been started with administrator privileges, although the malicious code also contained errors that could prevent the step from succeeding.

The persistence mechanisms were designed for both operating systems: a LaunchAgent on macOS and a scheduled task called SysMon on Windows, with a Startup-folder script as a Windows fallback. Background scripts retried the tunnel roughly every 60 seconds, while status and host details were sent through HTTP POST requests to a `/beacon` endpoint on port 8099.

Despite the failed remote-login step on most affected machines, Cursor said the rogue key and persistence scripts were installed and host details were sent. Cursor reported no evidence that other extension versions or Anthropic’s official distribution had been compromised.

What is Cursor asking affected users to do?

Cursor removed version 2.1.313, blocked further distribution and temporarily shut down the entire VS Code marketplace. It audited access, confirmed that no other extensions were tampered with, rotated its keys and rebuilt the marketplace before bringing it back online. The company also worked with the hosting provider to take the attacker’s server offline.

Anyone who installed or updated to version 2.1.313 during the exposure window is being directed to update to version 2.1.314 and check for the `svc-telemetry` key. Cursor also published platform-specific remediation scripts for macOS and Windows, while the Unite.AI report says affected hosts should be checked for payload execution or backdoor installation.

Uninstalling the extension may not be sufficient because the payload dropped standalone persistence scripts. Cursor advises affected users to remove the unauthorized key and persistence mechanisms, assess whether the host should be rebuilt, and rotate credentials and sessions reachable from affected machines using a trusted system.

The disclosure concerns an editor extension rather than an MCP server. For operators using MCP-connected coding tools, our step-by-step MCP server guide and Claude Code MCP setup guide provide relevant context alongside Cursor’s version-specific remediation.

In proportion, the disclosed incident involved up to 5,000 users, despite Cursor’s assessment that remote login would usually fail without administrative privileges.

Sources

All news