Malicious Keyv npm Releases Used Trusted Publishing to Steal Developer Secrets
Supply Chain Risk · 28 sources · Updated 4mo ago · First seen Aug 4, 2026

A software supply chain compromise hit the JavaScript ecosystem after malicious versions of Keyv and related npm packages were published through legitimate maintainer workflows, with keyv@6.0.0 identified as a primary malicious release. Researchers said the tainted packages added a preinstall hook that executed attacker code during dependency installation on developer workstations and CI runners, while some repositories also contained malicious VS Code and Claude Code configuration files that could trigger execution when a cloned project was opened. Early community reports tied the incident to the jaredwray/cacheable package set and warned that numerous downstream dependencies were exposed.
Analysis found the malware targeted high-value secrets including GitHub and npm tokens, cloud credentials, Vault tokens, Kubernetes service account tokens, SSH keys, and TLS certificates, with tradecraft resembling the Shai-Hulud malware family. Investigators reported no evidence that npm itself was breached; instead, the attackers appear to have used stolen maintainer credentials and trusted GitHub Actions publishing pipelines with valid provenance and npm attestation, demonstrating that provenance verified the build source but not whether the source had already been maliciously altered. Responders were urged to avoid affected versions, isolate any host that installed them, remove persistence such as gh-token-monitor, and rotate exposed credentials from a clean system.
Why it matters
Impact assessment
This is a high-severity software supply-chain compromise affecting the JavaScript/npm ecosystem, especially developer workstations, CI/CD runners, and organizations that consume Keyv, Cacheable, and downstream dependencies. Impact includes credential theft, unauthorized package publication, repository compromise, persistence on endpoints, and potential follow-on cloud and source-code environment access.
The exposure is widespread rather than narrowly targeted because compromised packages sit deep in dependency trees and the worm propagated across hundreds of packages and more than one organization. Active exploitation in the wild is confirmed, with reporting citing more than 400 affected packages and some sources tracking 800+ packages, 1,600+ poisoned versions, or more than 2,000 versions during the campaign.
Affected populations and products
- npm consumers of compromised packages, directly or transitively
- Developer laptops and engineering workstations
- CI/CD runners, especially GitHub Actions and shared runners
- Organizations using Keyv/Cacheable-related packages and laterally affected namespaces
- Repositories opened in VS Code or Claude Code where malicious workspace files were present
Severity and business impact
- Credential exposure: npm, GitHub, cloud, Vault, Kubernetes, SSH, TLS, database, messaging, payment, and AI-tool credentials
- Operational disruption: rebuilds of developer endpoints, CI runners, caches, and artifacts may be required
- Supply-chain risk: stolen maintainer credentials enabled republishing of additional legitimate packages
- Reputational and release-integrity impact: malicious packages carried valid provenance and appeared authentic
- Potential financial impact: cloud/API credential theft and unauthorized package publication can drive downstream incident costs
Scope and known incidents
- Initial malicious release widely identified as keyv@6.0.0, published 2026-08-04 09:35 UTC
- Initial blast radius included Keyv/Cacheable family; later spread to namespaces including @servicetitan, @or-sdk, @onereach, @ornikar, @qlik, @deliveroo, @picsart, @hubsync, and others
- Reported counts vary by source: more than 400 packages, more than 440 packages, more than 860 packages, and up to 1,684 poisoned versions across 420 package names
- Multiple researchers confirmed active exploitation and worm-like propagation in real developer and build environments


