Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
Points and comments are a snapshot, not live.
Backdoor found in Claude Code for VS Code extension on Cursor Marketplace versions 2.1.312 and 2.1.313.
Phorion discovered a backdoor in the official Claude Code VS Code extension on the Cursor Marketplace, versions 2.1.312 and 2.1.313. The compromised extension drops a persistent SSH backdoor across macOS, Linux, and Windows. Cursor removed the affected versions. The payload adds an attacker Ed25519 public key to ~/.ssh/authorized_keys, attempts to enable SSH, sets up a reverse SSH tunnel to 134.209.82.225, creates persistence via LaunchAgent on macOS, beacon host recon, and exfiltrates environment variable names matching KEY, TOKEN, SECRET, PASS, AWS, or GCP. A bug in the macOS SSH check may prevent Remote Login from being enabled, but the backdoor remains if SSH is already on.
What commenters are saying
Commenters are confused about the attack's scope and source. Dominant sentiment: uncertainty over whether Anthropic, Cursor, or OpenVSX was compromised. Several users note the missing version 2.1.313 from the official VS Code marketplace and GitHub releases, suggesting Anthropic's account was hacked. Others point to Cursor's own mirror of OpenVSX as the compromised distribution channel. A Binance account reported the incident. Users emphasize that uninstalling the extension alone does not clean infected machines. Some recommend containerized development environments for isolation.