A supply-chain attack hit Anthropic's official Claude extension on the Cursor marketplace, with the compromised build (version 2.1.313) live for roughly 12 hours before Anthropic pushed a clean replacement (2.1.314). Cursor estimates up to 5,000 users were exposed — either through manual installs or, more likely, Cursor's default auto-update behavior silently pulling the malicious version onto their machines.
The payload was purpose-built for persistence. According to Cursor and security researcher Kevin Beaumont, version 2.1.313 injected an attacker-controlled SSH key, enabled the local SSH service if it wasn't already running, and opened a reverse SSH tunnel — giving the attacker an ongoing remote foothold. The code targeted all three major platforms: Windows, macOS, and Linux.

Because Cursor extensions inherit the permissions of the IDE process itself, a successful install would hand the attacker access to local files, source code repositories, environment variables, and developer tooling — exactly the kind of access that makes IDE-level supply-chain attacks disproportionately dangerous compared to compromising a standalone utility.
The critical unanswered question is how the attackers gained control of Anthropic's verified Cursor publisher account in the first place. Neither Anthropic nor Cursor had publicly explained the account takeover as of the time of reporting. Anthropic also had not issued any direct customer notification about the incident — a significant gap given that affected developers need to audit their systems for residual SSH keys and unauthorized tunnel activity.
If you use the Claude extension on Cursor, verify you are running 2.1.314 or later, audit your ~/.ssh/authorized_keys and equivalent Windows/macOS SSH config locations for unfamiliar keys, and check for unexpected SSH processes or outbound tunnel connections. Teams running Cursor in CI/CD pipelines or on shared build infrastructure should treat any machine that ran 2.1.313 as potentially compromised until investigated.
