RC RANDOM CHAOS

Claude Code Extension Compromised to Install SSH Backdoor

· via The Hacker News

Original source

Official Claude Code VS Code Extension Compromised to Install Persistent SSH Backdoor

The Hacker News →

A trojanized version of Anthropic’s Claude Code extension infected roughly 5,000 developers through the Cursor IDE marketplace. The malicious build, masquerading as version 2.1.313, contained a 66-line payload that established a persistent SSH backdoor for remote access and data harvesting. Cursor detected and removed the compromised extension within hours on October 29, 2026, though users with auto-update enabled could have already downloaded it.

The backdoor automated several attack stages: it injected an attacker-controlled SSH key into the user’s authorized_keys file, created a reverse tunnel to exfiltrate reconnaissance data, and installed platform-specific persistence through scheduled tasks, cron jobs, and LaunchAgents. The malware also exfiltrated the system’s public IP, hostname, OS details, and notably, environment variable names containing keywords like SECRET, TOKEN, and AWS credentials—revealing which cloud providers and CI systems a developer uses.

The attack’s effectiveness varied by platform. Windows and macOS hosts were partially protected because enabling SSH service requires administrator privileges that the extension lacks on most systems, preventing the reverse tunnel from completing. However, the SSH key and persistence mechanisms still installed regardless. Anthropic patched the vulnerability with version 2.1.314 across marketplaces. Cursor advised impacted users to isolate their systems, remove unauthorized SSH keys, delete persistence artifacts, and rotate credentials.

Read the full article

Continue reading at The Hacker News →

This is an AI-generated summary. Read the original for the full story.