Postmortem on Claude Code Cursor extension hack microsoft.com · 7 points · 1 com...
HN Best 200 @best
Postmortem on Claude Code Cursor extension hack microsoft.com · 7 points · 1 comments · HN thread
TL;DR Microsoft Threat Intelligence analyzes a tampered anthropic.claude-code extension (versions 2.1.312 and 2.1.313) that was served from the Cursor extension marketplace for a few hours on October 29, 2026. The injected JavaScript loader tries to add an attacker SSH key, enable SSH, set up a reverse tunnel, establish persistence, and report host details. Microsoft says the Visual Studio Marketplace and npm packages were not affected, and Anthropic says its systems were not compromised.
- Cursor reported the malicious extension was live from about 2:27 AM to 1:35 PM PDT on October 29, 2026.
- The loader runs when the extension module loads, collects hostname, user, OS, architecture, home and working directories, global Git email, and up to forty environment-variable names matching terms like KEY, TOKEN, or SECRET (names only, not values).
- It appends an embedded Ed25519 public key tagged svc-telemetry to authorized_keys and starts an outbound reverse SSH tunnel (-N -R '*:0:localhost:22') that retries every sixty seconds.
- Persistence is platform-specific: a macOS LaunchAgent named com.apple.sysmond, a Linux user-crontab @reboot entry, and a Windows SysMon scheduled task or Startup-folder batch file.
- Successful remote access depends on host privileges, SSH configuration and the attacker's server; Cursor reported that errors and administrator requirements blocked SSH access on most macOS and Windows hosts, though keys and persistence could still be written.
- Microsoft gives remediation steps, Defender XDR detections, advanced hunting queries and IOCs, including the reported IP 134.209.82.225 and the svc-telemetry key fingerprint.
Discussion The comment thread is essentially empty: a single comment suggests the Hacker News title should match the article's own title, "Inside a malicious Claude Code-branded extension and its persistent SSH backdoor", rather than the submitted "Postmortem on Claude Code Cursor extension hack". There is no substantive technical discussion or debate.
- HN title should match the article's own title (a few): The only commenter points out that the submitted title differs from the article's headline and proposes the article's wording instead. No one else weighed in on the incident or the analysis.
#security #supplyChain #malware #SSH #Cursor #VSCodeExtensions