Anthropic breach delivered SSH backdoor to developers via Claude Code extension
What happened next
Anthropic was compromised, and its Claude Code extension for Visual Studio Code and Cursor, used by tens of millions of developers, delivered a remote access trojan[1] to developer laptops and desktops through a backdoor, in a supply chain attack[2]. The extension has over 40 million installations and auto-updated to the malicious version 2.1.313 in both editors. Anthropic has not informed customers and silently deleted the backdoored version, replacing it with version 2.1.314, which appears to remove the backdoor but is not confirmed to be free of malicious code. Version 2.1.314 does not remove the SSH backdoor from already infected systems or the prior reconnaissance activity, and researchers at Phorion were the first to notice the malicious activity on endpoints.
Cursor confirmed that a maliciously modified version of the extension was available in its marketplace and attempted to install a persistent SSH backdoor. The malicious code collected hostname, username, OS, architecture, home directory path, environment variable names, working directories, configured Git email and public IP. It tried to add an attacker-controlled SSH key to authorized_keys[3], enable the local SSH service and open a reverse SSH tunnel[4], a step that would fail due to errors in the code except when Cursor was started with administrator privileges. It attempted persistence through a LaunchAgent on macOS or a scheduled task running as SYSTEM on Windows with a startup-script fallback, and background scripts retried the tunnel roughly every 60 seconds. Host details and backdoor status were reported via HTTP POST to /beacon on port 8099.
Version 2.1.313 has been removed from OpenVSX, the Visual Studio Marketplace and Cursor; Kevin Beaumont published KQL queries for hunting the malicious version with Microsoft Defender for Endpoint, and Binance is among the thousands of customers running Claude Code on laptops.
Read the original doublepulsar.comDiscussion
Sources
-
doublepulsar.com
Claude Code VS Code extension with backdoor released on Cursor marketplace
-
KRGeekNews KO
Claude Code 확장 변조로 개발자 시스템에 SSH 백도어 배포


