Malicious Claude Code Extension with SSH Backdoor Found in Cursor Marketplace Affecting Up to 5000 Users

A malicious version of the Claude Code extension was discovered in the Cursor extension catalog on October 29. The package, version 2.1.313, remained available for approximately 11 hours and could have impacted up to 5000 users. It was not developed by Anthropic and instead collected system information including IP addresses and Git email settings before installing an attacker-controlled SSH key. The extension attempted to establish remote access with persistence mechanisms, though some installations failed due to missing administrative privileges. Cursor responded by removing the package, auditing other extensions, and disabling the attackers' server. Users are advised to fully clean up residual scripts and rotate credentials from a trusted device rather than simply uninstalling the extension.

AntiMalwareTranslated from Russian

Read at source

A malicious version of the Claude Code extension was discovered in the Cursor extension marketplace, exposing users to an SSH backdoor. The package, identified as version 2.1.313, was distributed for roughly 11 hours on October 29 and may have reached up to 5000 users before removal.

The extension was not created by Anthropic. Instead, it gathered detailed system and user information, including the machine's IP address and the email configured in Git settings. It then added an attacker-controlled SSH key and attempted to establish remote access with persistence mechanisms on the compromised system.

Some users avoided full compromise because the backdoor required administrative privileges that were not always present. Nevertheless, the collection of machine data, installation of foreign SSH keys, and execution of background scripts still posed a serious risk even without successful remote access.

Cursor promptly removed the malicious package, conducted a review of other extensions, and arranged for the attackers' command server to be taken offline. Security teams recommend that affected users thoroughly remove any leftover scripts and change credentials from a trusted device, as simply uninstalling the extension is insufficient to eliminate the threat.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Supply Chain & Open Source

Passwordless Kubernetes Image Pulling with Artifact Keeper via ServiceAccount Tokens
Malicious Code Injected into LiteLLM Open Source AI Package via Supply Chain Attack
GhostAction Campaign Compromises 790 GitHub Repositories via Malicious Workflows