← INCIDENTS

Poisoned Claude Code extensions planted persistent SSH backdoors through Cursor

Maliciously modified versions 2.1.312 and 2.1.313 of Anthropic's Claude Code extension were distributed through Cursor's extension marketplace for roughly 11 hours. The packages installed persistence, added an attacker-controlled SSH key and reported host information; Cursor says at most 5,000 users were affected and uninstalling the extension alone may not remove the payload.

Cursor says maliciously modified versions 2.1.312 and 2.1.313 of Anthropic's Claude Code extension were available in its VS Code Extension Marketplace for Windows and macOS between about 2:27 a.m. and 1:35 p.m. Pacific time on October 29. The packages were not created by Anthropic, and Cursor estimates that no more than 5,000 users were affected.

The payload collected host and user information, added an attacker-controlled key to SSH authorized keys, installed persistence and repeatedly attempted to open a reverse SSH tunnel. Bugs and missing administrator privileges prevented the SSH service from being enabled on most Windows and macOS machines, but the key, persistence files and data beacon still ran.

Cursor removed the packages, shut down and rebuilt its marketplace, rotated keys and worked with the hosting provider to disable the attack server. It warns that uninstalling the extension is insufficient because standalone scripts remain, and advises affected users to isolate hosts, remove the persistence and SSH key, consider rebuilding systems and rotate accessible credentials from a trusted machine.

Sources

  1. Cursor: Security notice for malicious Anthropic.claude-code versions cursor.com
← More INCIDENTS news