Security notice — malicious version of Anthropic.claude-code (2.1.312 and 2.1.313) identified in the Cursor VS Code Extension Marketplace

Impact 8 Cursor Blog

Summary

  • Cursor identified and removed malicious versions (2.1.312 and 2.1.313) of the Anthropic.claude-code extension from its marketplace.
  • The compromised extensions attempted to collect host details, install a persistent SSH backdoor, and open a reverse tunnel.
  • Most hosts lacked administrator privileges required to fully execute the local SSH service enablement, limiting impact.
  • Cursor temporarily shut down the marketplace, audited access, rotated keys, and collaborated with cloud hosts to disable the attacker server.
  • Users who installed the affected versions between specific hours are advised to run provided remediation scripts and rotate credentials.

Why it matters

This security incident highlights supply chain risks in AI development environments, demonstrating how compromised extensions can attempt unauthorized system access and credential harvesting.

Who should care