Cursor said on Friday, October 30, 2026, that a maliciously modified version of Anthropic’s Claude Code extension was available on its VS Code extension marketplace on Thursday, affecting up to 5,000 users. Cursor says the tampered build was not developed by Anthropic, but it used the extension’s legitimate identity, which makes it hard to spot.
What happened
The affected version is 2.1.313, identified as anthropic.claude-code. Cursor says it was live from about 2:27 a.m. PT to 1:35 p.m. PT on October 29, roughly 11 hours, and anyone who installed or updated to it through Cursor’s marketplace in that window should treat their machine as affected. Cursor says it will contact impacted users directly.
The Hacker News, citing researchers at OpenSourceMalware, reports that the package contained a malicious 66-line loader inserted before the legitimate code. Once active, it collected host details such as IP address, hostname, username, operating system, and Git email, plus the names of up to 40 environment variables containing terms such as KEY, TOKEN, or SECRET. It then tried to add an attacker-controlled key, labelled svc-telemetry, to authorized_keys, enable local SSH, open a reverse tunnel, and install persistence as a scheduled task, crontab entry, or macOS LaunchAgent.
One caveat: enabling local SSH requires administrator rights, which the extension lacks on most macOS and Windows hosts, so that step fails there. The rogue key, persistence, and host data collection still happened, so remediation is required regardless.
Cursor removed the version, shut down its marketplace as a precaution, rebuilt it, and brought it back online, and says other extensions were not impacted. Anthropic has published version 2.1.314 to Open VSX and Microsoft’s VS Code Marketplace, according to The Hacker News, which reports no evidence the tampered version reached either marketplace. How attackers introduced the update remains unclear.
| Detail | What is known |
|---|---|
| Affected version | Claude Code 2.1.313, via Cursor |
| Live window | October 29, about 2:27 a.m. to 1:35 p.m. PT |
| Users affected | At most 5,000, per Cursor |
| Fixed version | 2.1.314 |
| Marketplace status | Rebuilt and back online |
Why it matters for small businesses
Most small teams never check an extension update: auto-update is the default, the publisher name looks right, and the tool is already trusted. This incident breaks that shortcut, because the tampered build arrived under the legitimate Claude Code identity, not as an obvious copycat.
Trust in the marketplace is the real damage. Developer machines hold source code, Git identities, and clues about cloud and CI credentials, and a persistent SSH key plus a startup task can outlive a simple uninstall. Even where remote login failed, the leftover key and persistence mean the machine cannot be treated as clean until someone checks for them.
The lesson is not to stop using AI coding tools. Treat extension updates like any other supply chain risk: know which machines run Cursor, know which version they run, and have one person check security notices the same day they appear.
Pricing, availability, and what to do next
No price change, no new product: the fix is a free update, and Cursor says its marketplace is back online. If your team uses Cursor, follow Cursor’s check and remediation scripts:
- Check your version: Confirm whether any machine installed or updated to Claude Code 2.1.313 through Cursor on October 29.
- Update to 2.1.314: Move affected machines to the fixed version, and do not keep running 2.1.313.
- Remove the rogue key: Search authorized_keys for a key labelled svc-telemetry and remove it if present.
- Remove persistence: Look for the scheduled task, crontab entry, or LaunchAgent the tampered build installed, and remove it.
- Rotate credentials and sessions: Rotate credentials that could have been exposed, and treat sessions on an affected machine as untrusted.
- Isolate uncertain hosts: If you cannot confirm a machine is clean, isolate it before returning it to client or production work.
Users who installed via Open VSX or Microsoft’s marketplace are not known to be affected, but checking the version removes doubt.
Sources
- Reuters (October 30, 2026)
- The Hacker News (October 30, 2026)
Frequently Asked Questions
Was this extension developed by Anthropic?
No. Cursor says it was not developed by Anthropic, although it used the legitimate identity.
Am I affected if I installed Claude Code from the VS Code Marketplace?
Not known to be affected. The Hacker News reports no evidence it reached Open VSX or Microsoft’s VS Code Marketplace, but check your version to be sure.
Does the failed SSH step mean affected machines are safe?
No. The rogue key, persistence, and host data collection still happened, so remediation is still required.
Which version should I be running?
Version 2.1.314, a free update published by Anthropic to Open VSX and Microsoft’s VS Code Marketplace.



