Phorion identified a compromised release, version 2.1.313, of the official Claude Code for VS Code extension on the Cursor Marketplace. The malicious bundle injects code that executes immediately when loaded, before normal extension activation, giving it the permissions of the IDE and user. Cursor removed the affected marketplace release and corresponding NPM and VS Code packages.
The payload targets macOS, Linux, and Windows. It creates or modifies the user’s `.ssh` directory and appends an attacker-controlled Ed25519 public key, labeled `svc-telemetry`, to `authorized_keys`. It then attempts to enable SSH and establishes a reverse SSH tunnel to `134.209.82[.]225`, using an embedded private key labeled `svc-telemetry-tun`. This allows operators to reach the victim through the tunnel and obtain an interactive shell or transfer files.
On macOS, a logic error reduces—but does not eliminate—the immediate impact. The malware checks Remote Login without administrator privileges; macOS returns an access-denied message with a successful exit status, so the script incorrectly assumes SSH is enabled and skips the activation command. Consequently, access may fail if Remote Login was already disabled, although the planted key, tunnel, reconnaissance, and persistence remain.
The malware also launches a detached retry loop and installs reboot persistence, including macOS LaunchAgents, Linux cron entries, and platform-specific files. Organizations should urgently identify systems that used version 2.1.313, inspect SSH keys, tunnels, persistence locations, and outbound connections, and involve incident response teams.
Article timeline
Build this article’s timeline
Extract dated events, key actors, and open questions using the same timeline analysis available in Signal.
Comments
Login to view and post comments.