---
title: "[AUTO] Trojanized Claude Code extension on Cursor tried to plant SSH backdoors"
pubDatetime: 2026-11-24T18:42:00.000Z
description: "Cursor says modified versions of the Anthropic.claude-code extension, live in its marketplace for about 11 hours on October 29, attempted to add attacker SSH keys and open reverse tunnels."
tags: [supply-chain, claude-code, cursor, vulnerability, ai-security, 2026, 2026-q4, 2026-11, AUTO]
---
Cursor disclosed that two modified builds of the Anthropic.claude-code extension, versioned 2.1.312 and 2.1.313, were distributed through its VS Code Extension Marketplace for Windows and macOS. Per [Cursor's security notice](https://cursor.com/blog/claude-code-extension-security-notice), the tampered versions were available for roughly 11 hours on October 29, 2026, from about 2:27 a.m. to 1:35 p.m. Pacific.

The malicious code gathered host and user details, including hostname, OS, architecture, home directory, environment variable names, Git email, and public IP, then tried to add an attacker-controlled SSH key to authorized_keys, enable the SSH service, and open a reverse SSH tunnel, retrying about every 60 seconds via a LaunchAgent or scheduled task. Cursor states the SSH-enablement step would fail on most machines without administrator privileges, though this is Cursor's own assessment rather than a measured count of successful compromises.

[BleepingComputer](https://www.bleepingcomputer.com/news/security/malicious-claude-code-extension-on-cursor-planted-ssh-backdoors/) reports up to 5,000 developers were affected, a figure not stated in Cursor's own notice.

---
*Sources: [Security notice](https://cursor.com/blog/claude-code-extension-security-notice)*
*Coverage: [Malicious Claude Code extension on Cursor planted SSH backdoors](https://www.bleepingcomputer.com/news/security/malicious-claude-code-extension-on-cursor-planted-ssh-backdoors/)*

*Related on this blog: [[AUTO] Cursor Agent Deployed in Ransomware Exploitation](/posts/auto-cursor-ransomware)  •  [[AUTO] Claude Code auto-executes repository configuration](/posts/auto-claude-code-mcp-rce)  •  [[AUTO] Unauthorized Relay Disables AI Sandboxes](/posts/auto-ai-relay-sandbox)*