A malicious Anthropic Claude Code extension was available in Cursor’s extension marketplace for Windows, macOS, and Linux for about 11 hours on Thursday. Cursor said the compromised extension was downloaded by as many as 5,000 users. The company temporarily shut down its marketplace while investigating, and said no other extensions were affected.
The extension contained a backdoor intended to give attackers access to infected devices—potentially a foothold for further attacks on a victim’s network. Cursor published remediation guidance for affected users.
A flaw in the malware’s design appears to have stopped it from fully installing on most devices. “Everyone was so lucky here,” said Calum Hall, cofounder and CEO of security firm Phorion, whose researchers first detected the extension on a customer’s Mac. “This was potentially a really dangerous foothold for an attacker.”
It remains unclear how the malicious extension reached Cursor’s marketplace. Although some researchers initially suspected a breach of Anthropic, the company said its systems were not compromised and that it did not create or publish the tainted versions.
Anthropic technical staff member Felix Rieseberg said a malicious actor used access to Cursor’s marketplace to upload a tampered copy. The official versions distributed through Anthropic’s channels were unaffected, he said. Anthropic security staff member David Dworken also confirmed the company was not involved in building, publishing, or hosting the compromised extension.
Cursor had not explained how the malicious upload occurred or whether its systems had been breached.