Cybersecurity news

Jessica Doner

Back to the list

ChainDrop Worm Infects 400+ npm Packages to Steal GitHub and Cloud Credentials

Cyber Security News,

A self-propagating worm infected over 400 npm packages to steal credentials, remaining hidden because the compromised software still functions normally.

Malware and ransomwareAttacks and breaches

Overview

A self-propagating worm named ChainDrop infected more than 400 npm packagesA reusable web code library published to the public npm registry for developers to install to steal developer credentialsThe login details, such as a username and password or key, that prove who an account belongs to. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer hides inside legitimate software updates, allowing it to run quietly on developer laptops and build systems without breaking the original code. It targets access tokensA short-lived digital pass that a server gives a logged-in user or app, cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage, and SSH keysA cryptographic key pair used to sign in to remote servers over SSH without a password, then uses stolen npm credentials to alter and republish further packages. This automated cycle allows a single compromised account to spread the infection to many downstream users. Unit 42 reported that the operation has touched packages downloaded hundreds of millions of times each week. Researchers identified 453 public repositories across five accounts that match the worm's data-theft pattern, although these accounts remain possible rather than confirmed victims.

Terms in this story

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
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
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
access 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
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.
SSH keys
A cryptographic key pair used to sign in to remote servers over SSH without a password. Software engineers store a private SSH key on their laptop and place the matching public key on cloud servers, making stolen SSH keys a prime target for infostealers.
credential theft
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
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.
software supply chain
All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
open-source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
production
The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
pipelines
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

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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related