Cybersecurity news

Jessica Doner

Back to the list

Keyv npm Supply Chain Attack: GitHub Account Compromise Led to Credential-Stealing Malware Across the JavaScript Ecosystem

The CyberSec Guru,

A compromised GitHub account allowed attackers to inject credential-stealing malware into the Keyv package and other ecosystem packages.

Malware and ransomware

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.

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

Related