Anthropic Cursor Extension Backdoored for 12 Hours
Original: Anthropic VS code extension on Cursor backdoored for nearly 12 hours
Why This Matters
Supply-chain attacks on verified dev-tool accounts expose thousands with no user action needed.
Anthropic's official Claude VS Code extension on Cursor was compromised for nearly 12 hours, with malicious version 2.1.313 potentially affecting up to 5,000 developers before a clean version 2.1.314 was pushed.
A supply-chain attack hit Anthropic's official Claude extension on the Cursor AI coding platform, with the compromised version 2.1.313 live for close to 12 hours before Anthropic replaced it with 2.1.314. The malicious build was distributed through Anthropic's verified Cursor account — how attackers gained access remains unexplained by either company. Cursor extensions auto-update by default, putting any developer who didn't opt out at risk.
The backdoor attempted to install an attacker-controlled SSH key, enable local SSH, and open a persistent reverse SSH tunnel — with retry logic firing every 60 seconds. It targeted Windows, macOS, and Linux alike. It also harvested host and user data: hostname, OS, architecture, Git email, environment variable names, and public IP, all reported via HTTP POST to a remote beacon server on port 8099.
Security researcher Kevin Beaumont and Phorion CTO Luke Roberts both independently confirmed the compromise. Roberts told Ars: "The malicious version 2.1.313 was posted to the official Anthropic account, effectively superseding 2.1.312." Phorion noted that stealing environment variable names let attackers quickly identify machines storing cloud credentials or API tokens for follow-up targeting.
One saving grace: bugs in the malicious code caused the SSH persistence step to fail in most cases, unless Cursor was running with administrator privileges. As of publication, Anthropic had issued no public customer notification.