A single malicious update to one of the JavaScript ecosystem’s most widely used packages has reignited concerns about software supply chain security, demonstrating how attackers can weaponize trusted open-source dependencies at massive scale. The incident, first identified and publicly disclosed by Upwind, involved a compromised release of the popular npm package keyv, a dependency downloaded approximately 154 million times per week.
While the malicious package has since been removed, the event underscores how quickly a single poisoned release can ripple through the software supply chain, potentially exposing developer workstations, CI/CD environments, and cloud credentials before organizations even realize they have installed compromised code.
A Trusted Dependency Turned Into an Attack Vector
According to Upwind’s analysis, the malicious keyv@6.0.0 release introduced a previously unseen preinstall hook that executed automatically during package installation. Rather than altering the package’s core functionality, the attackers embedded an obfuscated loader designed to silently execute before the library itself was used.
The loader downloaded the Bun runtime from GitHub Releases before launching a bundled payload capable of harvesting sensitive credentials from developer systems and CI/CD pipelines. Among the targeted secrets were AWS credentials, GitHub tokens, npm authentication tokens, and HashiCorp Vault credentials, assets that could provide attackers with privileged access to development environments and cloud infrastructure.
The decision to target Keyv dramatically amplified the campaign’s potential impact. Because the package serves as a foundational dependency across thousands of JavaScript projects, compromising a single release created the possibility of reaching a vast number of downstream applications through normal software updates.
“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 wrote in its disclosure.
A Worm That Reached Far Beyond One Package
Subsequent analysis revealed that the compromise extended well beyond the original Keyv package. Researchers found evidence that the malware spread into hundreds of additional npm packages through stolen publishing credentials, allowing attackers to rapidly distribute poisoned package versions across multiple organizations.
Public reporting indicates that hundreds of malicious package versions were ultimately identified across the npm registry, although the precise number continued to evolve as packages were removed and restored throughout the day. Because npm package tags changed rapidly during the incident, security teams have been advised to verify exact dependency versions rather than relying on current package listings.
The malware’s capabilities also made the campaign particularly dangerous. Beyond stealing credentials, the payload reportedly contained functionality capable of republishing additional malicious packages using compromised npm publisher accounts, creating the potential for automated propagation throughout the open-source ecosystem.
The incident illustrates a growing trend in software supply chain attacks: rather than exploiting vulnerabilities in application code, attackers increasingly target the trusted development infrastructure responsible for delivering software in the first place.
Why Traditional Trust Signals Aren’t Enough
One of the most concerning aspects of the compromise is that many of the security mechanisms developers increasingly rely upon appeared legitimate.
The poisoned release reportedly carried valid OpenID Connect (OIDC) and Supply-chain Levels for Software Artifacts (SLSA) provenance because it passed through the project’s legitimate GitHub Actions release workflow. In other words, the build process itself remained authentic—even though the underlying source had already been compromised.
That distinction highlights an important limitation of software provenance technologies. Build attestations can verify how software was produced, but they cannot guarantee that malicious code wasn’t introduced before the trusted build pipeline began.
Developers also faced additional execution paths through repository configuration files associated with development tools, illustrating how modern attacks increasingly target the broader developer workflow instead of relying solely on malicious package installations.
Responding Before the Damage Spreads
For organizations using Keyv, Upwind recommends removing keyv@6.0.0 immediately, pinning dependencies to a verified clean version, rotating credentials if the malicious package was installed, and reviewing CI/CD pipelines, lockfiles, and software bills of materials (SBOMs) for exposure.
The incident also reinforces broader lessons for organizations managing modern software supply chains. Open-source dependencies have become foundational building blocks for nearly every application, making continuous monitoring of dependency behavior just as important as scanning for known vulnerabilities.
Rather than assuming widely used packages are inherently trustworthy, security teams increasingly need visibility into how dependencies behave during installation, what external resources they access, and whether they attempt to execute unexpected code before an application even starts.
By identifying the malicious Keyv release early, Upwind brought immediate attention to a compromise that demonstrated just how quickly trust in the open-source ecosystem can be exploited, and how a single package update can create consequences that extend far beyond one repository.
John Kevin Hao is a news and feature writer covering cybersecurity, technology, and business targeted for professional audiences.

