ChainDrop Worm Hits 400+ npm Packages with Two Billion Monthly Installs
Attackers compromised a maintainer's account to inject a credential-stealing worm into over 400 packages with two billion monthly installs.
Overview
Attackers compromised the GitHub account of a maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project for the keyv library and used it to inject a malicious worm into more than 430 packages. These packages have a combined two billion monthly installs and include popular tools like cacheable, flat-cache, and file-entry-cache. The malicious code was pushed directly to the main branch and published with valid provenanceThe verifiable record of where software, data, or media came from and how it was built signed by GitHub Actions. The worm steals sensitive data such as npm and GitHub tokensA short-lived digital pass that a server gives a logged-in user or app, AWS credentialsThe login details, such as a username and password or key, that prove who an account belongs to, and Kubernetes secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys. It then spreads to other maintainers and repositoriesA central storage place where a software project's source code, change history, and configuration files are kept using the stolen access. Packages associated with Deliveroo, Ornikar, OneReach, Picsart, and Qlik have been compromised.
Terms in this story
- maintainer
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
- 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)
- provenance
- The verifiable record of where software, data, or media came from and how it was built. In software supply chain stories, provenance records prove which source repository and build server produced a package so users know it was not swapped by an attacker.
- 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
- 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
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- 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
- credential-stealing
- 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
- infostealer
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
- encrypted
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
- Mitigation
- A defensive step or setting change that lowers the risk of a flaw before patching. When a software vendor has not finished a patch yet, its advisory often lists a mitigation such as turning off an optional feature or blocking a specific URL path at the firewall. Security+ objective 2.5 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 Infosecurity Magazine website. Cite the article, not this page.
Read the full article on Infosecurity Magazine (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
"Security researchers have warned of a major new Shai-Hulud-based campaign..." Found by reading the article; these exact words are in it - Security+ 2.2 Explain common threat vectors and attack surfaces.
"ChainDrop Worm Hits 400+ npm Packages with Two Billion Monthly Installs..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"ChainDrop Worm Hits 400+ npm Packages with Two Billion..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"ChainDrop Worm Hits 400+ npm Packages with Two Billion..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"...malicious packages contain an infostealer designed to harvest npm and GitHub tokens..." 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.
"...once stolen theyre encrypted and sent to a public github repository..." 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
- ChainDrop Worm Infects 400+ npm Packages to Steal GitHub and Cloud Credentials
- 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 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