Cursor warns of backdoored Claude Code extension, urges resets
Bitcoin $52,825▼ −11.85% 24has of Dec 3, 2026, 6:50 AM ET
Cursor says two tampered Claude Code extension versions installed an SSH backdoor on macOS and Windows machines and urges users to rotate credentials.
Key points
- Cursor says Anthropic.claude-code 2.1.312 and 2.1.313 were malicious on its marketplace on Oct. 29
- Code tried to add an SSH key, enable SSH and open a reverse tunnel on macOS and Windows
- Uninstalling may leave persistence scripts; Cursor urges credential rotation from a trusted system
- No crypto theft or crypto-specific targeting has been reported
Cursor, the AI code editor maker, has told users who installed a tampered Claude Code extension from its marketplace to clean their machines and rotate credentials from a trusted system. In a security notice published Oct. 29 and updated Oct. 30, the company said two malicious versions of the extension, 2.1.312 and 2.1.313, were available for macOS and Windows for roughly 11 hours that day, according to CryptoSlate.
What the malicious versions did
Cursor said the affected builds of the Anthropic.claude-code extension were live from about 2:27 a.m. to 1:35 p.m. Pacific time on Oct. 29. The company said Anthropic did not develop the modified versions and that it has no evidence other versions of the extension, or the official distribution, were affected. It also reported no impact on other marketplace extensions or its other products.
According to Cursor, the code tried to install a persistent SSH backdoor. It sent host and user details, including hostname, username, operating system, home directory, environment variable names, Git email and public IP address. It also tried to add an attacker-controlled SSH key labeled svc-telemetry, enable the SSH service and open a reverse SSH tunnel. Persistence relied on a macOS LaunchAgent or, on Windows, a scheduled task with a Startup-folder fallback.
Security firm Phorion, which published a malware analysis, said the code runs when Node loads the extension, before any user interaction. It said the beacon listed up to 40 environment variable names matching patterns such as key, token, secret, AWS or GCP, but not their values. Phorion added 2.1.312 to its scope on Oct. 31 after Cursor’s updated notice; it had first identified only 2.1.313.
Phorion also described a macOS logic flaw: when run by a standard user, the script fails to detect that Remote Login is off and skips enabling it. The planted key and persistence are still installed, however, so access could be possible if SSH was already on.
Cleanup steps Cursor recommends
Cursor said uninstalling the extension may not be enough, because standalone persistence scripts can keep running and retry the tunnel about every 60 seconds. Its recommended steps are:
- Check whether the affected versions were installed on macOS or Windows during the window.
- Search endpoint, network and extension-installation records for the published indicators, including the svc-telemetry key in the SSH authorized_keys file.
- Isolate hosts showing payload execution or backdoor installation, remove the unauthorized key, persistence and tunnel processes, and consider rebuilding the machine.
- Rotate credentials and sessions reachable from affected hosts, working from a trusted system.
Cursor published remediation scripts for macOS and Windows. It said the limited collection of environment variable names does not rule out later credential access.
Why it matters for crypto developers
Neither Cursor nor Phorion reported any cryptocurrency theft or crypto-specific targeting. The concern for developers and holders is indirect: a machine with a planted SSH key and a persistent tunnel could expose whatever its user account can reach, such as exchange API keys, wallet tooling, cloud credentials or code repositories. Whether any such access occurred has not been reported.
Cursor said it worked with the hosting provider to take the attacker’s server offline, so the reverse shell and data beacon no longer function. It also removed the packages, temporarily shut down the marketplace, rotated its keys, audited access, confirmed no other extensions were tampered with and rebuilt the marketplace before reopening it. Those steps do not remove components already on affected computers. Cursor lists security@cursor.com for questions.