Tracking Shai-Hulud: Inside the ChainDrop NPM Worm
A self-propagating worm entered the npm ecosystem through a compromised account, using an Ethereum smart contract to rotate domains and evade blocklists.
Overview
On August 4, 2026, a self-propagating worm named ChainDrop entered the npm ecosystem by compromising a maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project account. The attacker injected malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer into the source repositoryA central storage place where a software project's source code, change history, and configuration files are kept of the keyv ecosystem, which caused the legitimate build pipelineThe automated pipeline that tests, builds, and deploys software whenever developers push new code to publish poisoned versions of packages including keyv, cacheable, flat-cache, and file-entry-cache. Because the build originated from the legitimate repository, the resulting packages carried authentic SLSA 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 that made them look safe to automated security tools. The worm spread to more than 400 packages in under four hours by stealing developer tokensA short-lived digital pass that a server gives a logged-in user or app and republishing infected versions. The attacker anchored the command and control infrastructure in an Ethereum smart contractA self-executing program stored on a blockchain that automatically moves digital assets when set conditions are met, allowing them to rotate domainsThe human-readable name for a website or a centrally managed group of workplace computers with a single blockchainA shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes transaction. This setup rendered domain-based blocklistsA list of known malicious IP addresses, domains, file hashes, or email senders that a system automatically rejects ineffective and allowed the malware to persist even after package removal.
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.
- 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
- 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.
- 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)
- pipeline
- 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
- 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
- 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
- smart contract
- A self-executing program stored on a blockchain that automatically moves digital assets when set conditions are met. Because smart contract code is public and cannot easily be reversed once deployed, a single logic bug in a smart contract can let an attacker drain millions in cryptocurrency.
- domains
- The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
- blockchain
- A shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes. In security news, blockchain appears both in thefts from cryptocurrency services and when malware hides its command server address inside a public blockchain transaction. Security+ objective 1.4 lists the term
- blocklists
- A list of known malicious IP addresses, domains, file hashes, or email senders that a system automatically rejects. Security filters and mail servers consult an updated blocklist to drop traffic from known botnet servers and spam domains before it reaches users. Security+ objective 4.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 Zscaler website. Cite the article, not this page.
Read the full article on Zscaler (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
"Tracking Shai-Hulud: Inside the ChainDrop NPM Worm..." Found by reading the article; these exact words are in it - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Tracking Shai-Hulud: Inside the ChainDrop NPM Worm..." Found in the headline - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"Tracking Shai-Hulud: Inside the ChainDrop NPM Worm..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"Tracking Shai-Hulud: Inside the ChainDrop NPM Worm..." Found in the headline
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
- 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