Skip to main content

Kaer NewsSoftware

Tampered Claude Code extension implants SSH backdoor for 5000 developers

A malicious version of the Anthropic extension was distributed via Cursor marketplace on 29 October, exposing users to malware for 11 hours.

3 min read
Tampered Claude Code extension implants SSH backdoor for 5000 developersPhoto: The Register

Key points

A tampered Anthropic Code extension distributed on Cursor marketplace on 29 October installed SSH backdoors on up to 5000 developer machines.

A malicious version of the official Claude Code extension was distributed through the Cursor marketplace on 29 October. The compromised package remained available for approximately 11 hours between 2:27 am and 1:35 pm Pacific Time. Security researchers identified the threat as a targeted supply-chain attack designed to install persistent SSH backdoors on developer machines.

The extension carried version number 2.1.313 and was published under the name Anthropic without the company authorizing the release. According to Cursor, up to 5000 developers downloaded the tainted package during the exposure window. This incident marks a significant breach of trust in software supply chains where legitimate extension names are used to mask malicious payloads.

Extension exposed for 11 hours

Upon installation the malware executes automatically without requiring user interaction with the coding assistant. It collects sensitive system information including usernames configured Git emails and public IP addresses from the host machine. The script also attempts to open a reverse SSH tunnel to allow remote access to compromised devices. Analysis by Phorion and OpenSourceMalware revealed that attackers inserted a malicious JavaScript loader at the beginning of the extension file. The legitimate extension code remained otherwise unchanged to avoid detection. This technique allows the malware to run silently whenever the extension loads in the Visual Studio Code environment.

Backdoor coding errors prevent access

Coding errors in the SSH setup routines likely prevented attackers from gaining remote access to many affected systems. Despite these failures the malware still installs attacker-controlled SSH keys and establishes persistence mechanisms on infected machines. It sends collected reconnaissance data to a server at IP address 134.209.82.225. Administrators must manually remove persistence entries through launch agents or scheduled tasks to fully eliminate the threat.

Cursor responded by removing the malicious version from the marketplace immediately upon detection and blocking further distribution. The company followed with a full shutdown of the VSCode Marketplace to audit other extensions and rotate access keys. It also worked with a cloud hosting provider to block connections to the attacker server server.

Remediation instructions require users to check for the presence of an svc telemetry SSH key on their machines. Simply installing the latest version of the extension is not enough to clear the persistence mechanism. Users should isolate affected machines rotate accessible secrets and rebuild the environment from safe backups if compromise is confirmed.

Remediation requires manual cleanup

Anthropic has denied allegations that the malicious version was linked to any compromise of its own systems. The company said it is working with Cursor on the incident. Neither Cursor nor Anthropic have commented on how the malicious package made its way to the official marketplace. Questions remain about the supply chain attack and whether either company systems were compromised during the incident.

Anthropic denies system compromise

Security researchers warn that similar vulnerabilities could affect other developer tools relying on marketplace distribution. The incident highlights the risks of trusting third-party extensions even when they appear to come from official sources. Users are advised to review all installed extensions for unexpected behaviors. The attack occurred during a period of heightened scrutiny on artificial intelligence development tools. Organizations are advised to implement stricter verification processes for software dependencies. The full details of how to remediate the issue are available in Cursor advisory document.

Frequently asked questions

What version of the Claude Code extension was compromised?

The malicious extension used version number 2.1.313 and was available for approximately 11 hours on 29 October.

How many developers were affected by the attack?

According to Cursor, up to 5000 developers were exposed to the malware during the exposure window.

Why did the SSH backdoor fail to provide remote access?

Coding errors in the malware's SSH setup routines likely prevented attackers from gaining remote access to many affected systems.

More from this edition