Cybersecurity news

Jessica Doner

Back to the list

Keyv and friends compromised in active Shai-Hulud supply chain attack

Aikido,

Attackers compromised a maintainer's account to inject malware into a widely used key-value storage library and other caching utilities.

Attacks and breaches

Overview

On August 4, 2026, attackers compromised the GitHub account of the maintainer for keyv, a keyThe secret value that locks or opens a message-value storage library with roughly 127 million weekly npm downloads. The attackers used this access to inject credential-stealing malwareMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device into keyv and several other widely used caching utilities owned by the same maintainer. The malicious code was pushed directly to the main branch and published to npm with valid provenanceThe verifiable record of where software, data, or media came from and how it was built signed by GitHub Actions. When users ran npm install against the affected versions, a hidden script automatically executed to download and run the real payloadThe part of an attack or malware file that carries out the harmful action on the target. This payload harvested sensitive secrets, including npm registryA central database of system settings on a computer or a public catalog that hosts software packages auth tokensA short-lived digital pass that a server gives a logged-in user or app, GitHub CLIA text-based terminal interface where users type commands instead of clicking buttons in a graphical window tokens, AWS access keys, and HashiCorp Vault client tokens. Any developer or organization that installed these specific compromised versions during the attack window had their credentialsThe login details, such as a username and password or key, that prove who an account belongs to stolen.

Terms in this story

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)
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
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
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.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
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.
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
CLI
A text-based terminal interface where users type commands instead of clicking buttons in a graphical window. Software teams and administrators manage cloud servers and code repositories through a CLI because text commands are fast and easy to automate in scripts.
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
supply chain attack
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 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
maintainer's
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.

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 Aikido website. Cite the article, not this page.

Read the full article on Aikido (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