Massive ChainDrop npm supply-chain attack infects hundreds of packages
A self-propagating malware compromised over 1,300 npm packages with 2 billion monthly downloads after a threat actor hacked a maintainer's GitHub account.
Overview
A self-propagating malwareSoftware built to steal data, spy on users, lock files, or take control of a computer named ChainDrop has compromised more than 1,300 packages on the Node Package ManagerA developer tool that downloads, installs, and updates software libraries from a central registry registryA central database of system settings on a computer or a public catalog that hosts software packages, which sees a combined 2 billion monthly downloads. The attack began when a threat actorA person or group that carries out cyberattacks, whether for money, spying, or disruption compromised the GitHub account of a maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project for popular caching utilities like Keyv and Cacheable. This breach allowed the attacker to push malicious files to main branches and generate new package releases that carried valid provenanceThe verifiable record of where software, data, or media came from and how it was built information. The infected packages include tools used by major organizations such as Deliveroo, Ornikar, OneReach, Picsart, Qlik, and ServiceTitan. When users ran the install command on these affected versions, a hidden scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application executed automatically to download a runtimeThe environment in which a program executes, or the period of time while the program is actively running and run an infostealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. This infostealer collects developer and cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage, encryptsTurn plaintext into ciphertext with a key them, and sends the data to a public GitHub repository.
Terms in this story
- 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
- Package Manager
- A developer tool that downloads, installs, and updates software libraries from a central registry. Every major programming language has a package manager, and supply chain attackers target them by uploading trojanized libraries that install automatically when developers build an app.
- registry
- A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
- threat actor
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- 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.
- 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.
- 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.
- runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
- 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
- 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.
- 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
- encrypts
- 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
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: Research and reports
"Self-propagating malware named 'ChainDrop' has compromised more than 1,300 packages..." Found by reading the article; these exact words are in it - Who is affected: "Multiple application security companies..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Massive ChainDrop npm supply-chain attack infects hundreds of packages..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Massive ChainDrop npm supply-chain attack infects hundreds of packages..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Self-propagating malware named 'ChainDrop' has compromised more than 1,300..." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"Massive ChainDrop npm supply-chain attack infects hundreds of packages..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"Self-propagating malware named 'ChainDrop' has compromised more than 1,300..." Found in the opening sentences
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 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
- Keyv and friends compromised in active Shai-Hulud supply chain attack