LIVE FEED
ATLAS OWASP CRITICAL Active exploitation · Immediate action required RELEVANCE ▲ 9.2

Claude Code VS Code Extension Trojanized with SSH Backdoor

TL;DR CRITICAL
  • What happened: Official Claude Code VS Code extension trojanized on Cursor marketplace with persistent SSH backdoor.
  • Who's at risk: Developers using the Cursor IDE who installed Claude Code extension version 2.1.313 are directly exposed to persistent attacker SSH access and credential reconnaissance.
  • Act now: Immediately update to Claude Code extension v2.1.314 or later from the official marketplace · Remove the attacker SSH key 'svc-telemetry' from ~/.ssh/authorized_keys on all affected hosts · Audit and rotate all cloud credentials, API tokens, and secrets on affected developer machines · Remove persistence mechanisms: check scheduled tasks (Windows), crontab (Linux), and LaunchAgent (macOS) · Block or monitor outbound connections to 134.209.82.225 across your environment
Claude Code VS Code Extension Trojanized with SSH Backdoor

Overview

On October 30, 2026, cybersecurity researchers disclosed that the official Anthropic Claude Code extension distributed through the Cursor IDE marketplace had been trojanized with a persistent SSH backdoor. The compromise affected up to 5,000 users who installed the malicious version 2.1.313 of the extension. Cursor briefly took the marketplace offline to remediate the incident, and Anthropic subsequently published a clean version 2.1.314 to both Open VSX and the Microsoft VS Code Marketplace. The incident highlights the growing risk of AI developer tooling as a high-value supply chain attack surface.

Technical Analysis

The malicious package identified itself as anthropic.claude-code version 2.1.313. A 66-line JavaScript loader was inserted before the legitimate extension code in the main bundle, activating after VS Code startup and when the extension’s webview opens.

Execution chain:

  1. SSH Key Injection — Appends an attacker-controlled public key labelled svc-telemetry to ~/.ssh/authorized_keys.
  2. SSH Service Activation — Attempts to enable the local SSH daemon across Windows, Linux, and macOS (requires admin rights; fails silently on hardened macOS/Windows hosts).
  3. Reverse Tunnel — Establishes a reverse SSH tunnel to 134.209.82[.]225, providing the attacker a pathway into the victim’s machine.
  4. Persistence — Installs platform-specific persistence: Windows scheduled task, Linux crontab, macOS LaunchAgent.
  5. Host Beacon — Transmits host reconnaissance data via unencrypted HTTP POST to 134.209.82[.]225:8099/beacon.

Beaconed data includes:

  • Public IP (via api.ipify.org)
  • Hostname and local username
  • OS and CPU architecture
  • Home and working directories
  • Global Git email
  • Names (not values) of up to 40 environment variables matching patterns: KEY, TOKEN, SECRET, PASS, AWS, GCP

While environment variable values are not exfiltrated in the initial beacon, successful SSH tunnel access would allow direct inspection of the full environment.

Framework Mapping

FrameworkTechniqueRationale
MITRE ATLASAML.T0010 – AI Supply Chain CompromiseAttacker compromised an AI coding tool’s marketplace distribution
MITRE ATLASAML.T0115 – Publish Poisoned AI ArtifactsTrojanized extension published as legitimate Anthropic package
MITRE ATLASAML.T0083 – Credentials from AI Agent ConfigHarvesting cloud credential names from developer environments
OWASPLLM05 – Supply Chain VulnerabilitiesCompromise via third-party marketplace, not the core model
OWASPLLM06 – Sensitive Information DisclosureCredential metadata and host data exfiltrated
OWASPLLM07 – Insecure Plugin DesignExtension granted filesystem and network access without adequate integrity controls

Impact Assessment

Up to 5,000 developer workstations may have been compromised. Developers represent a high-value target: their machines typically hold cloud credentials, source code, API tokens, and access to CI/CD pipelines. Even where the SSH service could not be enabled (most macOS and Windows hosts without admin rights), the attacker’s SSH key remains installed and persistence mechanisms are active. The recon beacon also provides enough metadata to prioritise high-value targets for follow-on manual access.

Mitigation & Recommendations

  1. Update immediately to Claude Code v2.1.314 from the official marketplace.
  2. Purge the rogue SSH key: remove any entry labelled svc-telemetry from ~/.ssh/authorized_keys.
  3. Remove persistence: delete associated scheduled tasks (Windows), crontab entries (Linux), or LaunchAgents (macOS).
  4. Rotate credentials: treat all secrets and API tokens on affected machines as compromised; rotate immediately.
  5. Network block: add 134.209.82.225 to firewall blocklists and audit historical DNS/HTTP logs for beacon traffic.
  6. Audit extension provenance: enforce extension allowlisting in enterprise VS Code/Cursor deployments.

References

◉ AI THREAT BRIEFING

Stay ahead of the threat.

Twice-weekly digest of critical AI security developments — every story mapped to MITRE ATLAS and OWASP LLM Top 10. Free.

No spam. Unsubscribe anytime.