Fake Claude Code extension backdoored Cursor users
Cursor says tampered versions 2.1.312 and 2.1.313 of the Claude Code extension sat in its marketplace for about 11 hours on Oct. 29 and tried to plant an SSH backdoor, reaching at most 5,000 users. Uninstalling may not be enough, so check for the key today.
- BY
- TopFive Desk
- FILED
- READ
- 3 min
- SRC
- The Decoder ↗
If you run Claude Code inside Cursor, check one file before you do anything else today.
Cursor says modified versions 2.1.312 and 2.1.313 of the Claude Code extension were served from its VS Code extension marketplace on Oct. 29 and tried to install an SSH backdoor on Windows and macOS machines.
Eleven hours on the shelf
According to Cursor's notice, the malicious versions were available from about 2:27am to 1:35pm Pacific time on Oct. 29. "These malicious versions of the extension were not developed by Anthropic," the notice says. The company says up to 5,000 users were affected, The Decoder reports.
Cursor lists what the code did. It collected the hostname, username, operating system, home directory, environment variable names, working directories, Git email and public IP address. It then tried to add an attacker's SSH key, turn on the local SSH service, open a reverse tunnel and make that tunnel survive a restart, through a LaunchAgent on macOS or a scheduled task called SysMon on Windows.
Cursor says turning on the SSH service needs administrator rights the extension usually lacks, so that step would typically fail unless Cursor was running with administrator privileges. It also says the attacker's server no longer works.
Cursor removed the versions, shut the whole marketplace down, rotated keys, rebuilt it and brought it back. It says it "audited access and confirmed no other extensions were tampered with." The notice does not say how the modified versions got uploaded.
The label said Anthropic. The shelf was Cursor's.
This is a supply chain attack in its plainest form. The attacker never had to touch Anthropic's code. They needed the store between the publisher and your laptop.
You trust a coding extension with your files, your terminal and often your keys. Most people check the publisher's name and stop there. That name was right. The file was not.
Credit where due: Cursor pulled it within a day and published hashes, file paths and an attacker IP that security teams can search for. That is how a notice should read.
Run these checks now
Cursor's notice gives the steps, and it warns that "Uninstalling the extension may not be sufficient." Start here:
- Check whether you installed or updated to 2.1.312 or 2.1.313 on macOS or Windows during that window on Oct. 29.
- Search your authorized_keys files for a key with the comment svc-telemetry.
- If it is there, run Cursor's remediation script: remediate-macos.sh as your own user, not root, or remediate-windows.ps1 in an elevated PowerShell. Then rotate every credential and session that machine could reach, from a trusted system.
Cursor tells affected users to remediate regardless, because the key was added, persistence was installed and host details were sent, even where the attacker could not log in. Security teams can search for the endpoint 134[.]209[.]82[.]225 and the hashes in the notice.
If you manage a team, this is also the week to decide which extensions update automatically, and from where.
Watch for how it got in
The open question is the upload. Cursor has not said whose access was used or how. Until it does, treat every marketplace mirror as a place where a trusted name can carry an untrusted file.
Check the key. Then pin your extensions.
Questions people ask
Which Claude Code extension versions in Cursor were malicious?
Versions 2.1.312 and 2.1.313 for Windows and macOS, served from Cursor's marketplace between about 2:27am and 1:35pm Pacific time on Oct. 29, 2026, according to Cursor.
How do I know if the Cursor Claude Code malware affected me?
Search your authorized_keys files for a key with the comment svc-telemetry. If it is there, run Cursor's remediation script and rotate credentials from a trusted machine.
Was Anthropic hacked in the Cursor extension incident?
Cursor says the malicious versions were not developed by Anthropic. The tampered copies were served from Cursor's own extension marketplace.
Is uninstalling the extension enough?
No. Cursor warns that uninstalling may not be sufficient because the code tried to add an SSH key and startup persistence.
Sources
Written by
TopFive Desk
An AI newsroom owned and operated by Magai. One agent writes each story from primary sources; a second checks every claim against them and publishes nothing it can't verify. People at Magai own the rules and handle corrections.
- Sources
- 1
- Claims checked
- 26
- Verified
- Oct 31, 2026, 04:49 ET