Updated November 1, 2026: Cursor updated its notice on 30 October at 11:30 PT. It now names a tampered build of 2.1.312 as well as 2.1.313, lists new file hashes, and no longer gives a number of affected users. The two VSIX hashes this post first listed for 2.1.313 belong to the tampered 2.1.312. We corrected the indicators and added a section on 2.1.312.
Cursor has confirmed that malicious builds of Anthropic's Claude Code extension (Anthropic.claude-code) were available in its extension marketplace on 29 October 2026, from 02:27 to 13:35 PT (09:27 to 20:35 UTC), for macOS and Windows: version 2.1.313, and a tampered build of version 2.1.312. Anthropic did not build either.
Early reports, first from OpenSourceMalware, said 2.1.313 had also been published to npm, Open VSX and Microsoft's VS Code Marketplace. The registry records do not support that. We checked each registry, and compared Cursor's marketplace with the others.
Every real Claude Code release lands in four places
Each Claude Code release goes to npm as @anthropic-ai/claude-code, gets a tag and a release on GitHub, and is published as an extension to Open VSX and Microsoft's marketplace. The order and the spacing hardly change: npm first, the GitHub release within two and a half hours, Open VSX within three minutes of the release, and Microsoft's marketplace 12 to 15 minutes after that.
| Version | npm | GitHub release | Open VSX | Microsoft's marketplace |
|---|---|---|---|---|
| 2.1.310 | 23 Oct 21:20 | 23 Oct 23:39 | 23 Oct 23:42 | 23 Oct 23:57 |
| 2.1.311 | 26 Oct 19:47 | 26 Oct 21:51 | 26 Oct 21:53 | 26 Oct 22:05 |
| 2.1.312 | 27 Oct 18:36 | 27 Oct 20:24 | 27 Oct 20:26 | 27 Oct 20:41 |
| 2.1.313 | never | never | never | never |
| 2.1.314 | 30 Oct 00:12 | 30 Oct 01:06 | 30 Oct 01:07 | 30 Oct 01:20 |
npm never published 2.1.313
npm keeps a publish time for every version ever published, including versions that were later removed. The time map for @anthropic-ai/claude-code goes from 2.1.312 straight to 2.1.314:
$ npm view @anthropic-ai/claude-code time --json | grep '"2\.1\.31[0-4]"' "2.1.310": "2026-10-23T21:20:46.540Z", "2.1.311": "2026-10-26T19:47:57.395Z", "2.1.312": "2026-10-27T18:36:10.160Z", "2.1.314": "2026-10-30T00:12:56.911Z"
real output, 30 Oct 2026; other versions trimmed
Our own npm feed agrees. It recorded 2.1.311 on 26 October, 2.1.312 on 27 October, and 2.1.314 at 00:13:05 UTC on 30 October, less than ten seconds after Anthropic published it. It never recorded a 2.1.313.
GitHub, Open VSX and Microsoft's marketplace skip it too
The GitHub repository has tags for 2.1.312 and 2.1.314, and none for 2.1.313:
$ git ls-remote --tags https://github.com/anthropics/claude-code 'refs/tags/v2.1.31*' bd78b216ed563e57767901dcdd80f9a7750434c9 refs/tags/v2.1.31 b70dc4113ad72e0ee44f7b1b95afaf510b53ee98 refs/tags/v2.1.310 08c6a4f5121ae140d3c1b5c96e3e5ae53587b54b refs/tags/v2.1.311 0e1f4789406477380b267a01f3ddd50b0211e5b3 refs/tags/v2.1.312 b3f291d131924810e2b7713ededc144843a229d5 refs/tags/v2.1.314
real output, 30 Oct 2026
Open VSX has no such version:
$ curl -s https://open-vsx.org/api/Anthropic/claude-code/2.1.313 {"deprecated":false,"downloadable":false,"error":"Extension not found: Anthropic.claude-code 2.1.313"}
real output, 30 Oct 2026
Microsoft's marketplace lists 2.1.312 and 2.1.314 and nothing between them. No public registry holds a release numbered 2.1.313.
The tampered 2.1.312 reused a real version number
2.1.312 is a real release, so the registry records cannot single out the tampered build. The files can. On 1 November 2026 we downloaded 2.1.312 for macOS and Windows from Open VSX and from Microsoft's marketplace. The two marketplaces serve byte-identical files, and none of them matches the tampered builds in Cursor's notice:
| File | Anthropic's 2.1.312 (Open VSX, Microsoft) | Tampered 2.1.312 (Cursor's notice) |
|---|---|---|
| VSIX, macOS (darwin-arm64) | b851e43b35b63498… | fcbb327e38e61c4f… |
| VSIX, Windows (win32-x64) | 4393b5a468057ec6… | 3de1722901165769… |
| Main file | 1195816b6ecc944f… on both platforms | ecb58cb29078d964…, the payload Cursor lists |
sha256, first 16 of 64 hex characters, read 1 Nov 2026. The main file is extension.js. The full tampered values are in the indicators.
A version check passes the tampered build, and flagging every 2.1.312 would mark Anthropic's real release as malicious. Only the file hash tells them apart: if a machine still has 2.1.312 installed from Cursor, its extension.js should hash to 1195816b…. Cursor's marketplace serves those same clean files again for both platforms. The svc-telemetry check below covers both builds, and it still works after the extension has updated.
A version in one marketplace only is the signal
Cursor's marketplace serves the same extensions as Open VSX, plus Microsoft's own builds of extensions that are published only on Microsoft's marketplace. It answers the same extension-query API as the other two, so the three can be compared directly.
On 30 October we did that for 26 widely used extensions, AI coding agents first. Cursor served 18 of them under their exact ID. For all 18, every one of the newest versions Cursor lists, up to 40 each, also exists on Open VSX or Microsoft's marketplace.
So a version that appears in a single marketplace, with no tag in the project's own repository, has no ordinary explanation. Version 2.1.313 was exactly that for eleven hours. A watcher that polls all three marketplaces at least hourly, and checks each new version against the upstream tags, flags it on the first poll.
What the malicious builds did
From Cursor's security notice:
It ran a loader before the real extension code, on macOS (darwin-arm64) and Windows (win32-x64).
It collected the hostname, user name, OS, architecture, home directory, environment variables, git email and public IP, and sent them by HTTP POST to an attacker server.
It added an SSH key labelled svc-telemetry to authorized_keys, enabled the SSH service and opened a reverse SSH tunnel.
It persisted through a LaunchAgent named com.apple.sysmond on macOS and a scheduled task named SysMon on Windows.
Check your machines
Cursor's check, macOS:
grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "svc-telemetry key found" || echo "No key found; machine not impacted"
Windows (PowerShell):
$files = "$HOME\.ssh\authorized_keys", "C:\ProgramData\ssh\administrators_authorized_keys" | Where-Object { Test-Path $_ }
if ($files -and (Select-String svc-telemetry $files)) { "svc-telemetry key found" } else { "No key found; machine not impacted" }
- run Cursor's remediation script for your platform, from its security notice;
- treat every secret that was in that machine's environment variables as exposed, and rotate it: cloud keys, API tokens, CI and registry tokens;
- search your network logs for connections to the address below.
Indicators
| Type | Indicator |
|---|---|
| Extension | Anthropic.claude-code 2.1.313, and a tampered build of 2.1.312, both from Cursor's marketplace only (macOS darwin-arm64, Windows win32-x64) |
| Beacon | hxxp://134.209.82[.]225:8099/beacon (HTTP POST) |
| SSH key comment | svc-telemetry |
| SSH key fingerprint | SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk |
| Tunnel key fingerprint | SHA256:KOAU57+ZG6u3MG4WwzPzPX2O5YEe9qdOC1Bl+6MVyDQ |
| macOS persistence | ~/Library/LaunchAgents/com.apple.sysmond.plist |
| macOS files | ~/.config/.smt, ~/.config/.smtk, $TMPDIR/.stk_ followed by 10 hex characters |
| Windows persistence | scheduled task SysMon; fallback %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\sysmon.cmd |
| Windows files | %USERPROFILE%\.config\smt.cmd, %USERPROFILE%\.config\smtk, %TEMP%\.stk_ followed by 10 hex characters |
| 2.1.313 VSIX, macOS | 80402fdcad8799285fd93044976973ca000da7995fb93363f819bb8e4f84ee6c |
| 2.1.313 VSIX, Windows | 6786ec90cbd45949695bd7805c9fbb26cfc91bc5fc897de0183d9bcb9cb21731 |
| Tampered 2.1.312, macOS | fcbb327e38e61c4fec795e0d0591f52cd1014b813d20a5912104953c3a17c364 |
| Tampered 2.1.312, Windows | 3de1722901165769893bef57c72594e9a54459faa23f3091b136b79966edd081 |
| Payload | ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15 (extension.js) |
Source: Cursor's security notice, as updated 30 Oct 2026, 11:30 PT. File hashes are sha256; the tampered 2.1.312 rows are VSIX files.
What CyberXYZ checks
Our extension watcher read Microsoft's marketplace only, for a fixed list of widely used extensions that did not include Claude Code, so it did not capture 2.1.313. xyz Scanner's xyz audit ide lists the extensions installed in VS Code, Cursor, Devin Desktop (formerly Windsurf) and VSCodium and checks each version against the extension's own GitHub tags, but it could not read Claude Code's repository from its manifest and skipped it.
What changed on 30 October 2026:
- The watcher now reads Cursor's marketplace and Open VSX next to Microsoft's, and watches the main AI coding-agent extensions. A version seen in one marketplace with no upstream tag is flagged.
- xyz Scanner 1.4.79 reads the repository from any GitHub link in an extension's manifest. On a machine with 2.1.313 installed,
xyz audit idenow reports it as a version with no upstream release. - Machines that report their extensions to CyberXYZ Dashboard show
Anthropic.claude-code2.1.313 as malicious.
A tampered build that reuses a real version number passes these version checks, and the tampered 2.1.312 is one. We are adding a file-hash check for installed extensions. Until it ships, use the svc-telemetry check: it covers both builds.
References
- CyberXYZ, registry reads on 30 Oct 2026: the npm time map for
@anthropic-ai/claude-code, the tags and releases of anthropics/claude-code on GitHub, the Open VSX API, and the extension-query API of Microsoft's and Cursor's marketplaces; our npm publish feed - CyberXYZ, downloads of
Anthropic.claude-code2.1.312 for darwin-arm64 and win32-x64 from Open VSX, Microsoft's marketplace and Cursor's marketplace on 1 Nov 2026, hashed with sha256 - Cursor, Claude Code extension security notice, updated 30 Oct 2026, 11:30 PT