Fake Claude Code Extension on Cursor: How to Check Your Machine

4 min read

If you or your developers use Cursor, take two minutes today to check one thing. On October 29, Cursor's extension marketplace handed out a fake version of Anthropic's Claude Code extension for about 11 hours. It looked like a normal update, but it tried to plant a backdoor on the computer that installed it.

Most people are fine. But if you're in the affected group, deleting the extension is not enough, so it's worth knowing exactly what to check.

The short version

  • Affected: Anthropic.claude-code versions 2.1.312 and 2.1.313, installed from Cursor's marketplace on macOS or Windows between about 2:27am and 1:35pm PT on October 29, 2026.
  • Not affected, according to Microsoft: the official VS Code Marketplace release and the Claude Code CLI on npm.
  • Check for an SSH key named "svc-telemetry" on your machine. If it's there, clean up the machine and change your passwords and keys.

What happened

According to Cursor's security notice, someone put modified builds of the Claude Code extension into Cursor's own extension marketplace. Anthropic didn't make them. Cursor pulled them once it noticed, shut the whole marketplace down for a while, rotated its keys and rebuilt it.

The bad code did three things. It sent details about the machine to the attacker, like the username, Git email, public IP and the names of your environment variables. It added the attacker's SSH key to your machine and tried to open a hidden connection back to them. And it set up a small background script so that connection would keep retrying even after a restart.

Microsoft's analysis says Anthropic confirmed its own systems weren't hacked, and all evidence points to the problem being limited to Cursor's marketplace. Netskope reports Cursor's estimate that up to 5,000 users installed it.

How bad is it?

There's some good news. Cursor says the attacker's server has been taken offline. Also, the step that turns on remote login needs admin rights, so on most Macs and Windows PCs it failed and the attacker couldn't actually get in.

But the extension still added the key, installed the background script and sent your machine details out. Cursor's advice is to clean up anyway, and I agree. "It probably failed" isn't a great security plan.

What to do now

First, check if you're affected. On a Mac, Cursor's notice gives a one-line Terminal command that looks for "svc-telemetry" in ~/.ssh/authorized_keys. There's a PowerShell version for Windows on the same page. If nothing is found, you're done.

If the key is found:

  • Disconnect that machine from your work network while you clean it.
  • Run Cursor's cleanup script for your system, linked in the notice. It removes the extension, the background scripts, the tunnel and the attacker's key.
  • Think about wiping and reinstalling the machine. Cursor says uninstalling the extension may not remove everything.
  • From a different, clean computer, change the passwords, API keys and login sessions that machine could reach. That includes GitHub, your cloud hosting, your database and any .env secrets.

If you run a team, don't just ask in Slack. Have each developer run the check and reply with the result.

The bigger lesson

This wasn't a bug in Claude Code. It was a problem in a store that copies extensions from somewhere else. Every extra place you install tools from is one more place things can go wrong. A simple habit helps: give AI coding tools the least access you can, and keep real production secrets off developer laptops when possible.

One more heads-up

The Next.js security release for Tuesday, November 3 has shipped. If your site runs on Next.js, upgrade to 16.4.6 (or 15.5.29 if you are on 15.5). Details are in our November security post.