Updated 31 October 2026 (Cyprus time, UTC+2): Cursor revised its security notice at 11:30 am Pacific time on 30 October (20:30 Cyprus time). It now names two malicious versions, 2.1.312 and 2.1.313, for macOS and Windows, publishes four VSIX file hashes (three of them new) and adds Linux indicators. We updated the title, summary, version table, exposure checks and indicators. Our earlier macOS hash is no longer in Cursor's notice, and the Windows hash we listed belongs to 2.1.312, not 2.1.313. The revised notice no longer gives a number of affected users, so we removed the "at most 5,000 users" figure, which came from the earlier notice and Cursor's X post.
TL;DR: Modified builds of the Claude Code for VS Code extension, labelled Anthropic.claude-code versions 2.1.312 and 2.1.313, were available in Cursor's own VS Code extension marketplace between about 11:27 and 22:35 Cyprus time (UTC+2) on 29 October 2026, according to Cursor's security notice. Cursor says these versions were not developed by Anthropic. According to Cursor and to analysis by OpenSourceMalware, code added to the start of extension.js adds an attacker's SSH key, tries to turn on the machine's SSH service, tries to open a reverse SSH tunnel to 134.209.82.225, sets up persistence, and sends host details to the same server. Severity: High (Rescana's assessment for a developer-tool supply-chain compromise; no CVE or CVSS score has been assigned). What to do: if anyone installed or updated Claude Code in Cursor on macOS or Windows during that window, run Cursor's check for the svc-telemetry key and follow its remediation steps. Removing the extension alone may not remove the backdoor.
What lowers the urgency for most readers:
- One marketplace, two versions. Cursor says it audited access and found no other tampered extensions, that other extensions from its marketplace and its other products are not affected, and that it has "no evidence that other versions of the extension or the official distribution are affected." OpenSourceMalware says the npm, Open VSX and Microsoft Marketplace packages are not malicious.
- The attacker's server is offline. Cursor says it worked with the hosting provider to take
134.209.82.225offline, so the tunnel and the host report no longer work. - The SSH step usually fails. Cursor says errors in the malicious code make the SSH enable step fail unless Cursor was started with administrator rights, so on most machines the attacker could not have logged in through the tunnel. Phorion separately reports a macOS bug with the same effect.
- The bad versions are gone. Cursor says it removed them, blocked further distribution, rebuilt its marketplace and rotated its keys. The current extension is 2.1.314 on Open VSX and the Microsoft Marketplace, and npm's
latestCLI tag is 2.1.314.
The catch: Cursor's revised notice says the extension added the attacker's SSH key, installed persistence and sent host details to the attacker, even where the SSH step failed. These stay after the extension is updated or removed. Cursor's advice is to run the remediation steps whether or not the tunnel worked.
What happened
Cursor runs its own VS Code extension marketplace for the Cursor editor. On 29 October 2026 (US Pacific time), Cursor identified malicious Anthropic.claude-code packages there, removed them, and shut down, rebuilt and restored the marketplace. Cursor published a security notice with indicators and remediation scripts for macOS and Windows, and posted about it on X at 09:46 Cyprus time on 30 October.
The first notice named only 2.1.313. The 30 October revision names 2.1.312 and 2.1.313, with separate hashes. Version 2.1.312 is also a genuine Anthropic release, on Open VSX, the Microsoft Marketplace and npm since 27 October; Cursor's finding concerns the modified builds its marketplace served. The version number alone therefore does not show that a machine is affected.
How the attacker got the packages into Cursor's marketplace has not been explained. OpenSourceMalware says Cursor told it that the Claude Code extension in the Cursor Marketplace "experienced some form of compromise." Cursor has not described the entry point, and nobody has said who is behind it. We found no Anthropic statement on its news page, status page or GitHub security advisories. Anthropic's Claude Code changelog goes from 2.1.312 to 2.1.314, with no 2.1.313 entry.
Early reports named the wrong registry. OpenSourceMalware and Phorion first attributed the build to Open VSX; both now name the Cursor Marketplace. Socket found Open VSX change-feed entries for every platform build of 2.1.312 and 2.1.314 but none for 2.1.313. Phorion still says 2.1.313 was pulled from npm and the VS Code Marketplace; we could not confirm that. Neither registry lists a 2.1.313.
Technical information
Based on Cursor's notice and the analyses by OpenSourceMalware and Phorion; Rescana did not download or run the extension. Cursor lists one modified extension.js hash for both versions and platforms.
- Reconnaissance. When the extension loads, the code collects the hostname, username, operating system and CPU architecture, home and working directories, the global Git email address, the public IP address, and the names of up to 40 environment variables containing KEY, TOKEN, SECRET, PASS, AWS or GCP. OpenSourceMalware says the values are not sent; Cursor notes this does not rule out later credential access over the backdoor.
- SSH key planting. It appends an attacker-controlled Ed25519 public key with the comment
svc-telemetryto~/.ssh/authorized_keys. - SSH service enablement. It tries to enable macOS Remote Login, the Linux
sshd/sshservice, or OpenSSH Server on Windows. Cursor says this fails without administrator rights. - Reverse SSH tunnel. It writes an embedded tunnel key to a temporary file named
.stk_<10 hex>and keeps an outbound SSH connection open totunnel@134.209.82.225, forwarding a port on that server back to the machine's own SSH port (-R *:0:localhost:22). Background scripts retry about every 60 seconds and useautosshwhen it is installed. - Persistence. On macOS: a user LaunchAgent at
~/Library/LaunchAgents/com.apple.sysmond.plistwith scripts in~/.config. On Windows: a scheduled task namedSysMonthat tries to run as SYSTEM, with asysmon.cmdscript in the Startup folder as a fallback. On Linux: an@rebootcron entry that runs~/.config/.smt, now in Cursor's revised indicators (OpenSourceMalware described it earlier), although Cursor names affected builds only for macOS (Apple silicon) and Windows. - Beacon. It sends a JSON report over plain HTTP to
134.209.82.225:8099/beacon(and to127.0.0.1:8099). According to OpenSourceMalware, the code downloads no further malware and ignores the server's response.
ARIN's registration data places 134.209.82.225 in a DigitalOcean hosting range. That identifies the hosting provider, not the attacker.
Timeline (Cyprus time, UTC+2)
- 27 October 2026: genuine 2.1.312 published on npm, Open VSX and the Microsoft Marketplace (registry timestamps).
- 29 October, about 11:27–22:35: malicious builds available in Cursor's VS Code extension marketplace (Cursor: 2:27am–1:35pm PT).
- 30 October, 02:12–03:20: 2.1.314 published on npm, Open VSX and the Microsoft Marketplace.
- 30 October, 09:46: Cursor posts about the incident on X.
- 30 October, 20:30: Cursor revises its notice: affected versions 2.1.312 and 2.1.313, new hashes, Linux indicators.
- 31 October, 00:57–01:00: Rescana re-checks: Open VSX, npm and the Microsoft Marketplace still have no 2.1.313; no Anthropic statement, CVE, GitHub advisory or KEV entry.
CVE and KEV status
No CVE has been assigned, and nothing related appears in the CISA Known Exploited Vulnerabilities catalog (version 2026.10.30, checked 31 October 2026). This is a malicious build in a marketplace, not a flaw in Claude Code, so a CVE may never be assigned.
Affected Product Versions
| Product | Source | Version | Status |
|---|---|---|---|
Claude Code for VS Code (Anthropic.claude-code) |
Cursor VS Code extension marketplace | 2.1.312 (darwin-arm64, win32-x64) | Malicious build; available 29 Oct, about 11:27–22:35 Cyprus time; removed |
Claude Code for VS Code (Anthropic.claude-code) |
Cursor VS Code extension marketplace | 2.1.313 (darwin-arm64, win32-x64) | Malicious build; same window; removed |
| Claude Code for VS Code | Cursor marketplace | 2.1.314 and other versions | Cursor: no evidence other versions are affected |
| Claude Code for VS Code | Open VSX, Microsoft VS Code Marketplace | Any (2.1.312 there is the genuine release) | No 2.1.313 listed; OpenSourceMalware says not malicious |
Claude Code CLI (@anthropic-ai/claude-code) |
npm | Any | No 2.1.313 published; OpenSourceMalware says not malicious |
Workaround and Mitigation
1. Find exposure.
- Identify Cursor users on macOS or Windows who had Claude Code for VS Code installed and could have installed or updated it between about 11:27 and 22:35 Cyprus time on 29 October. Check Cursor's extensions folder for
anthropic.claude-code-2.1.312*andanthropic.claude-code-2.1.313*. - A 2.1.312 folder on its own is not proof, because 2.1.312 is also a genuine release. Compare the extension's
extension.jswith the hash below, or search it for134.209.82.225andsvc-telemetry, which Cursor says appear in the modified file. Run the key check below either way. - Everyone using Claude Code for VS Code: confirm the installed version is 2.1.314 or later.
2. Check for the key and indicators, even on machines that are already updated.
- Run Cursor's published check for the
svc-telemetrykey in~/.ssh/authorized_keys(and, on Windows,C:\ProgramData\ssh\administrators_authorized_keys). Match on the key fingerprint too, because a comment can be changed. - Look for the persistence files, the LaunchAgent, the
SysMontask, the Startup script and, on Linux, the@rebootcron entry. - Look for long-running
sshorautosshprocesses using-R *:0:localhost:22, and for connections to134.209.82.225on ports 22 or 8099.
3. If the key or persistence is present, treat it as an incident.
- Isolate the machine and preserve evidence.
- Remove the key, persistence and tunnel processes. Cursor publishes remediation scripts for macOS (run as the affected user) and Windows (run as Administrator) in its notice.
- Rotate credentials and sessions the account could reach, from a trusted machine.
- Decide whether to rebuild. Cursor asks affected users to assess whether the host should be rebuilt; OpenSourceMalware says rebuilding is safer than assuming the known files were the whole compromise.
- Cursor takes questions at
security@cursor.com.
4. Longer term.
- Decide which extension marketplaces developers' editors may use, and pin or allow-list AI coding extensions.
- Monitor developer machines for new SSH keys, new persistence and unusual outbound SSH.
Indicators of Compromise
Source: Cursor's security notice as revised on 30 October 2026, with matching values from OpenSourceMalware and Phorion where noted.
| Type | Indicator | Note |
|---|---|---|
| Package | Anthropic.claude-code 2.1.312 and 2.1.313 (Cursor marketplace, macOS and Windows) |
|
| SHA-256 | fcbb327e38e61c4fec795e0d0591f52cd1014b813d20a5912104953c3a17c364 |
Modified VSIX, 2.1.312 darwin-arm64 (Cursor) |
| SHA-256 | 3de1722901165769893bef57c72594e9a54459faa23f3091b136b79966edd081 |
Modified VSIX, 2.1.312 win32-x64 (Cursor) |
| SHA-256 | 80402fdcad8799285fd93044976973ca000da7995fb93363f819bb8e4f84ee6c |
Modified VSIX, 2.1.313 darwin-arm64 (Cursor) |
| SHA-256 | 6786ec90cbd45949695bd7805c9fbb26cfc91bc5fc897de0183d9bcb9cb21731 |
Modified VSIX, 2.1.313 win32-x64 (Cursor) |
| SHA-256 | ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15 |
Malicious extension.js, both versions (Cursor, OpenSourceMalware, Phorion) |
| SHA-256 | 7e0a52885fadee05544a9e99eb18c792bec05900a5e1a66d68f8383decb0e278 |
Embedded tunnel private key (OpenSourceMalware) |
| SSH key | SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk, comment svc-telemetry |
Key planted in authorized_keys (all three) |
| SSH key | SHA256:KOAU57+ZG6u3MG4WwzPzPX2O5YEe9qdOC1Bl+6MVyDQ |
Reverse-tunnel key (Cursor, Phorion) |
| IP | 134.209.82[.]225, TCP 22 (user tunnel) |
Reverse tunnel server; offline per Cursor |
| URL | http://134.209.82[.]225:8099/beacon, http://127.0.0[.]1:8099/beacon |
Host report beacon (HTTP POST) |
| Domains | ifconfig.me, api.ipify.org |
Legitimate public-IP services; not an indicator on their own |
| Files (macOS) | ~/.config/.smt, ~/.config/.smtk, $TMPDIR/.stk_<10 hex>, ~/Library/LaunchAgents/com.apple.sysmond.plist |
|
| Files (Linux) | ~/.config/.smt, ~/.config/.smtk, /tmp/.stk_<10 hex>; cron @reboot /bin/sh "<HOME>/.config/.smt" |
Cursor (revised notice) |
| Files (Windows) | %USERPROFILE%\.ssh\authorized_keys, %USERPROFILE%\.config\smt.cmd, %USERPROFILE%\.config\smtk, %TEMP%\.stk_<10 hex>, %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\sysmon.cmd; scheduled task SysMon |
|
| Process | ssh -N -R '*:0:localhost:22', autossh -M 0, schtasks /create /tn SysMon, systemsetup -setremotelogin on, Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 |
Our earlier darwin-arm64 hash (432ccdee…) is no longer in Cursor's notice; use the four VSIX hashes above.
Not known: how the packages entered Cursor's marketplace, who ran the server, or what was done through any tunnel that connected.
What we will update
We will update this post if:
- Cursor or Anthropic publishes a root cause or post-mortem.
- Cursor changes the affected versions, platforms or indicators again.
- Anyone shows that a registry other than Cursor's marketplace served a malicious build.
- A CVE or GitHub security advisory is assigned.
- Researchers publish evidence of activity through the tunnel.
Why this matters for your vendors
This one did not come from the publisher or the main registries. It came from a marketplace that one editor maker runs for its own users, and it reused a version number that was also a genuine release elsewhere. Your vendors' developers may use Cursor or other AI editors that pull extensions from sources your security team has never reviewed, and an extension runs with the developer's access to code, SSH keys and cloud credentials.
Questions worth asking your software and SaaS vendors:
- Do your developers use Cursor, and did any of them install or update Claude Code for VS Code on 29 October 2026?
- Did your checks cover both 2.1.312 and 2.1.313, using Cursor's revised hashes?
- Have you run Cursor's check for the
svc-telemetrykey, and what did you do where it was found? - Which credentials did you rotate, and did you rebuild affected machines?
Want help mapping which of your vendors may be affected by developer-tool supply-chain incidents like this one?
Sources
- Cursor, "Security notice — malicious version of Anthropic.claude-code (2.1.312 and 2.1.313) identified in the Cursor VS Code Extension Marketplace" (29 October 2026; updated 30 October 2026, 11:30 am PT, with revised IoCs and affected versions): https://cursor.com/blog/claude-code-extension-security-notice
- Cursor on X (30 October 2026; posted before the notice revision): https://x.com/cursor_ai/status/2116074289053175808
- OpenSourceMalware, "Trojanized Claude Code Extension Plants an SSH Backdoor" (30 October 2026, updated): https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
- Phorion, "Official Claude Code Extension Compromise: Security Advisory" (30 October 2026, updated to name the Cursor Marketplace): https://phorion.io/blog/offical-claude-code-vsx-compromise/
- Socket, "Cursor Removes Malicious Claude Code 2.1.313 Extension From Its Marketplace" (30 October 2026; cited for its Open VSX change-feed review): https://socket.dev/blog/claude-code-extension-compromise
- Open VSX, Claude Code for VS Code listing: https://open-vsx.org/extension/Anthropic/claude-code
- Microsoft Visual Studio Marketplace, Claude Code for VS Code listing: https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code
- Anthropic, Claude Code changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md



