Upwind First to Reveal High-Impact Keyv Supply Chain Attack Affecting a Core npm Dependency
Austin, USA, August 4th, 2026, FinanceWire
Software supply chain attacks have become increasingly sophisticated, but they often begin with something deceptively ordinary: a package update. Millions of developers install dependency updates every day with little reason to suspect that a trusted library could become an entry point for malware. That assumption was challenged after Upwind became the first to disclose a malicious release of the widely used npm package Keyv, alerting developers to an attack capable of stealing credentials from both local machines and automated build environments.
The disclosure quickly gained significance because Keyv is no fringe dependency. With an estimated 154 million downloads every week, it sits deep within the JavaScript ecosystem, meaning a compromised release had the potential to affect thousands of applications through routine software updates.
Malware Delivered Through the Installation Process
Rather than exploiting a vulnerability after installation, the attackers targeted the installation process itself.
Upwind found that the malicious keyv@6.0.0 release introduced a preinstall hook that silently executed before the package finished installing. The script downloaded the Bun runtime from GitHub Releases and then launched an obfuscated payload designed to search for credentials stored on developer workstations and CI/CD runners.
"Our analysis identified a malicious release of keyv@* that introduces a new preinstall hook, executing an obfuscated loader during installation," Upwind wrote in its advisory.
According to the company's analysis, the malware attempted to collect AWS credentials, GitHub and npm tokens, and HashiCorp Vault credentials. Those secrets could potentially give attackers access not only to source code repositories but also to cloud infrastructure and software publishing pipelines.
By embedding malicious behavior in the installation phase, the attackers exploited one of the most trusted parts of the software development lifecycle—dependency management.
A Single Package With Ecosystem-Wide Reach
The scale of the incident stemmed from Keyv's role as a foundational open-source component.
"What makes this incident particularly significant is the package's reach," Upwind noted. "With approximately 154 million weekly downloads, keyv is a foundational dependency used across thousands of JavaScript projects, dramatically increasing the potential blast radius of the compromise."
That assessment became even more relevant as the investigation unfolded. Reports later indicated that malicious releases had spread to numerous additional npm packages, suggesting the attackers were able to leverage compromised publishing credentials to broaden the campaign.
Because package maintainers rapidly removed affected versions and restored clean releases, determining exposure became more complicated than checking which version appeared in the registry. Organizations instead needed to examine dependency lockfiles, CI/CD logs, and software bills of materials to determine whether the compromised version had ever been installed.
The incident illustrates how software supply chain attacks increasingly prioritize scale. Instead of breaching organizations individually, attackers can potentially reach thousands of environments by compromising a dependency that developers already trust.
Modern Development Requires More Than Trusted Builds
The campaign also exposed a challenge facing software security teams.
Industry reporting indicates the compromised package passed through legitimate release automation and retained valid software provenance. That meant the build process itself remained authentic even though the software entering the pipeline had allegedly been tampered with beforehand.
For organizations embracing modern software supply chain security, that distinction is significant. Technologies such as provenance and signed builds help verify how software was produced, but they cannot necessarily confirm that the source itself was free from malicious modifications.
As attacks increasingly focus on development workflows instead of production systems, security teams are placing greater emphasis on monitoring package behavior during installation and execution rather than relying exclusively on signatures or trusted repositories.
Visibility Is Becoming the New Security Control
Following its discovery, Upwind advised developers to remove keyv@6.0.0 immediately, pin projects to a verified clean release, rotate credentials if the malicious package had been installed, and review CI/CD pipelines, lockfiles, and SBOMs for evidence of exposure.
"This incident is another reminder that highly trusted, high-volume dependencies remain prime targets for supply-chain attackers—and that a single malicious release can have ecosystem-wide consequences," Upwind stated.
The Keyv compromise demonstrates how the nature of software supply chain attacks continues to evolve. Rather than exploiting flaws in applications already running in production, attackers are increasingly targeting the tools, packages, and workflows developers depend on to build those applications. By identifying the malicious release before the incident became broadly understood, Upwind highlighted a growing reality for software security: protecting applications now begins long before the code reaches production.
Contact
Cybersecurity Editorialeditor@cisohq.io
Disclaimer. This is a paid press release.