ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and Trusted Publishing
Attackers compromised a GitHub account to spread a self-propagating worm that poisoned 444 packages and over 1,300 releases.
Overview
A self-propagating campaign named ChainDrop compromised 444 software packages and created more than 1,300 malicious releases. The attackers took over the GitHub account associated with the Keyv caching library to spread the infection. This operation affected packages that represent more than two billion monthly installs. The attackers used stolen credentialsStealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user to publish altered releases that appeared trustworthy because they had valid provenanceThe verifiable record of where software, data, or media came from and how it was built attestationsCryptographic proof from hardware or a build server that a device or package was not tampered with. The malicious code could run when a developer opened a project in VS Code or started a Claude Code sessionAn active logged-in period of communication between a user or device and a server. Developers who cloned the affected repositoriesA central storage place where a software project's source code, change history, and configuration files are kept and opened the projects faced exposure to the malicious code.
Terms in this story
- stolen credentials
- 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
- 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
- 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.
- attestations
- Cryptographic proof from hardware or a build server that a device or package was not tampered with. Before granting access to sensitive data, a server can require hardware attestation from a laptop or confidential cloud machine to verify that its boot code was not altered. Security+ objective 4.6 lists the term
- session
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- 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.
- npm package
- 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
- 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
- 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.
- 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.
- 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.
- signature
- A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.
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.
- Security+ 2.2 Explain common threat vectors and attack surfaces.
"ChainDrop has made an npm package compromise a warning about developer machines. The..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and Trusted Publishing..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of threats to OPSEC when installing, using, modifying, and uninstalling tools.
"...attackers added repository configuration that could run when a developer opened a project..." 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
- 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 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