Anthropic's Claude Extension on Cursor Backdoored for Nearly 12 Hours
A backdoored version of Anthropic's official Claude extension for Cursor's VS Code marketplace is distributed through the company's verified account, threatening as many as 5,000 developers' machines. The malicious package, version 2.1.313, installs automatically for users who have auto-updates enabled, and Anthropic has yet to publicly warn customers about the incident.
According to Cursor, the backdoor attempts to install a persistent SSH backdoor by adding an attacker-controlled SSH key, enabling the local SSH service, and opening a reverse SSH tunnel. The malicious code works across Windows, macOS, and Linux. Because Cursor extensions run with the permissions of the IDE, the compromised extension likely gains access to local files, source code, and developer tooling once installed, and also collects host and user information including hostname, username, and environment variables.
Security researchers describe the incident as a supply-chain compromise in which attackers gained access to the official distribution channel rather than the code itself. Anthropic pushes a fixed version, 2.1.314, several hours after the malicious release, limiting the exposure window to roughly 12 hours. Neither Anthropic nor Cursor has yet explained how attackers obtained control of the verified account, and an official customer notification is still outstanding.