Anthropic VS code extension on Cursor backdoored for nearly 12 hours

by | Nov 16, 2026 | Technology

Anthropic VS code extension on Cursor backdoored for nearly 12 hours

A malicious version of Anthropic’s official Claude extension for Cursor’s AI-assisted development platform was distributed through the company’s verified account on Thursday, exposing as many as 5,000 developers to potential compromise. The backdoored package, identified as version 2.1.313, remained available in Cursor’s marketplace before Anthropic released a patched version 2.1.314 several hours later. Security researchers including independent analyst Kevin Beaumont and personnel from security firm Phorion confirmed the malicious code was posted under Anthropic’s legitimate account, though the method used to gain access remains unexplained by both Anthropic and Cursor.

The compromised extension was designed to install a persistent SSH backdoor by adding an attacker-controlled SSH key, enabling reverse SSH tunnels and gaining access to local systems across Windows, macOS, and Linux platforms. Because Cursor extensions operate with the permissions of the integrated development environment, the malware would have been capable of accessing local files, source code repositories, and developer tools on affected machines. Phorion’s analysis identified additional capabilities including the harvesting of variable names that could allow attackers to quickly identify stored cloud credentials and API tokens for subsequent targeting of specific compromised devices.

While some portions of the malicious code contained implementation errors that prevented the backdoor from functioning properly on Windows and macOS systems, security researchers determined the threat remained significant due to its persistence mechanisms. Cursor took steps to contain the incident by working with cloud infrastructure providers to block infected devices from connecting to the attacker’s command server, removing the malicious version from the marketplace, and temporarily shutting down its VSCode Marketplace to rotate security keys and audit access controls. The marketplace subsequently reopened after verification that no additional extensions had been compromised.

Developers who installed or updated the extension between 5:27 am ET and 4:35 pm on Thursday should consider themselves potentially affected. Both Cursor and Phorion have published indicators of compromise including relevant IP addresses and cryptographic hashes to assist in detection efforts. However, neither Anthropic nor Cursor has issued public warnings to customers regarding the incident or provided explanations for how the account compromise occurred.

Article Attribution | Read More at Article Source

Article summary produced by Claude AI