Supply-chain attack backdoors Anthropic’s Cursor VS Code extension for nearly 12 hours
Malicious version 2.1.313 of the Anthropic extension on Cursor installed a reverse SSH tunnel and beaconed host reconnaissance data to an attacker-controlled server.
1 source · cross-referenced
- A malicious version of Anthropic’s VS Code extension for Cursor (2.1.313) was available for nearly 12 hours and may have affected up to 5,000 developers.
- The backdoored extension attempted to install a persistent SSH backdoor, collect host and user information, and beacon reconnaissance data to an attacker-controlled server.
- Cursor and Anthropic have not explained how attackers gained control of Anthropic’s verified Cursor account.
- Anthropic has not issued a public customer notice about the incident.
A malicious version of Anthropic’s VS Code extension for Cursor, identified as 2.1.313, was available for nearly 12 hours and may have affected up to 5,000 developers, according to multiple sources. The compromised extension was distributed through Anthropic’s official account on Cursor, and Anthropic subsequently released version 2.1.314 to remediate the issue.
The backdoored extension attempted to install a persistent SSH backdoor on Windows, macOS, and Linux systems by adding an attacker-controlled SSH key to authorized_keys, enabling the local SSH service, and opening a reverse SSH tunnel. Cursor reported that the capabilities of the backdoor included collecting host and user information such as hostname, username, OS, architecture, home directory path, environment variable names, working directories, configured Git email, and public IP.
The malicious code also attempted to make the reverse SSH tunnel persistent via a LaunchAgent on macOS or a scheduled task on Windows, with a fallback to a startup script. Background scripts were designed to retry the tunnel roughly every 60 seconds. The backdoor beaconed host details and status to an attacker-controlled server via HTTP POST to a specific endpoint on port 8909.
Security firm Phorion noted that the theft of environment variable names allowed operators to quickly inventory cloud credentials and API tokens stored on compromised devices, likely to prioritize targets for follow-up attacks. Despite coding flaws that prevented the backdoor from working in some cases, Phorion characterized the malware as a significant threat due to its persistence and reconnaissance capabilities.
Cursor stated it worked with the cloud provider hosting the server to block infected devices from reaching it, removed the backdoored version from the marketplace, and shut down the VS Code Marketplace to rotate keys, audit access controls, and confirm no other extensions were compromised. The marketplace has since reopened.
Neither Anthropic nor Cursor has publicly explained how attackers gained control of Anthropic’s verified Cursor account, and Anthropic has not issued a public notice to customers about the incident. Cursor and Phorion have published indicators of compromise, including IP addresses and cryptographic hashes.
- Nov 11, 2026 · Schneier on Security
Three arrested in multi-country scheme using AI to impersonate executives and lawyers in $129M fraud
Trust79 - Nov 10, 2026 · Ars Technica — Technology Lab
Grok Build link-sharing design exposes 35,000 apps and sensitive user data
Trust79 - Nov 10, 2026 · Schneier on Security
OpenSSH vulnerability allows login to password-disabled Alpine Linux accounts via oversized password
Trust79