An official Anthropic extension hosted on the Cursor IDE marketplace was compromised for nearly 12 hours, exposing up to 5,000 developers to a supply-chain attack. Malicious version 2.1.313 was published directly through Anthropic’s verified publisher account, automatically updating on affected systems.

According to security firm Phorian, the malicious package attempted to install a persistent SSH key, enable local SSH services, and initiate a reverse tunnel to an external server. The payload also scanned local machines for environment variables, API keys, and cloud credentials. While coding errors prevented execution on some Windows and macOS configurations, the extension ran with full IDE system permissions.

Cursor operators collaborated with infrastructure providers to sever host connections to the command-and-control server, removed the compromised package, and released updated clean versions. Cursor temporarily shut down its marketplace to audit permissions and rotate cryptographic keys. Neither Anthropic nor Cursor has publicly disclosed how the publisher account was initially compromised.

Why it matters

  • Highlights severe security vulnerabilities in developer environment extensions, where compromised accounts can leak high-value cloud credentials.

  • Underscores the risks of automated extension updates in critical developer toolchains.

Source: arstechnica.com