Trojanized Claude Code Extension Delivered SSH Backdoor via Cursor Marketplace
Built from 8 signals across 8 sources · 407 items reviewed
A supply chain compromise placed a backdoored version of Anthropic's Claude Code extension in Cursor's marketplace for roughly 11-12 hours, reaching up to 5,000 users before removal. The malicious versions added SSH keys, installed persistence mechanisms, and exfiltrated host data—but the compromise occurred on Cursor's distribution channel, not Anthropic's systems, and only affects users who installed through Cursor's marketplace.
- Malicious versions 2.1.312 and 2.1.313 were distributed through the Cursor Marketplace under Anthropic's legitimate extension ID (anthropic.claude-code) on October 29, remaining available for approximately 11-12 hours before removal.
- The backdoor added an SSH authorized key, attempted to establish a reverse SSH tunnel, installed persistence across macOS, Linux, and Windows, and collected hostname, username, OS, and public IP address.
- Cursor reports at most 5,000 users were affected; the company took its entire marketplace offline during remediation and confirmed no other extensions were compromised.
- Anthropic states the tampered extension was not built or published by them, and versions on official channels remain unaffected—only Cursor marketplace users are impacted.
- Neither Cursor nor Anthropic has explained how attackers gained access to publish under Anthropic's verified Cursor account.
Bottom line If you installed Claude Code through Cursor's marketplace, immediately check for versions 2.1.312 or 2.1.313, review for unauthorized SSH keys and persistence mechanisms, and engage incident response.
Signals8
- Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
- Official Claude Code Extension on Cursor Marketplace Trojanized with Persistent SSH Backdoor
- Anthropic says a malicious actor used access to Cursor's marketplace to publish a "tampered" copy of the Claude Code extension, which it didn't build or publish (Felix Rieseberg/@felixrieseberg)
- Anthropic VS code extension on Cursor backdoored for nearly 12 hours
- Malicious Claude Code extension in Cursor's marketplace attempted remote access and data theft
- Claude Code VS Code extension with backdoor released on Cursor marketplace
- Backdoors in official Claude Code extensions
- Cursor Removes Malicious Claude Code 2.1.313 Extension From Its Marketplace
This is one story. The Brief gives you the whole day each morning, every claim sourced.