Type / to search

    ↑ ↓ to choose, Enter to open, Esc to close, > for commands

    patchnotes/claude-code-cursor-marketplace-backdoorPublic
    You are viewing version 1 of 2, as of 30 October 2026, kept exactly as it was. Go to the current version or see what changed since.
    README.mdAdd account of malicious Claude Code 2.1.313 distributed through Cursor marketplace30 October 2026

    AI-generated summary. May contain factual errors. Check the linked sources. Report an error.

    Malicious Claude Code update on Cursor marketplace planted SSH backdoors

    A trojanized version of Anthropic's Claude Code extension was served through Cursor's marketplace on 29 October 2026 and tried to install an SSH backdoor. How the attackers got the update onto the listing, and whether other systems were touched, remain open.

    Investigation openAs of 30 October 2026v1

    Where it stands: 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 Code Marketplace. Read on

    What happened

    On 29 October 2026, a malicious version 2.1.313 of Anthropic's Claude Code extension was available in Cursor's VS Code extension marketplace for about 11 hours, between about 2:27 a.m. and 1:35 p.m. PT.12 Cursor says at most 5,000 users may have installed it and that Anthropic did not develop it.23 The update carried code that tries to add an attacker-controlled SSH key, open a reverse tunnel, and send host details to a remote server.23

    Where it stands

    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 Code Marketplace.2 Cursor took the attacker's server offline with its hosting provider, shut its marketplace while it audited and rotated keys, and then reinstated it, saying it found no other affected extensions.31 How the attackers got the update onto Cursor's listing has not been explained, and whether Cursor's or Anthropic's systems were compromised is still an open question.1 When Ars Technica reported, Anthropic had not issued a public notice to customers.4

    How the malicious update worked

    • 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.4
    • 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

    Cursor's response and Anthropic's release

    • 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
    • Cursor says it will contact the affected users directly.23
    • Anthropic published version 2.1.314 to Open VSX and Microsoft's Visual Studio Code Marketplace, and the malicious version has been removed.2
    • Kevin Beaumont, an independent researcher, said Anthropic pushed version 2.1.314 several hours after version 2.1.313 became available on Cursor.4

    Checks and cleanup for affected users

    • 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

    What the exposure cost users

    • Up to 5,000 developers may have had the malicious version installed, leaving their machines exposed to a planted key and a reverse tunnel that give the operator a way in where SSH is running.23
    • 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

    What is not yet verified

    Warning

    • 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
    • The account that Anthropic's official listing was used rests on researchers quoted by Ars Technica, and Cursor has not explained the method.41
    • The 2.1.314 timing comes from one researcher quoted by Ars Technica and has not been independently confirmed.4

    Where sources disagree

    • 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.41
    • 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
    • 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

    Timeline

    1. 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
    2. Cursor pulls the malicious version after about 11 hours and temporarily shuts its marketplace.31
    3. The Hacker News, Help Net Security, Bleeping Computer and Ars Technica report the incident.2314
    4. Help Net Security adds an update disputing that Open VSX was compromised.3
    5. As of this date the malicious version is removed and Anthropic has published 2.1.314 to Open VSX and Microsoft's marketplace.2

    Open questions

    • How did the malicious build reach Anthropic's listing in Cursor's marketplace, and were Cursor's or Anthropic's systems compromised?1
    • Did the operator reach any machine where SSH was already running, and were any environment variable values or files taken afterwards?31
    • Did the malicious version reach Open VSX, as Help Net Security first reported, or was Cursor the only source?31
    • When exactly does the payload run: after startup and webview opening, or as soon as Node loads the file?23
    • Will Anthropic issue a public notice to customers?4
    • Who operated the attacker's server at 134.209.82[.]225, and which cloud provider hosted it?3

    Sources cited

    1. 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.
      1234567891011121314151617181920212223242526
    2. 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.
      123456789101112131415161718192021222324252627
    3. 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
    4. 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.
      12345678

    Keyboard shortcuts

    / or Ctrl K
    Search everything
    j k
    Next or previous section
    g h
    Go to stories
    g c
    Go to changes
    g t
    Go to topics
    g r
    This story's README
    g i
    Its issues
    g p
    Its pull requests
    g d
    Its discussions
    g w
    Its wiki
    g b
    Its branches
    g l
    Its commits
    g s
    Its sources
    y
    The permanent link to this version
    ?
    Show this list