Hackers Distribute Malicious Claude Code Extension on Cursor Marketplace to Install Persistent SSH Backdoor
Hackers distributed malicious Claude Code extensions on Cursor's marketplace to install a persistent SSH backdoor on developer workstations.
Overview
Microsoft warned that hackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher distributed malicious versions of the Claude Code extensionA small add-on program installed inside a web browser to add features like ad blocking on the Cursor marketplace to install a persistent SSHAn encrypted network protocol that administrators and developers use to log in to remote servers and run commands backdoorA hidden way into a computer or program that skips the normal login check on developer workstations. The trojanizedAltered to hide malware inside a legitimate-looking installer, update, or open-source package packages, identified as versions 2.1.312 and 2.1.313, combined legitimate functionality with injected JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers to prepare unauthorized remote accessThe ability to log in to and control a computer or network from another location. When the extension loaded, it collected system details and identified up to forty environment variable names containing credential-related strings, though it did not steal the actual secret values. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer then added an embedded Ed25519 public keyThe key you can hand to anyone to the authorized_keysThe secret value that locks or opens a message file and created startup entries on macOS, Linux, and Windows to maintain access. These persistenceThe tricks an attacker uses to keep access to a computer after a reboot or password change files reside outside the extension directory, so uninstalling or updating the software does not remove them. The incident affected developers who installed the specific malicious versions between approximately 2:27 AM and 1:35 PM PDT on October 29, 2026.
Terms in this story
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- Extension
- A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
- SSH
- An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
- Backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- trojanized
- Altered to hide malware inside a legitimate-looking installer, update, or open-source package. Attackers distribute trojanized copies of popular utilities through search ads so users get a working program while a hidden background script steals their passwords.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- remote access
- The ability to log in to and control a computer or network from another location. Many workers and support technicians use remote access tools to work from home, and attackers target those same portals to enter a company network without being in the building. Security+ objective 3.2 lists the term
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- public key
- The key you can hand to anyone. In the news, web browsers and software updaters use a server's public key to lock a connection or verify that a downloaded update truly came from the real publisher. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- KEY
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- persistence
- The tricks an attacker uses to keep access to a computer after a reboot or password change. To maintain persistence on an infected laptop, malware might add itself to the startup folder or create a hidden scheduled task that runs every time the machine turns on.
- APIs
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Advisory or warning
"Microsoft has warned that malicious..." Found by reading the article; these exact words are in it - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......on Cursor Marketplace to Install Persistent SSH Backdoor..." Found in the headline - Security+ 3.2 Given a scenario, apply security principles to secure enterprise infrastructure.
"......functionality with injected JavaScript that prepared unauthorized remote access." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......Extension on Cursor Marketplace to Install Persistent SSH Backdoor..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Hackers Distribute Malicious Claude Code Extension on Cursor Marketplace to Install..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......on Cursor Marketplace to Install Persistent SSH Backdoor..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Cursor removes malicious Claude Code extension after SSH backdoor attempt
- Malicious Claude Code Extensions in Cursor Marketplace Install Persistent SSH Backdoors on Windows and macOS
- Cursor Confirms Malicious Claude Code Extension With SSH Backdoor Was Available for 11 Hours
- Inside a malicious Claude Code-branded extension and its persistent SSH backdoor
- Malicious Claude Code extension on Cursor planted SSH backdoors
- Claude Code extension poisoned with persistent SSH backdoor
- Official Claude Code VS Code Extension Compromised to Install Persistent SSH Backdoor
- Malicious Claude Code VS Code Extension Installs Persistent SSH Backdoor to Give Attackers Remote Access
- Weaponized Claude Code Extension Gives Hackers Persistent Remote Access to Developer Systems