Malicious Claude Code extension on Cursor planted SSH backdoors
A malicious extension distributed through a marketplace exposed up to 5,000 developers to malware that installed persistent SSH backdoors.
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 distributed through the Cursor marketplace for about 11 hours on October 29. This exposed up to 5,000 developers to malware that attempted to install persistent SSHAn encrypted network protocol that administrators and developers use to log in to remote servers and run commands backdoorsA hidden way into a computer or program that skips the normal login check on their systems. The attackers modified the extension's code to run malicious scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application automatically when the software loaded. These scripts collected user information and tried to establish remote accessThe ability to log in to and control a computer or network from another location by adding attacker-controlled keysThe secret value that locks or opens a message. The malware also installed persistenceThe tricks an attacker uses to keep access to a computer after a reboot or password change mechanisms to keep the backdoor active on both macOS and Windows devices. Coding errors in the malware likely prevented it from successfully enabling SSH on many affected machines.
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.
- backdoors
- 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
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- 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
- keys
- 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.
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- 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
- 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.
- loader
- A stage of malware that runs first on an infected machine to fetch, decrypt, and launch other payloads. Criminal groups specialize in spreading a stealthy loader through spam or fake downloads and then charge ransomware and infostealer operators to deliver their malware onto those infected PCs. Security+ objective 2.4 lists the term
- IP address
- The numerical network label assigned to a device so internet traffic knows where to reach it. Every server and router on the internet has an IP address, and defenders inspect connection logs for unfamiliar IP addresses when tracing where an attack came from.
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 BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (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
"...exposing up to 5,000 developers to malware..." Found by reading the article; these exact words are in it - Who is affected: "...up to 5,000 developers..." Organizations using the product
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Claude Code extension on Cursor planted SSH backdoors..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Malicious Claude Code extension on Cursor planted SSH backdoors..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Malicious Claude Code extension on Cursor planted SSH backdoors..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......Claude Code extension on Cursor planted SSH backdoors..." 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
- 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
- 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