ChainDrop Worm Infects 400+ npm Packages to Steal GitHub and Cloud Credentials
A self-propagating worm infected over 400 npm packages to steal credentials, remaining hidden because the compromised software still functions normally.
Overview
A self-propagating worm named ChainDrop infected more than 400 npm packagesA reusable web code library published to the public npm registry for developers to install to steal developer credentialsThe login details, such as a username and password or key, that prove who an account belongs to. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer hides inside legitimate software updates, allowing it to run quietly on developer laptops and build systems without breaking the original code. It targets access tokensA short-lived digital pass that a server gives a logged-in user or app, cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage, and SSH keysA cryptographic key pair used to sign in to remote servers over SSH without a password, then uses stolen npm credentials to alter and republish further packages. This automated cycle allows a single compromised account to spread the infection to many downstream users. Unit 42 reported that the operation has touched packages downloaded hundreds of millions of times each week. Researchers identified 453 public repositories across five accounts that match the worm's data-theft pattern, although these accounts remain possible rather than confirmed victims.
Terms in this story
- npm Packages
- A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
- 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
- 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
- access tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- Cloud Credentials
- Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
- 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.
- credential theft
- Stealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user. Attackers use phishing pages, keyloggers, and memory dumps for credential theft because logging in with a real employee's password triggers fewer alarms than a noisy software exploit. Security+ objective 2.4 lists the term
- trusted publishing
- A package registry feature that lets automated build pipelines publish releases without storing long-lived passwords. Public registries encourage maintainers to switch to trusted publishing so a stolen developer laptop does not contain permanent tokens that could push malicious updates.
- software supply chain
- All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
- 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.
- production
- The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
- pipelines
- The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. 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 Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (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: Research and reports
"Researchers found 453 public repositories..." Found by reading the article; these exact words are in it - Who is affected: "...developer laptops, build systems and cloud environments..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"ChainDrop Worm Infects 400+ npm Packages to Steal GitHub and Cloud Credentials..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"ChainDrop Worm Infects 400+ npm Packages to Steal GitHub..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......npm Packages to Steal GitHub and Cloud Credentials..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"ChainDrop Worm Infects 400+ npm Packages to Steal GitHub..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of the concept of an advanced persistent threat (APT)
"...attackers abuse the trust developers place in package registries..." 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
- ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and Trusted Publishing
- Tracking Shai-Hulud: Inside the ChainDrop NPM Worm
- Shai-Hulud CHAINDROP Worm Backdoors 400+ npm Packages With 1.3 Billion Monthly Downloads
- New npm Supply Chain Attack Began with the Keyv Library Compromised Hundreds of Popular Packages
- ChainDrop Worm Hits 400+ npm Packages with Two Billion Monthly Installs
- ChainDrop credential stealing worm infects over 400 npm packages
- Massive supply-chain attack compromises 440 packages under four hours
- Massive ChainDrop npm supply-chain attack infects hundreds of packages
- Keyv and friends compromised in active Shai-Hulud supply chain attack