Cursor removes malicious Claude Code extension after SSH backdoor attempt
A malicious extension in the Cursor marketplace tried to install a backdoor for remote access to developers' machines.
Overview
A malicious version of the Claude Code extensionA small add-on program installed inside a web browser to add features like ad blocking was published in the Cursor marketplace and remained available for about 11 hours on October 29. The compromised versions, identified as 2.1.312 and 2.1.313, attempted 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 developers' machines. This action would have given attackers remote accessThe ability to log in to and control a computer or network from another location to systems holding source codeThe human-readable programming instructions written by developers before they are compiled into a runnable program, credentialsThe login details, such as a username and password or key, that prove who an account belongs to, and other sensitive information. The malware ran automatically when the extension loaded, requiring no user interaction to fire the payloadThe part of an attack or malware file that carries out the harmful action on the target. It worked by adding an attacker-controlled SSH keyThe secret value that locks or opens a message and establishing a reverse tunnel to a remote serverA computer or program on a network that stores data and responds to requests from client devices. The affected versions were available for Windows and macOS, meaning users of those operating systems who installed the extension were at risk.
Terms in this story
- 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
- 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
- source code
- The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
- 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)
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- Shell
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- SSH keys
- A cryptographic key pair used to sign in to remote servers over SSH without a password. Software engineers store a private SSH key on their laptop and place the matching public key on cloud servers, making stolen SSH keys a prime target for infostealers.
- malicious code
- 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
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 CSO Online website. Cite the article, not this page.
Read the full article on CSO Online (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: Breach or attack
"...attempted to install a persistent Secure Shell (SSH) backdoor..." Found by reading the article; these exact words are in it - Who is affected: "...developers' machines..." Organizations using the product
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......removes malicious Claude Code extension after SSH backdoor attempt..." Found in the headline - Security+ 3.2 Given a scenario, apply security principles to secure enterprise infrastructure.
"......backdoor on developers' machines, potentially giving attackers remote access to systems holding source code, credentials and..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......remote access to systems holding source code, credentials and other sensitive information. "Between about 2:27am..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Cursor removes malicious Claude Code extension after SSH backdoor attempt..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Cursor removes malicious Claude Code extension after SSH backdoor attempt..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......removes malicious Claude Code extension after SSH backdoor attempt..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in analyzing anomalous code as malicious or benign.
"...maliciously modified version of anthropics claude code extension..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Analyze identified malicious activity to determine weaknesses exploited, exploitation methods, effects on system and information.
"...attempted to install a persistent Secure Shell (SSH) backdoor..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- 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
- Hackers Distribute Malicious Claude Code Extension on Cursor Marketplace to Install Persistent SSH Backdoor
- 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