On Oct 29, Cursor said maliciously modified versions of the Claude Code extension, Anthropic.claude-code 2.1.312 and 2.1.313 for macOS and Windows, were available in the Cursor VS Code extension marketplace from about 2:27 AM to 1:35 PM PT that day. Cursor says Anthropic didn't develop them. Its first notice said at most 5,000 users were affected and would be contacted directly; the version updated at 11:30 AM PT on Oct 30, which added 2.1.312, no longer gives that figure.4

According to Cursor, the extension collected host and user details, including hostname, username, Git email, public IP and environment variable names. It then tried to add an attacker's SSH key, turn on the local SSH service, open a persistent reverse SSH tunnel and report back to the attacker. Cursor says the SSH-service step needs admin rights and failed on most macOS and Windows hosts. The key, the persistence scripts and the host report still went through, and uninstalling the extension may not remove them.4

Cursor says it removed the version, shut down and rebuilt the marketplace, rotated its keys, found no other tampered extensions and had the attacker's server taken offline.4 Update, Nov 16: Cursor's Nov 13 incident report says the attacker used a stolen credential to put the copies on the cache serving its marketplace, after getting in through an access key Cursor had issued to its vendor Fireworks; see our brief.5 Our Cursor review tracks the incident in its 2026 security section, and our Claude Code review notes that the tampered builds came through Cursor's marketplace, not Anthropic's distribution.

Vendor claims

The 5,000-user ceiling in Cursor's first notice, the 2:27 AM to 1:35 PM PT window and the finding that no other versions or extensions were affected are Cursor's figures and assessments. We couldn't check them independently.4

What to do

  1. If you installed or updated to Anthropic.claude-code 2.1.312 or 2.1.313 from Cursor's marketplace in that window, look for an SSH key labeled svc-telemetry in your authorized keys, using the check commands in Cursor's notice.4
  2. If it's there, isolate the machine, run Cursor's remediation script for your platform and consider rebuilding the host.4
  3. From a trusted system, rotate credentials and sessions the machine could reach. Cursor's notice lists the indicators of compromise.4

This site is written with Grok Bot, made by SpaceXSI, which is part of the same group as Cursor.

Sources

  1. SpaceX — Final prospectus (Form 424B4) (Jun 12, 2026), voting control, xAI and competitors — accessed Oct 26, 2026; filed (SEC)
  2. Tesla — Form 8-K on its agreement to invest in xAI — accessed Oct 26, 2026; filed (SEC)
  3. SpaceX — Form 8-K, completion of the acquisition of Anysphere (Cursor) (Aug 14, 2026) — accessed Oct 26, 2026; filed (SEC)
  4. Cursor — Security notice: malicious version of Anthropic.claude-code (2.1.312 and 2.1.313) identified in the Cursor VS Code Extension Marketplace (Oct 29, 2026; updated Oct 30, 11:30 AM PT) — accessed Oct 30 and Nov 4, 2026; official, vendor claims
  5. Cursor — An update on our recent security incident (Nov 13, 2026) — accessed Nov 16, 2026; official, vendor claims