Compromised Claude Code extension sat in Cursor marketplace for almost 12 hours
What happened
Version 2.1.313 of the Claude Code extension was published through Anthropic's official account on Cursor's marketplace. It tried to collect the machine name, username, OS and public IP address, and to open remote access for the attacker. Up to 5,000 users were affected. Cursor temporarily shut down the entire marketplace, and Anthropic pushed version 2.1.314 a few hours later. It's still unknown how the attacker got into the account.
Why it matters
Extensions in Cursor auto-update by default, so this attack didn't depend on any user mistake. If you use Claude Code in Cursor, check which version you have and consider updating extensions manually.