Science & Tech · Cybersecurity · 2 hrs ago

Malicious Claude Code extension exposed up to 5,000 Cursor users

Malicious Claude Code extension exposed up to 5,000 Cursor users

A tampered Claude Code extension reached Cursor’s marketplace on October 29 and was available for about 11 hours.

Claude Code is Anthropic’s AI coding assistant, and Cursor is a code editor that supports extensions made for Visual Studio Code.

Up to 5,000 developers may have been exposed to the malicious version, numbered 2.1.313.

The malware collected details such as usernames, Git email addresses and public IP addresses, and tried to install a persistent SSH backdoor.

The backdoor may have failed on many machines because of errors in its setup, but the malware could still send device information and leave files or settings behind.

Anthropic said its systems and employees’ laptops were not compromised, and that the malicious copy was not built or published by the company.

Cursor removed the extension and shut down its marketplace temporarily while checking other extensions, rotating its keys and working to block the attacker’s server.

Developers who installed it should follow Cursor’s cleanup guidance, because installing the latest version alone may not remove the infection.

3 sources

Related

What people are saying

Felix RiesebergAnthropic technical staff member
A malicious actor used access to Cursor's marketplace to publish a tampered copy of the Claude Code extension, which we didn't build or publish.
via The Register
CursorCompany
The extension runs malicious code that attempts to install a persistent SSH backdoor.
via BleepingComputer
We removed the malicious version from the marketplace immediately upon detection and blocked further distribution.
via The Register

Posts on X