Trusted Tool, Malicious Build: What the Trojanized Claude Code Extension Means for Developer Endpoints
On October 29, 2026, a malicious build of the Claude Code extension, version 2.1.313, was distributed to developers through the Open VSX registry and the Cursor extension marketplace. For roughly 11 hours, anyone who installed or auto updated the extension in Cursor could have received code designed to give an attacker persistent remote access to their workstation.
Cursor has confirmed the incident and says at most 5,000 users were affected. Per Cursor, the malicious version โwas not developed by Anthropic.โ It appeared under the extensionโs legitimate publisher identity rather than a look-alike name, and how it entered the registry has not been publicly established. Security researcher Kevin Beaumont and researchers at Phorion were among the first to raise the alarm.
This is the kind of incident that bypasses the usual instincts. The tool was real. The publisherโs name was real. The install came from an official marketplace. The only thing wrong was what the code did once it ran.
What the malicious build did
The tampered extension targeted Windows and macOS developer environments. According to Cursorโs advisory, it:
- Collected host and user details and sent them to an attacker-controlled server.
- Added an attacker-controlled public key, labeled svc-telemetry, to the userโs SSH authorized_keys file.
- Tried to enable the local SSH server and open a reverse SSH tunnel back to the attacker.
- Installed persistence (a macOS LaunchAgent or a Windows scheduled task) that retried the tunnel about every 60 seconds.
Enabling the SSH server requires admin rights, which the extension usually lacked, so that step generally failed. The attacker key and persistence were still installed. Cursor has since worked with the hosting provider to take the attacker server offline. Even so, any machine that ran the build should be treated as potentially exposed.
Check your environment now
Prioritize developer machines running Cursor, or any editor that pulls extensions from Open VSX.
| Indicator | Value |
| Malicious extension | Anthropic.claude-code version 2.1.313 |
| Unauthorized SSH key | Comment svc-telemetry in authorized_keys (also check C:\ProgramData\ssh\administrators_authorized_keys on Windows) |
| Attacker IP | 134[.]209[.]82[.]225 (reverse SSH on TCP 22; HTTP beacon on port 8099, path /beacon) |
| macOS persistence | ~/Library/LaunchAgents/com.apple.sysmond.plist; files ~/.config/.smt, ~/.config/.smtk |
| Windows persistence | Scheduled task SysMon; %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\sysmon.cmd; files %USERPROFILE%\.config\smt.cmd, smtk |
| Suspicious commands | ssh -N -R ‘*:0:localhost:22’, autossh -M 0, schtasks /create /tn SysMon, systemsetup -setremotelogin on |
Cursorโs advisory lists file hashes, key fingerprints and platform remediation scripts. Use it as the authoritative IOC list.
If you find a match
- Isolate the host before anything else.
- Remove the key and persistence. Uninstalling or updating the extension does not remove the backdoor. Cursor provides remediation scripts for macOS and Windows; consider rebuilding the host.
- Rotate credentials and sessions reachable from that machine, from a trusted system: SSH keys, cloud and API tokens, Git credentials, and anything stored in the developerโs environment.
- Hunt across the fleet for the indicators above in endpoint, network and extension-install logs.
The bigger lesson: approved is not the same as safe
Developer workstations are high-value targets. They hold source code, signing keys, cloud credentials and trusted access to production. AI coding tools make them more valuable still, because these tools are designed to read files, run commands and act with the developerโs own permissions.
Most organizations govern AI tools at the approval stage: is this tool allowed? This incident shows why that isnโt enough. The extension was approved, official and widely trusted. A single malicious build turned it into a delivery mechanism.
The better question is: what is this application allowed to do once it runs? An AI coding assistant has no legitimate reason to write a new key into authorized_keys, register a scheduled task named after a system monitor, or open a reverse SSH tunnel to an unknown server.
How Morphisec helps
Morphisec takes a preemptive, prevention-first approach to endpoint security. Rather than trusting an AI application because it is approved, Morphisec focuses on controlling what that application can do.
Morphisecโs AI Usage Control and preemptive endpoint protection are designed to prevent and disrupt this class of compromise at the execution layer, including:
- Restricting unauthorized access to sensitive system locations and credential-related files, such as SSH configuration.
- Blocking dangerous process execution and persistence attempts launched by AI tools and their extensions.
- Enforcing policy on AI applications based on behavior, not reputation.
We still encourage every customer to review the published indicators and validate their developer environments, even where endpoint controls are deployed. Defense in depth means verifying, not assuming.
Stay up-to-date
Get the latest resources, news, and threat research delivered to your inbox.