Anthropic VS code extension on Cursor backdoored for nearly 12 hours

by | Nov 23, 2026 | Technology

Anthropic VS code extension on Cursor backdoored for nearly 12 hours

A verified VS Code extension for Anthropic’s Claude model distributed through the Cursor marketplace was compromised with malicious code, according to multiple sources reporting on the incident Friday. The affected version, identified as 2.1.313, was made available through Anthropic’s official account on the Cursor platform and potentially impacted as many as 5,000 users who either downloaded it directly or received automatic updates.

The backdoored extension attempted to install a persistent SSH backdoor by adding attacker-controlled SSH keys, enabling local SSH services, and establishing reverse SSH tunnels. The malicious code was designed to function across Windows, macOS, and Linux systems. Security researchers noted that because Cursor extensions operate with the permissions of the integrated development environment, the compromised extension would likely gain access to local files, source code, and developer tools once installed. The backdoor’s capabilities included theft of variable names, which researchers indicated could allow operators to quickly inventory cloud credentials and API tokens stored on affected devices.

Anthropologic pushed version 2.1.314 to replace the compromised version several hours after the malicious code became available. Cursor personnel worked with the cloud provider hosting the reverse shell server to prevent infected devices from reaching it. The company removed the backdoored version from its marketplace, blocked further distribution, and temporarily shut down the VSCode Marketplace to rotate keys and audit access controls.

The method by which attackers gained access to Anthropic’s verified Cursor account remains unexplained. Neither Cursor nor Anthropic has publicly disclosed how the supply-chain compromise occurred or issued customer warnings about the incident. Developers who installed or updated the extension between 5:27 am and 4:35 pm on Thursday should consider themselves potentially affected. Security researchers have published indicators of compromise to assist in identifying affected systems.

Article Attribution | Read More at Article Source

Article summary produced by Claude AI