Trojanized Claude Code Extension Hit Cursor's Marketplace, Affecting Up to 5,000 Developers
On October 29, Cursor's extension marketplace served tampered Claude Code extension builds 2.1.312 and 2.1.313 for about 11 hours; Cursor says at most 5,000 users received them, and the build planted an attacker SSH key plus persistence that uninstalling the extension cannot remove.

What happened
The tampered build was nearly identical to the official extension, except for a loader of about 7 KB embedded at the start of extension.js; it executed as soon as the extension module loaded, with no conversation needed and no package-manager lifecycle hooks involved.
The loader collected the hostname, username, operating system, architecture, home directory, Git email and public IP address, swept environment variable names matching KEY, TOKEN, SECRET, PASS, AWS or GCP patterns, and sent them over plain HTTP to 134.209.82.225:8099; it then added an attacker SSH key labelled svc-telemetry to authorized_keys, tried to enable the local SSH service and opened a reverse tunnel, retrying roughly every 60 seconds.
Cursor removed the affected versions at 20:35 UTC on October 29 and took its entire extension marketplace offline for audit, rotating keys and rebuilding the service before restoring it; the attacker server has since been taken offline with the hosting provider's cooperation, and the audit found no other tampered extensions. Anthropic said its own systems and employee laptops were not compromised, the tampered build was not its release, version 2.1.313 never appeared on Open-VSX, the Microsoft Visual Studio Marketplace or npm, and clean version 2.1.314 was published at 01:07 UTC on October 30.
Key facts
- Exposure window: From about 2:27 a.m. to 1:35 p.m. Pacific Time on October 29 (09:27–20:35 UTC), Cursor's extension marketplace served tampered anthropic.claude-code builds 2.1.312 and 2.1.313 for macOS and Windows
- Scale: Cursor says at most 5,000 users received the tampered build and plans to contact affected users directly
- Payload: On load, the extension collected host details and environment variable names and sent them out, planted the svc-telemetry key and opened a reverse tunnel; persistence used the com.apple.sysmond LaunchAgent on macOS, the SysMon scheduled task and Startup script on Windows, and an @reboot cron entry on Linux
- Backdoor did not open: Enabling the local SSH service requires administrator privileges and the malicious code had defects, so the tunnel failed on most affected machines; but the key and persistence scripts still landed on disk, and neither uninstalling the extension nor upgrading to 2.1.314 removes them
- Response: Cursor pulled the tampered builds and took the marketplace fully offline for audit, rotated keys and rebuilt the service, and the attacker server is offline; the audit found no other tampered extensions
- Open question: How the attacker published the tampered build under Anthropic's publisher identity on Cursor's marketplace has not been disclosed by either Cursor or Anthropic
Why it matters
The tampered build shipped under Anthropic's publisher identity and version number, bypassing the trust check users place on extension marketplaces; affected developers must run cleanup scripts and rotate credentials, since uninstalling the extension alone is not enough.
CompaniesAnthropic
Follow HIMIAO Horizon
No sign-up · Unsubscribe any timeNotifications
A ping on your phone or computer when the brief is out. No email needed.
Comments
Related
- Oct 8One Man, One AI Stack, Nine Banks: CrowdStrike Details the AI-Driven Korean Bank Hacks
- Oct 22Claude Code vs Codex CLI vs Gemini CLI: Three Terminal Coding Agents Compared
- Oct 20Claude-Powered Job-Search Framework Tops GitHub Daily Trending: 69 Applications, 20 Interviews, One AI Engineer Offer
- Oct 18DeepSeek Releases V4.1-Flash-1017: MIT-Licensed Weights, In-House Search API
- Oct 14Anthropic Seeks Rehearing on Pentagon's 'National Security Supply Chain Risk' Label
Today
Nov 1 Sunday- Brief
- GitHubGitHub Weekly Vol.3: 6 Projects Worth a Look This Week
Tested or read — weeklyAll →
- Quiz
- Call
Latest news
All →- Nov 1Toyota to Build Waymo Robotaxis: bZ4X Fleet Testing in Japan from 2027
- Oct 31OpenAI Releases GPT-Rosalind-6 for Approved Biology Research Organizations
- Oct 31Wikimedia Foundation Weighs In on NYT v. OpenAI: Split Training From Chatbot Answers
- Oct 31Apple Confirms Apple Intelligence for China: Testing Nov 4, Public Launch With iOS 27.3 in December
- Oct 31OpenAI Cuts Funding Target to $20 Billion From $30 Billion, Reports Say
- Oct 31EMBRACE, Explained: How Embedded Browsers in Five AI Coding Tools Broke Basic Browser Rules
™