Privacy

Cursor Claude Code Extension Backdoor, Explained: Check Your Machine Now

A monitor displaying lines of programming code
On October 29, 2026, a tampered copy of the Claude Code extension sat in Cursor's marketplace for about 11 hours. If you use Cursor, check your machine today. (Stock photo.)

Cursor Claude Code extension backdoor, explained in one sentence: on Thursday, October 29, 2026, tampered copies of Anthropic's Claude Code extension โ€” versions 2.1.312 and 2.1.313 โ€” were available in Cursor's VS Code Extension Marketplace for macOS and Windows for about eleven hours, from roughly 2:27am to 1:35pm Pacific time, and Cursor says at most 5,000 users received a build that plants a persistent SSH backdoor on their machine. The part that makes this story urgent rather than merely alarming is that uninstalling the extension does not remove the backdoor. The malicious loader drops standalone persistence that keeps running after the extension is gone, so a developer who updated on October 29, noticed nothing, and later removed the extension could still be compromised today. If you use Cursor, this article tells you exactly how to check โ€” and what to do if the check comes back positive.

First, two corrections to the early headlines, because getting them wrong changes who needs to act. Anthropic was not hacked. According to Anthropic's Felix Rieseberg, this was not a compromise of Anthropic's systems or employee laptops: a malicious actor used access to Cursor's marketplace to publish a tampered copy of the extension, which Anthropic did not build or publish, and Anthropic's own systems, employee laptops and official distribution channels were not compromised. Second, the tampered builds came from Cursor's own marketplace, not from Open VSX, the open extension registry. Early reports said the build came from Open VSX and affected only Apple-silicon Macs; both claims were corrected on October 30. Cursor has since confirmed the compromise was in its own marketplace and affected macOS and Windows. The tampered build was never published to Open VSX, the Microsoft Visual Studio Marketplace, or any of Anthropic's official hosts, and Anthropic skipped to version 2.1.314 to avoid confusion.

Here is what the tampered builds did, who is in scope, the exact check to run, and the cleanup steps โ€” drawn from Cursor's security notice of October 29, 2026 (updated October 30), StepSecurity's October 30 analysis, and Microsoft Threat Intelligence's October 30 analysis.

Cursor extension backdoor at a glance

October 29, 2026Tampered Claude Code 2.1.312 and 2.1.313 available in Cursor's marketplace, about 2:27amโ€“1:35pm Pacific (09:27โ€“20:35 UTC)
At most 5,000Cursor users who received the tampered builds, per Cursor's initial figure
svc-telemetryThe label on the attacker SSH key added to victims' authorized_keys files โ€” the key thing to search for
2.1.314The clean fixed version published at 01:07 UTC on October 30, 2026; update to this or later

Cursor Claude Code Extension Backdoor Explained: What the Tampered Builds Did

The Claude Code VS Code extension is Anthropic's official IDE integration โ€” the tool that lets developers use Claude inside their code editor. The tampered copies were identical to the official extension except for a small loader embedded in its extension.js file, about 7 KB larger than the previous release, according to StepSecurity's analysis. The payload runs as soon as Cursor loads the extension, without any Claude prompt or user action beyond opening the editor.

Once running, the loader does four things. It sends host details to an attacker-controlled server at 134.209.82.225 over plain HTTP: the host name, user name, operating system, architecture, home folder, Git email, public IP address and the names of environment variables. It adds an attacker SSH key, labelled "svc-telemetry," to the user's authorized_keys file โ€” the file that controls who can log into the machine over SSH. It tries to turn on the SSH server (Remote Login on macOS, the OpenSSH Server feature on Windows) and open a reverse SSH tunnel to the same attacker server, giving the attacker a way back in. And it installs persistence: on macOS a LaunchAgent called com.apple.sysmond, on Windows a SysMon scheduled task or a sysmon.cmd file in the Startup folder, plus cron lines that run at reboot and files such as ~/.config/.smt, .smtk and smt.cmd, and .stk_ key files in the temp folder. That persistence is why uninstalling the extension is not enough โ€” the backdoor lives outside the extension.

Cursor's response, per its security notice, was to remove the malicious builds on detection, then take its whole marketplace offline, audit access, find no other tampered extensions, rotate its keys, and rebuild the marketplace before bringing it back. The command-and-control server at 134.209.82.225 was taken offline with the cooperation of its hosting provider, per Cursor. Microsoft published Defender for Endpoint alerts covering SSH key additions, SSH tunnelling, plist changes and scheduled tasks, plus four Defender Antivirus detection names. Microsoft cautions, fairly, that a query match is an investigative lead, not proof of compromise โ€” the check below is the thing that settles it.

Programming code on a laptop screen
The tampered builds looked identical to the official extension except for a small loader hidden in one file. Nothing in the editor would have warned you. (Stock photo.)

Cursor Claude Code Extension Backdoor Explained: Are You in Scope?

A machine is in scope if all of the following apply: it runs Cursor on macOS or Windows; the Claude Code extension (Anthropic.claude-code) was installed or updated to version 2.1.312 or 2.1.313 from the Cursor marketplace; and the install or update happened between about 09:27 and 20:35 UTC on October 29, 2026. Having version 2.1.312 or 2.1.313 installed does not, by itself, confirm compromise โ€” StepSecurity notes this explicitly โ€” because the clean 2.1.312 release exists on other registries. What matters is where you got it and when.

Who is not affected is equally important, because panic helps nobody. Other editors are out of scope: Microsoft's Visual Studio Code installs from the Visual Studio Marketplace, and Windsurf, VSCodium and other forks install from Open VSX, and neither registry carried a tampered build. If you use VS Code rather than Cursor, or if you installed Claude Code from Anthropic's official channels, this incident does not touch you. If you use Cursor but did not install or update the extension on October 29, you are also out of scope โ€” but the check below takes a minute, and running it is cheap insurance if you are unsure about the date.

The one check that matters most is the SSH key. Cursor's notice gives the equivalent check for both platforms: on macOS, search your authorized_keys file for a "svc-telemetry" entry; on Windows, the PowerShell check looks in the administrators' authorized_keys file under ProgramData as well as the user's. If the search prints nothing, that key is not there. If it prints a line, the machine was hit โ€” treat it as compromised and follow the cleanup steps below, even if everything else looks normal. Also look for the persistence artefacts: the com.apple.sysmond LaunchAgent on macOS, the SysMon task or sysmon.cmd in the Windows Startup folder, any cron line that runs at reboot, and the .smt / .smtk / smt.cmd files.

Cursor Claude Code Backdoor Explained: What To Do If You Are Affected

Cursor publishes remediation scripts โ€” remediate-macos.sh and remediate-windows.ps1 โ€” that remove the persistence artefacts and exit non-zero if anything remains. Run the script for your platform from Cursor's official security notice, and do not stop at a clean script result: the scripts remove the backdoor, but they cannot un-expose anything the backdoor already reached.

That is the second, more painful step: rotate exposed credentials and sessions from a trusted machine โ€” not from the affected one. Include source-control and CI/CD tokens, cloud credentials, SSH keys, and package registry tokens accessible from the affected host. If the machine had access to production systems, company code or customer data, tell your security team or employer before you do anything else; this is a workplace incident, not a personal cleanup, once work credentials are involved. Then update the extension to 2.1.314 or later from a clean source, and keep an eye on Cursor's notice for updates โ€” the notice was already revised once, on October 30, and the story is still moving.

A close-up of a hand holding a secure padlock
Cleaning up means more than deleting the extension: remove the persistence, then rotate every credential the machine could reach โ€” from a different, trusted machine. (Stock photo.)

Finally, a lesson worth carrying beyond this incident: extensions run with the full privileges of your editor, which usually means the full privileges of your user account. An extension update is, in security terms, the same as installing new software โ€” and marketplaces, even reputable ones, can serve a tampered build for hours before anyone notices. The defences that help are unglamorous: pin extension versions where your editor allows it, delay auto-updates for tools that touch production credentials, keep work credentials on machines that do not auto-update developer tools, and treat any "extension updated" event on a sensitive machine as something worth a second look. None of that would have stopped this incident entirely โ€” the tampered build came from a trusted marketplace under a legitimate identifier โ€” but it narrows the blast radius for the next one.

Cursor Extension Backdoor: Frequently Asked Questions

Was Anthropic hacked? No. Anthropic says a malicious actor used access to Cursor's marketplace to publish a tampered copy; Anthropic's systems, employee laptops and official channels were not compromised.

I use VS Code, not Cursor. Am I affected? No. The tampered builds were only in Cursor's marketplace. VS Code installs from the Visual Studio Marketplace, which never carried them.

Does uninstalling the extension remove the backdoor? No. The loader installs standalone persistence (a LaunchAgent on macOS, a scheduled task on Windows, cron lines) that survives uninstalling. Use Cursor's remediation scripts.

What is the one check to run? Search your authorized_keys file for a "svc-telemetry" entry. If it prints nothing, that key is not there. If it prints a line, treat the machine as compromised.

Which version is safe? Version 2.1.314, published at 01:07 UTC on October 30, 2026, is the clean fixed version. Update to 2.1.314 or later from a clean source.

The Bottom Line

Cursor Claude Code extension backdoor, explained plainly: on October 29, 2026, tampered copies of Claude Code versions 2.1.312 and 2.1.313 sat in Cursor's marketplace for about eleven hours and reached at most 5,000 users, planting an SSH backdoor that survives uninstalling the extension. Anthropic was not hacked, and VS Code and Open VSX users are not affected. If you use Cursor and updated the extension that day, run the authorized_keys check for "svc-telemetry" now; if it hits, run Cursor's remediation script and rotate every credential that machine could reach, from a trusted machine. A minute of checking beats a month of wondering.

The Tech Wire is a new independent publication. We explain tech news; we don't race to break it. Facts in this article are drawn from Cursor's security notice of October 29, 2026 (updated October 30), StepSecurity's October 30 analysis, and Microsoft Threat Intelligence's October 30 analysis. Where early reports and later corrections disagreed โ€” the marketplace of origin and the affected platforms โ€” this article follows the corrected record. If you believe you are affected, follow Cursor's official notice rather than this summary.

โšก

Who writes this site?

Tech Wire Team โ€” we are a small independent team writing plain-English tech explainers and buying guides. We do not run a lab and we do not test every product hands-on; where we quote battery life, ANC depth or benchmark results, we say whose test it is. More about us โ†’