Alert: a backdoored Claude Code extension was served in Cursor's marketplace

Reported October 29, 2026 · Updated November 20, 2026 · By Arif Khan, AIVolve LLC

What happened: On October 29, 2026, Cursor reported that its own extension marketplace served tampered copies of the Claude Code extension (Anthropic.claude-code versions 2.1.312 and 2.1.313) for macOS and Windows, from about 2:27 AM to 1:35 PM Pacific time. Cursor says these versions "were not developed by Anthropic." The hidden code tried to add the attacker's SSH key to your computer, open a remote-access tunnel, restart itself at login, and send the attacker details about your machine, including the names (not the values) of your environment variables. Cursor says the remote-access step would fail on most computers without admin rights, and the attacker's server is now offline. Microsoft says the extension on Microsoft's VS Code Marketplace and the Claude Code npm package were not affected. In a November 13 update, Cursor said the attack started with an access key it had issued to its vendor Fireworks, which Fireworks exposed. From there the attacker reached Cursor systems and placed the tampered copies on the cache that serves Cursor's extension marketplace. Cursor says at most 5,000 users who requested those versions on October 29 may have received the malicious build, that Open VSX never had the malware, and that the last attacker activity it saw was on November 1.

Who is affected

What to do now (5 steps)

  1. Run Cursor's one-line check. On a Mac, in Terminal: grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted". On Windows, use the PowerShell check in Cursor's notice.
  2. If the key is found, run Cursor's cleanup script for your system from the same notice (remediate-macos.sh as your normal user, or remediate-windows.ps1 from PowerShell opened as Administrator). Just uninstalling the extension isn't enough. Cursor says the payload "drops standalone persistence scripts that keep running."
  3. Rotate your keys from a different, trusted computer. Change the passwords, API keys and tokens that machine could reach: GitHub, Supabase, Stripe, your host, and anything in .env files. Cursor says the limited data the extension sent "does not rule out later credential access over the backdoor."
  4. Get off the bad version. If Claude Code in Cursor shows 2.1.312 or 2.1.313, remove it and install a newer version. Rescana advises 2.1.314 or later.
  5. If it's a work machine, or you're not sure, tell whoever runs IT for you. Cursor suggests deciding "whether the host should be rebuilt." For teams, Microsoft suggests Cursor's hardening settings: approved extension publishers only, and an install cooldown for brand-new versions.

How to rotate keys in the right order, including Supabase keys: step 2 of our leaked-keys guide and Supabase anon key vs service_role key.

Sources: Cursor incident update (Nov 13) · Cursor security notice (Oct 29, updated Oct 30) · Microsoft Security Blog (Oct 30) · OpenSourceMalware (updated Nov 1) · Rescana (updated Oct 31)

Need help?

Start with a free X-ray: 2 minutes, no code or passwords. Your AI builder writes a read-only report that includes security red flags, and an AIVolve developer reviews every X-ray within 1 business day.

Get a free X-ray →