Keyv npm Supply Chain Attack: GitHub Account Compromise Led to Credential-Stealing Malware Across the JavaScript Ecosystem
A compromised GitHub account allowed attackers to inject credential-stealing malware into the Keyv package and other ecosystem packages.
Overview
A massive software supply chainAll the open-source libraries, build tools, code repositories, and update servers that go into making a program attack compromised the popular npm packageA reusable web code library published to the public npm registry for developers to install Keyv v6.0.0 and multiple Cacheable ecosystem packages. The breach occurred because an attacker gained access to a GitHub account, which allowed them to inject credential-stealing malwareMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device into the code. This incident affects the broader JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers ecosystem, as the compromised packages are used by many other applications. The attack demonstrates how a single point of failure in a development platform can spread malicious code to a wide range of users. Organizations that rely on these packages now face the risk of having their sensitive data stolen. Users of the affected software must now deal with the consequences of this widespread compromise.
Terms in this story
- 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.
- 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 package
- 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
- 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
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
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 The CyberSec Guru website. Cite the article, not this page.
Read the full article on The CyberSec Guru (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: Breach or attack
"Popular npm package Keyv v6.0.0 and multiple Cacheable ecosystem packages were compromised..." Found by reading the article; these exact words are in it - Who is affected: "...npm package Keyv v6.0.0 and multiple Cacheable ecosystem packages..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Keyv npm Supply Chain Attack: GitHub Account Compromise Led to Credential-Stealing..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Keyv npm Supply Chain Attack: GitHub Account Compromise Led to Credential-Stealing..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Attack: GitHub Account Compromise Led to Credential-Stealing Malware Across the JavaScript Ecosystem..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......Chain Attack: GitHub Account Compromise Led to Credential-Stealing Malware Across the JavaScript Ecosystem..." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"Keyv npm Supply Chain Attack: GitHub Account Compromise Led to Credential-Stealing..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......Attack: GitHub Account Compromise Led to Credential-Stealing Malware Across the JavaScript Ecosystem..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Provide cybersecurity and supply chain risk management guidance.
"Popular npm package Keyv v6.0.0 and multiple Cacheable ecosystem packages were compromised..." 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