Malicious Claude Code update on Cursor marketplace planted SSH backdoors
claude-code-cursor-marketplace-backdoor / README.md
Read itEach line of main (version 2) with the version that last wrote it. 26 of 80 lines are new or rewritten in version 2.
AI-generated summary. May contain factual errors. Check the linked sources. Report an error.
README.md › What happened
v216 November 2026
- On 29 October 2026, malicious versions 2.1.312 and 2.1.313 of Anthropic's Claude Code extension were available in Cursor's VS Code extension marketplace for about 11 hours, between about 2:27 a.m. and 1:35 p.m.
v216 November 2026
v130 October 2026
README.md › Where it stands
v216 November 2026
- The malicious version has been removed, and as of 30 October 2026 Anthropic had published version 2.1.314 to Open VSX and Microsoft's Visual Studio Marketplace.2
v130 October 2026
v216 November 2026
- Cursor's November incident report says the marketplace builds were placed through a breach of its own systems that began with a stolen Fireworks AI key, and Anthropic says its systems and employee laptops were not compromised.567
- Cursor says it has seen no attacker activity in its environment since 1 November 2026 and considers the incident contained.8
- Whether the operator reached any machine where SSH was already running, and whether any files or environment variable values were taken, is not yet known.31
README.md › How the malicious update worked
v130 October 2026
- Jenn Gile of OpenSourceMalware said the main JavaScript bundle contains a 66-line malicious loader inserted before the legitimate extension code.2
- Researchers at Phorion and OpenSourceMalware found the loader at the start of the extension.js file, with the rest of the code otherwise unchanged.13
- The code runs when the extension loads, without the user having to interact with Claude Code.13
- The code adds an attacker-controlled SSH key labelled svc-telemetry to the user's ~/.ssh/authorized_keys file.23
- It opens a reverse tunnel to 134.209.82[.]225, retries about every minute, and keeps running after the editor is closed.231
- On macOS a LaunchAgent or a startup file with an Apple-style name is used, on Linux a cron entry, and on Windows a scheduled task called SysMon, falling back to the Startup folder.32
- Host details are sent to 134.209.82[.]225 on port 8099 over an unencrypted HTTP request.2
- The collected data includes the public IP address, hostname and local username, operating system and CPU architecture, home and working directories, and the global Git email.23
- It also sends the names of up to 40 environment variables containing KEY, TOKEN, SECRET, PASS, AWS or GCP, which can reveal which cloud providers and credential types are configured.23
- On macOS the malware checks Remote Login without administrator rights, receives an error, and skips turning SSH on.13
- On Windows the SSH setup runs through /bin/sh, a Unix shell that standard Windows installations do not have, so that step fails.1
- Cursor says turning on SSH requires administrator rights the extension lacks on most Mac and Windows hosts, so the attacker could not have logged in through the tunnel there.23
- No other follow-on payloads have been observed, but the tunnel gives the operator a path to run commands or move files over SSH.2
- Extensions auto-update in Cursor by default, Phorion's Luke Roberts said, and users can change that in settings.9
- Help Net Security first reported that Phorion found the 2.1.313 package on Open VSX; a later update to that report, citing Manifold Security's Ax Sharma, disputes that Open VSX was compromised.3
- Bleeping Computer reports that early reports naming npm, Open VSX and Microsoft's marketplace were later contradicted, and that Cursor was the only source distributing the malicious extension.12
README.md › Cursor's response and Anthropic's release
v130 October 2026
- Cursor pulled the malicious version, audited access, found no other tampered extensions, rotated its keys, and then rebuilt the marketplace.31
- Cursor worked with the hosting provider to take the attacker's server offline, which stopped both the tunnel and the data reports.31
- Cursor reinstated its marketplace 'after confirming there is no further risk,' it said on X.3
v216 November 2026
- Cursor says it notified users who installed versions 2.1.312 or 2.1.313 during the exposure window, and helped them revoke exposed credentials.4
v130 October 2026
README.md › Checks and cleanup for affected users
v130 October 2026
- Users who installed or updated to version 2.1.313 should check their SSH authorized keys file for an entry labelled svc-telemetry.13
- Phorion suggests checking SSH logs for logins from localhost that used the svc-telemetry key.3
- Uninstalling the extension does not remove the backdoor, Phorion warns.3
- Cursor has published check and cleanup scripts for macOS and Windows, and both companies have shared indicators of compromise.3
- Cursor advises isolating affected machines, considering a rebuild from safe backups, and rotating credentials and sessions from a trusted system.31
README.md › How the attackers got in
v216 November 2026
- Cursor says an attacker obtained an access key it had issued to Fireworks AI, and that Fireworks exposed the key.4
- The attacker used that key to copy data from a read-only storage bucket Cursor shared with Fireworks.45
- Cursor says the bucket held coding-agent traces from sessions outside Privacy Mode, some with unredacted API credentials that let the attacker reach more Cursor systems.54
- Using credentials taken from Cursor's internal systems, the attacker placed malicious copies of Anthropic's Claude Code extension directly on the cache that serves Cursor's marketplace.54
- SecurityWeek reports that Fireworks was hacked twice in October, and that the Cursor key was compromised in one of those incidents.8
- Anthropic's Felix Rieseberg said the incident did not involve a compromise of Anthropic's systems or employee laptops, and that a malicious actor had used access to Cursor's marketplace.67
- The malware was never present in the Open VSX marketplace source, per SecurityWeek, and Cursor says the attack did not compromise Open VSX.85
README.md › What the exposure cost users
v216 November 2026
v130 October 2026
- Host details and the names of cloud and credential variables were sent to the operator's server, which Phorion's Calum Hall says gives an inventory of which hosts to go after first.32
- The payload drops standalone scripts that keep running, so removing the extension alone may not end the exposure.3
- Affected developers have to do the cleanup themselves, including isolating hosts, removing the key and persistence, and rotating credentials and sessions.21
- Cursor's whole marketplace was shut down for a period, affecting every user of it, not only the users who installed the malicious version.1
- Cursor says its limited data collection does not rule out later credential access through the backdoor.3
v216 November 2026
- Cursor says the attacker took archived non-production source code repositories, limited customer support data and emails, product usage metrics and contact details, and some credentials users had sent to its support team.4
- Cursor says fewer than 0.05% of users had coding-agent traces exposed, and fewer than 0.01% of customers had API credentials compromised.5
- Cursor temporarily turned off some internal and product services, which disrupted access to some Cursor features.4
README.md › What is not yet verified
v130 October 2026
- Cursor's figure of at most 5,000 users is an upper bound from its own notice, not a count of installs.23
- Cursor's findings that no other extensions or the official distribution were affected come from its own audit and have not been independently checked.13
- The claim that SSH setup failed on many Windows and macOS machines comes from researchers' code analysis and from Cursor; Hall warns the backdoor is ready on a Mac where Remote Login is already on.13
- Sources disagree on when the payload runs: The Hacker News says after VS Code startup and when the webview opens, while Help Net Security says as soon as Node loads the file.23
- Paul McCarty says environment variable values are not placed directly in the initial beacon, which leaves open whether they were sent later; Help Net Security says the values stay on the machine.23
v216 November 2026
- Cursor's account of how the builds were placed, through a breach that began with a Fireworks AI key, comes from its own incident report and has not been independently verified.54
- Cursor's figures on exposed traces and compromised credentials, fewer than 0.05% of users and fewer than 0.01% of customers, are its own and have not been independently checked.5
README.md › Where sources disagree
v130 October 2026
- The Anthropic account takeover framing argues that 2.1.313 was posted to Anthropic's official account and superseded version 2.1.312, while Cursor says only that Anthropic did not develop the malicious extension.91
- The Anthropic account takeover framing argues that the publisher identity is the point, since the build used Anthropic's real extension ID, so Cursor's statement that Anthropic did not develop it misses what happened.2
v216 November 2026
v130 October 2026
- The Broken SSH setup framing argues that coding errors in the malware's SSH setup likely kept attackers from gaining remote access to many affected Windows and macOS systems.13
- The Broken SSH setup framing rests on that bug, but Phorion's Calum Hall says the malware is still a significant threat that installs persistence and beacons host reconnaissance back to the operator.3
README.md › Timeline
v130 October 2026
- 2026-10-29: Malicious version 2.1.313 of the Claude Code extension is available in Cursor's marketplace, from about 2:27 a.m. to 1:35 p.m. PT.21
- 2026-10-29: Cursor pulls the malicious version after about 11 hours and temporarily shuts its marketplace.31
- 2026-10-30: The Hacker News, Help Net Security, Bleeping Computer and Ars Technica report the incident.2319
- 2026-10-30: Help Net Security adds an update disputing that Open VSX was compromised.3
- 2026-10-30: As of this date the malicious version is removed and Anthropic has published 2.1.314 to Open VSX and Microsoft's marketplace.2
v216 November 2026
README.md › Open questions
v216 November 2026
- Answered: How did the malicious build reach Anthropic's listing in Cursor's marketplace, and were Cursor's or Anthropic's systems compromised?1
v130 October 2026
v216 November 2026
Sources cited
- BleepingComputer · Malicious Claude Code extension on Cursor planted SSH backdoors · 30 October 2026
Cursor says Anthropic did not develop the malicious extension but has not explained how attackers distributed the compromised package under Anthropic's name.
12345678910111213141516171819202122232425 - The Hacker News · Official Claude Code Extension on Cursor Marketplace Trojanized with Persistent SSH Backdoor · 30 October 2026
The malicious update, version 2.1.313, was distributed under the extension's legitimate publisher identity, prompting Cursor to temporarily shut down its marketplace to remove the compromised package.
1234567891011121314151617181920212223242526 - Help Net Security · Claude Code extension poisoned with persistent SSH backdoor · 30 October 2026
The company spotted the malicious package, version 2.1.313, on Open VSX, an open-source marketplace for VS Code extensions run by the Eclipse Foundation.
12345678910111213141516171819202122232425262728293031323334353637383940 - The Hacker News · Cursor Says Stolen Fireworks AI Key Led to Trojanized Claude Code Extension Incident · Ravie Lakshmanan · 15 November 2026
An attacker obtained an access key we had issued to Fireworks
123456789101112 - BleepingComputer · Cursor confirms security breach led to malicious Claude Code extension · 14 November 2026
The attack did not compromise Anthropic's legitimate extension or Open VSX
1234567891011 - CSO Online · Cursor removes malicious Claude Code extension after SSH backdoor attempt · 2 November 2026
the incident did not involve a compromise of Anthropic’s systems or employee laptops
123 - SecurityWeek · Malicious Claude Code Extension Served in Cursor Supply Chain Attack · 2 November 2026
The modified extension versions were not developed by Anthropic, and neither was pushed to the Microsoft Visual Studio Marketplace, Open VSX, or the NPM registry.
12 - SecurityWeek · Cursor Supply Chain Attack Started at Fireworks AI · 16 November 2026
The malware was never present in the Open VSX marketplace source, but was served to the users who requested the cached versions of the extension.
1234 - Ars Technica · Anthropic VS code extension on Cursor backdoored for nearly 12 hours · 30 October 2026
The compromised package was a VS Code extension available in the marketplace of Cursor, a maker of AI-assisted developer tools, the company said Friday.
1234567