# Claude Code Extension in Cursor: The 2.1.313 Backdoor and How to Check Your Computer

URL: https://whatisagenticai.net/blog/claude-code-extension-cursor-backdoor/
Published: 2026-10-30
Publisher: Little Tough LLC, maker of AI Agent Assistant: Agentic AI (https://apps.apple.com/us/app/ai-agent-assistant-agentic-ai/id6761501260)

The Claude Code extension in Cursor shipped a tampered build (2.1.312/2.1.313) on Oct 29, 2026. What it did, who was hit, and how to check and clean your computer.

If you use the Claude Code extension in Cursor, you may have seen a security notice this week. For about 11 hours on Thursday, October 29, 2026, Cursor’s extension marketplace served a tampered copy of the extension. It looked like the real thing. It carried Anthropic’s name. And it quietly tried to give a stranger a way into your computer.

Here is what happened, how to tell if you were affected, what to do about it, and how to install the Claude Code extension in Cursor safely from now on.

**TL;DR:** Between about 2:27 a.m. and 1:35 p.m. Pacific time on October 29, 2026, Cursor’s marketplace offered a malicious build of the Claude Code extension (Cursor names versions 2.1.312 and 2.1.313). On Windows and macOS it added an attacker’s SSH key labeled svc-telemetry, set up a hidden startup task, and tried to open a remote tunnel. Cursor says at most 5,000 users were affected and the attacker’s server is offline. Anthropic says its own systems and official channels were not hit. If you installed or updated the extension in Cursor that day, check for the key and run Cursor’s cleanup script, because uninstalling alone is not enough.

## What happened to the Claude Code extension in Cursor?

Claude Code is Anthropic’s AI coding agent. Many developers run it inside Cursor, a popular code editor, through an extension. Cursor has its own extension marketplace, separate from Microsoft’s VS Code Marketplace.

On October 29, a bad copy of that extension showed up in Cursor’s marketplace under the normal Claude Code listing. Cursor published a security notice the same day and updated it on October 30. Its words are plain: the malicious versions "were not developed by Anthropic."

Researchers at OpenSourceMalware and Phorion helped spot it. According to The Hacker News, the bad build carried a short hidden loader of 66 lines at the top of the extension’s main file. It ran on its own when the extension started, with no click needed from you.

## What did the malicious extension do?

Think of SSH as a remote door into a computer. Normally only keys you approve can open it. The tampered extension tried to slip its own key under the doormat. Based on Cursor’s notice and the reports from BleepingComputer and The Hacker News, it:

- Sent basic facts about your machine to a server the attacker controlled: hostname, username, operating system, home and working folders, your Git email, your public IP address, and the *names* (not values) of environment variables.

- Added an attacker’s SSH key, labeled svc-telemetry, to your ~/.ssh/authorized_keys file.

- Tried to switch on your computer’s SSH service and open a reverse tunnel back to the attacker.

- Set up persistence so it would come back after a restart: a LaunchAgent on macOS, and a scheduled task named "SysMon" on Windows, retrying about once a minute.

There is some good news. Turning on SSH needs admin rights, and Cursor says the extension did not have them on most Macs and Windows PCs. So the full tunnel likely failed for most people. But the key and the startup task could still be written. BleepingComputer reports no direct theft of passwords or secrets was observed.

| Question | What is confirmed |
| --- | --- |
| When | October 29, 2026, about 2:27 a.m. to 1:35 p.m. PT (around 11 hours) |
| Which versions | 2.1.312 and 2.1.313 in Cursor’s notice; news reports name 2.1.313 |
| Where | Cursor’s extension marketplace only |
| Systems | Windows and macOS per Cursor; some reports say Linux code paths too |
| How many users | At most 5,000, per Cursor (as reported by BleepingComputer and The Hacker News) |
| Telltale sign | An SSH key with the comment svc-telemetry |
| Not affected | Anthropic’s official channels, per Anthropic; no evidence it reached Open VSX or Microsoft’s VS Code Marketplace |

## How to check if you were affected

You are only at risk if Cursor installed or updated the Claude Code extension during that window on October 29. If you are not sure, check anyway. It takes a few seconds.

**On a Mac**, open Terminal and run the check Cursor published:

grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "not found"

**On Windows**, Cursor’s notice gives a PowerShell check that looks for svc-telemetry in your user’s .ssh\authorized_keys file and in C:\ProgramData\ssh\administrators_authorized_keys. You can also look in Task Scheduler for a task named "SysMon".

If the key shows up, follow the next section. If it does not, update the extension to a current clean version and move on.

## What to do if the key is there

- **Run Cursor’s cleanup script.** Cursor offers one for macOS (run as your normal user, not root) and one for Windows (run in an admin PowerShell). Both are linked from its security notice.

- **Do not stop at uninstalling.** Cursor warns that removing the extension "may not be sufficient," because the key and the startup task live outside the extension.

- **Rotate your secrets.** From a different, trusted computer, change API keys, cloud tokens and passwords that this machine could reach, and sign out of active sessions.

- **For work machines,** tell your security team. Cursor and BleepingComputer both suggest isolating the machine and rebuilding it from a safe backup if there is any doubt.

## Was Anthropic hacked?

Anthropic says no. Felix Rieseberg, a member of Anthropic’s technical staff, said on X that it "wasn’t a compromise of Anthropic’s systems or employee laptops," according to The Register. He said a third party used access to Cursor’s marketplace to publish the tampered copy, and that only Cursor users were affected.

The open question is how the bad build ended up under the real Claude Code listing. The Hacker News reports it used the extension’s legitimate ID, anthropic.claude-code. Cursor has not explained how that happened. It says it shut down and rebuilt its marketplace, audited access, rotated keys and worked with the hosting provider to take the attacker’s server offline. Claims online that Anthropic itself was breached are not confirmed.

**Update, November 13, 2026:** Cursor has now explained the access. It traces back to a key exposed at its vendor Fireworks AI. The full chain, and what else was taken, is in our [Cursor breach explainer](https://whatisagenticai.net/blog/cursor-breach/).

## How to open the Claude Code extension in Cursor safely

Many people searching "claude code extension cursor" just want to set it up. Here is the careful way to do it now:

- Open the Extensions panel in Cursor, search for Claude Code, and confirm the publisher is Anthropic before you install.

- Check the version number. Avoid 2.1.312 and 2.1.313. The Hacker News reports Anthropic released 2.1.314 as a clean follow-up; Cursor has not named a fixed version in its notice.

- You can also run the Claude Code command-line tool in Cursor’s built-in terminal instead of the extension. Anthropic says its official channels were not affected.

- Turn off automatic extension updates on machines that hold sensitive keys, so a bad build cannot arrive while you sleep.

Browser extensions are a risk for Claude users outside the code editor too: see [what Claude Dispatch is and the ThisBash flaw](https://whatisagenticai.net/blog/what-is-claude-dispatch/), where a rogue extension can make Claude Desktop run code.

## What this means for you

AI coding agents are powerful because they can read files, run commands and touch your keys. That same power makes the tools around them a juicy target. It is not the first scare of this kind: we recently covered how a planted [AGENTS.md file](https://whatisagenticai.net/blog/what-is-agents-md/) can steer a coding agent, and why tools like [Anthropic Sandbox Runtime](https://whatisagenticai.net/blog/what-is-anthropic-sandbox-runtime/) exist to box agents in.

If you are a developer, the lesson is boring but real: watch what your editor installs, and keep secrets off machines that run lots of plugins.

If you are not a developer and just want an agent to research, write or plan something, you do not need any of this plumbing. **Agentic AI** runs a team of up to four expert agents on your iPhone or iPad. There is no extension to install, no SSH, and no account to create, and your first 3 tasks are free. New to the idea? Start with [what agentic AI is](https://whatisagenticai.net/what-is-agentic-ai/).

## Quick answers

**Is the Claude Code extension in Cursor safe now?** Cursor removed the bad versions and rebuilt its marketplace, and says the attacker’s server no longer works. Install from the Anthropic listing and make sure you are not on 2.1.312 or 2.1.313.

**Which Claude Code extension versions were malicious?** Cursor names 2.1.312 and 2.1.313 for Windows and macOS, served only by Cursor’s marketplace on October 29, 2026.

**How do I know if I was affected?** Look for an SSH key with the comment svc-telemetry in your authorized_keys file. On Windows, also look for a scheduled task named "SysMon".

**Is uninstalling the extension enough?** No. Cursor says the key and startup task stay behind. Use Cursor’s cleanup script and rotate your secrets.

**Was the VS Code version of Claude Code affected?** Anthropic says its official channels were not affected, and reports found no evidence the bad build reached Microsoft’s VS Code Marketplace or Open VSX.

**Was Anthropic hacked?** Anthropic says no, and that a third party used access to Cursor’s marketplace. How that access was gained has not been explained.

**Sources:** [Cursor security notice](https://cursor.com/blog/claude-code-extension-security-notice) · [BleepingComputer](https://www.bleepingcomputer.com/news/security/malicious-claude-code-extension-on-cursor-planted-ssh-backdoors/) · [The Hacker News](https://thehackernews.com/2026/10/official-claude-code-vs-code-extension.html) · [The Register](https://www.theregister.com/cyber-crime/2026/10/30/anthropic-that-claude-code-extension-compromise-couldnt-be-us/5306682)
