A malicious version of the Claude Code extension for VS Code, identified as v2.1.313, was distributed through the Cursor IDE marketplace on Oct 29, affecting at most 5,000 users. The compromise occurred over an 11 hour window, during which attackers used a fraudulent update that appeared as a legitimate version of the Anthropic-developed tool to install an unauthorized SSH key and persistent backdoors on user systems.
The malware attempted to establish a reverse SSH tunnel and transmit host data to an external server, though some functions failed to execute without administrative privileges. Cursor Temporarily disabled its marketplace to neutralize the threat and has since reinstated it, stating that the rogue build was not produced by Anthropic. The company is urging affected customers to update to version 2.1.314 and manually remove any persistence scripts left by the malware.
