The source
‘Uninstalling the extension leaves the backdoor in place.’
What happened
Claude Code is an AI coding tool from Anthropic. Cursor is a code editor with its own extension marketplace. On 29 October, from about 09:27 to 20:35 UTC, that marketplace carried version 2.1.313 of the Claude Code extension with attack code added. Cursor estimates up to 5,000 users.
Once loaded, the attack code ran with nothing further from the user. The code added an attacker's SSH key labelled svc-telemetry and tried to open a tunnel to the attacker's server. Next the code set itself to restart with the computer and sent out details of the machine.
Cursor removed the extension, shut its marketplace for an audit, and rotated its access keys. The attacker is unnamed. Cursor has not explained how the package was published under Anthropic's name.
Confirmed by Cursor, Phorion, Sophos, and Microsoft. Cursor says coding errors blocked access on most Mac and Windows machines, although the key and the restart entries may still have been written. Microsoft says the Visual Studio Marketplace and npm were not involved. Anthropic says its systems were not compromised and that Anthropic did not create the package.
Reported by one source, not yet confirmed
Microsoft says version 2.1.312 was tampered with as well. BleepingComputer reports that Cursor found no evidence of any other affected version.
Why it matters
The extension carried a trusted name in the place developers go for their tools. A developer's machine holds the keys to everything that developer builds, so your systems may sit behind it.
What to do
Ask whether anyone who works on your systems uses Cursor, including outside developers.
If so, check whether Claude Code 2.1.313 or 2.1.312 was installed through Cursor on 29 October.
Look for an SSH key labelled svc-telemetry in the authorized_keys file.
Remove the key, the restart entries, and any tunnel processes as well as the extension. Microsoft and Cursor publish the steps. Read any clean-up script before you run it.
Change every password and key that machine could reach. If you cannot trust the machine, rebuild it.
Allow extensions from approved publishers only, and wait a few days before installing a new release.