6 Sources
[1]
A Supply Chain Attack Put Malicious Anthropic Claude Extensions on Thousands of Devices
The AI software-development platform Cursor, which is owned by SpaceX, had a malicious Anthropic Claude Code extension for Windows, macOS, and Linux live in its integrated development environment extension marketplace for roughly 11 hours on Thursday. The company says the rogue extension was
[2]
Cursor removes malicious Claude Code extension after SSH backdoor attempt
The compromised versions attempted to plant SSH keys and establish persistent remote access; Anthropic says an attacker used access to Cursor's marketplace to publish the tampered extension. endif; ?> A malicious version of Anthropic's Claude Code extension distributed through the Cursor
[3]
Official Claude Code VS Code Extension Compromised to Install Persistent SSH Backdoor
Cybersecurity researchers have disclosed that the official Anthropic Claude Code extension was compromised on the Open VSX registry to install a persistent SSH backdoor on infected hosts. The issue has since been traced to the compromise of the Cursor Marketplace, prompting the AI coding platform
[4]
Malicious Claude Code extension on Cursor planted SSH backdoors
A malicious version of Anthropic's Claude Code VS Code extension was distributed through Cursor's extension marketplace for approximately 11 hours on October 29, exposing up to 5,000 developers to malware designed to install persistent SSH backdoors. The extension used the version number 2.1.313
[5]
Tampered Claude Code extension hit up to 5,000 Cursor users
The tampered Claude Code extension planted an attacker's SSH key that uninstalling may not remove. Anthropic says nobody breached its own systems or staff laptops. A tampered copy of Anthropic's Claude Code extension sat in Cursor's extension marketplace for about 11 hours on Thursday 29 October.
[6]
Hackers hijacked a Claude Code extension, exposing yet another new AI security risk
A malicious extension on Cursor's marketplace attempted to give hackers persistent access to developers' computers, raising concerns about the growing security risks of AI coding tools. The world can feel particularly unsafe these days, with AI agents running rampant within private networks and
Share
Copy Link
A tampered version of Anthropic's Claude Code extension infiltrated Cursor's marketplace for 11 hours, exposing up to 5,000 developers to malware designed to install persistent SSH backdoors. While coding errors in the malware prevented most remote access attempts, the attack highlights growing vulnerabilities in AI-powered development tools and extension marketplaces.
A compromised version of Anthropic's Claude Code extension infiltrated the Cursor marketplace for approximately 11 hours on October 29, exposing up to 5,000 developers to malware designed to install a persistent SSH backdoor
1
4
. The malicious versions, identified as 2.1.312 and 2.1.313, were available between 2:27 a.m. and 1:35 p.m. Pacific Time2
. Cursor, the AI-powered code editor owned by SpaceX, immediately removed the compromised extension and temporarily shut down its entire marketplace to audit other extensions and rotate all access keys4
.
Source: BleepingComputer
Security firm Phorion first detected the supply chain attack after identifying the malicious extension on a customer's Mac
1
. The compromised VS Code extension contained a 66-line malicious JavaScript loader inserted at the beginning of the extension.js file, leaving the legitimate extension code otherwise unchanged3
. This malicious code executed automatically when the extension loaded, requiring no user interaction with Claude Code2
.The malicious Claude Code extension performed several dangerous actions on compromised systems. It added an attacker-controlled SSH key labeled "svc-telemetry" to the user's authorized_keys file, attempting to disguise itself as a harmless telemetry service
3
4
. The malware then attempted to enable local SSH access and establish a reverse tunnel to a command-and-control server at 134.209.82[.]2252
.To maintain persistent remote access, the extension installed platform-specific persistence mechanisms including scheduled tasks on Windows, crontab entries on Linux, and LaunchAgent configurations on macOS
3
. Microsoft Threat Intelligence analysis revealed the malware collected extensive host reconnaissance data, including machine names, usernames, operating systems, working directories, Git email addresses, and public IP addresses from api.ipify[.]org3
. The malware also identified names of up to 40 environment variables containing terms like KEY, TOKEN, SECRET, PASS, AWS, or GCP, though it collected only variable names rather than their actual values2
3
.Despite the sophisticated nature of the supply chain attack, coding errors in the malware's SSH setup routines likely prevented attackers from gaining remote access to most affected Windows and macOS systems
4
. Phorion researchers discovered critical flaws that undermined the attack's effectiveness. On macOS, the malware attempted to check whether Remote Login was enabled using the systemsetup -getremotelogin command without elevated privileges, causing it to receive an administrator-access error instead of the SSH service status4
.
Source: The Next Web
On Windows systems, the malware tried to install and start the OpenSSH server through PowerShell but attempted to do so via /bin/sh, a Unix shell unavailable on standard Windows installations
4
. Calum Hall, co-founder and CEO of Phorion, emphasized the fortunate nature of these errors: "Everyone was so lucky here, this was potentially a really dangerous foothold for an attacker"1
. However, even with failed SSH activation, the malware still installed its SSH keys, established persistence mechanisms, and transmitted reconnaissance data to the attacker's server4
.Anthropicquickly clarified that the incident did not involve a compromise of its own systems or employee laptops
1
. Felix Rieseberg, a member of Anthropic's technical staff, stated on X: "A malicious actor used access to Cursor's marketplace to publish a tampered copy of the Claude Code extension, which we didn't build or publish"1
. David Dworken from Anthropic's security team reinforced this position, confirming that Anthropic was not involved with building, publishing, or hosting the malicious extension1
.However, security researcher Luke Roberts from Phorion told Ars Technica that the malicious version was posted to the official Anthropic account on the Cursor marketplace, effectively superseding the legitimate version 2.1.312
5
. Neither Anthropic nor Cursor has explained how the attacker gained access to publish under Anthropic's name5
. Cursor stated in its security notice that "these malicious versions of the extension were not developed by Anthropic" but did not respond to requests for comment about whether the incident resulted from a breach at Cursor1
.Related Stories
Security experts warn that simply uninstalling the compromised VS Code extension may not fully remediate affected systems. Steve Povolny, vice president of AI strategy and security research at Exabeam, explained: "Removing the extension only sends the visitor away while the spare key stays on the hook"
2
. The malware placed scripts outside the extension's installation directory, requiring manual removal of persistence mechanisms2
.Cursor published detailed remediation steps advising affected users to isolate compromised hosts, remove the unauthorized SSH key from authorized_keys files, eliminate persistence mechanisms, and rotate credentials and sessions
3
. Phorion advised checking for the SSH key's fingerprint rather than relying solely on the "svc-telemetry" comment attached to it2
. Povolny recommended reviewing logs for logins using unfamiliar keys, noting that developers often have access to source code, cloud accounts, and production systems, making a compromised workstation a potential route to other enterprise resources2
.This incident highlights growing vulnerabilities in AI tooling supply chains and AI-powered development tools. Yash Kadakia, founder and CTO of Security Brigade, emphasized that enterprises should treat extension marketplaces as part of the software supply chain: "When malicious code can reach developers through what appears to be a legitimate, routine update," organizations face significant risk
2
. The attack comes shortly after an unknown attacker replaced release binaries of OVHcloud's official CLI with secret-stealing malware through a hijacked GitHub account3
.
Source: Wired
Extensions in the Cursor marketplace update automatically by default, meaning developers who had the Claude Code extension installed would have received the malicious version without any action on their part
5
. Cursor worked with the hosting provider to take the attacker's server offline, disrupting both the reverse SSH connections and the transmission of reconnaissance data4
. Anthropic has since published a clean version 2.1.314 to both Open VSX and Microsoft VS Code Marketplace3
. Organizations using AI ecosystems should monitor credential rotation practices, audit extension permissions, and implement additional security controls around developer tooling to protect against similar attacks targeting the expanding surface area of AI-powered development environments.Summarized by
Navi
[3]
[4]
[5]
15 Nov 2026•Technology

25 Feb 2026•Technology

12 Sept 2025•Technology
