ChainDrop credential stealing worm infects over 400 npm packages
A self-propagating worm has infected over 400 npm packages, prompting security teams to audit all developer machines.
Overview
A self-propagating worm-like attack has infected 444 packages from more than a dozen publishers on the npm registryA central database of system settings on a computer or a public catalog that hosts software packages. The attack began when the GitHub account of Jared Wray was compromised, leading to the publication of malicious versions of his popular packages. These infected packages represent more than 2 billion monthly downloads combined. The malware steals credentialsThe login details, such as a username and password or key, that prove who an account belongs to and spreads by publishing more malicious packages to the registry. Security teams are urged to perform full auditsA formal, systematic review of an organization's code, configurations, logs, and policies against security standards of all developer machines to detect the infection. The compromised versions were published with valid provenanceThe verifiable record of where software, data, or media came from and how it was built signed by GitHub Actions, making them difficult to distinguish from legitimate updates.
Terms in this story
- 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.
- 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
- audits
- A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 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.
- 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
- 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
- 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)
- blast radius
- The scope of systems, data, or users that can be harmed when one account or server is compromised. Security architects limit the blast radius of a potential breach by splitting networks apart and giving each account only the minimum permissions it needs.
- credential stealing malware
- 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
- trojanized
- Altered to hide malware inside a legitimate-looking installer, update, or open-source package. Attackers distribute trojanized copies of popular utilities through search ads so users get a working program while a hidden background script steals their passwords.
- 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.
- 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
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 CSO Online website. Cite the article, not this page.
Read the full article on CSO Online (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
"A self-propagating worm-like attack is hitting the npm registry..." Found by reading the article; these exact words are in it - Security+ 2.2 Explain common threat vectors and attack surfaces.
"ChainDrop credential stealing worm infects over 400 npm packages..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"ChainDrop credential stealing worm infects over 400 npm packages..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"ChainDrop credential stealing worm infects over 400 npm packages..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"ChainDrop credential stealing worm infects over 400 npm packages..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware.
"The attack began with the compromise of a GitHub account belonging to Jared Wray..." 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 Worm Hits 400+ npm Packages with Two Billion Monthly Installs
- 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