Two malicious versions of Anthropic's Claude Code extension on the Cursor marketplace tried to install a persistent SSH backdoor on Windows and macOS computers. Cursor says the tampered versions were available from about 2:27am to 1:35pm Pacific time on October 29, 2026. Cursor says Anthropic did not develop them.
Cursor says the code collected the hostname, username, operating system, home directory path, Git email and public IP address. It then tried to add an attacker's SSH key, which is a login credential, to the computer's list of approved keys. It also tried to open a reverse tunnel, a connection that lets an outsider reach the machine from outside. Scripts retried that tunnel roughly every 60 seconds.
Cursor says the login step needed administrator rights, which the extension lacks on most Windows and Mac computers. Errors in the code would also have made that step fail. On those machines, Cursor says, the attacker could not have logged in through the tunnel, though the key was still added and host details were sent.
Cursor removed the versions, shut down the marketplace, rotated its keys and rebuilt it. It says it worked with the hosting provider to take the attacker's server offline. Cursor says uninstalling the extension may not be enough, because the code drops standalone scripts that keep running.