Per Cursor’s security notice, the malicious build was listed between about 2:27am and 1:35pm PT on October 29 and was not developed by Anthropic. The injected code runs before the extension activates: it collects hostname, username, environment variable names, Git email and public IP, appends an attacker-controlled key labelled svc-telemetry to SSH authorized_keys, then attempts to enable the local SSH service and open a reverse tunnel persisted via a LaunchAgent or scheduled task. Bugs and missing admin rights make the SSH-enabling step fail on most machines, but key injection, persistence and host-detail exfiltration still occur. Cursor removed the package, rebuilt the marketplace, rotated keys and worked with the hosting provider to take the attacker’s server offline.
Key facts
- The malicious build stayed on the marketplace for about 11 hours before removal, with at most 5,000 users affected
- 66 lines of injected JavaScript execute before the extension’s normal activation, requiring no user interaction
- Cursor advises checking authorized_keys for the svc-telemetry label, running its remediation scripts and rotating credentials
- A clean 2.1.314 has been republished to the Cursor marketplace and Open VSX
Big Share take
Distribution channels for AI coding tools are becoming high-value supply-chain targets: developer machines concentrate code, keys and production credentials, so a poisoned marketplace listing pays far better than ordinary phishing. Whitelist official sources and verify versions before installing AI coding extensions — treat it like locking your screen.
Compiled from public reports; opinions are for reference only.