Supply Chain Compromise Affecting keyv and cacheable npm Packages
A supply chain attack has compromised the keyv and cacheable npm packages by injecting malicious preinstall hooks into at least ten packages. The attack started with the compromise of a maintainer account, enabling the threat actor to distribute malware that harvests cloud and CI credentials from multiple platforms. The malware self-propagates by repackaging other npm packages with the malicious code and republishing them using stolen tokens. Stolen credentials are exfiltrated to attacker-controlled GitHub repositories, and persistence mechanisms are established in developer directories. This campaign affects tens of millions of weekly downloads and targets developer environments and cloud infrastructure credentials.
AI Analysis
Technical Summary
On August 4, 2026, a supply chain compromise affected the keyv and cacheable npm packages by injecting malicious preinstall hooks into at least ten packages. The attacker gained access by compromising the maintainer account 'Jaredwray', allowing the insertion of obfuscated payloads that download a Bun runtime. The malware harvests credentials from AWS, GCP, Azure, HashiCorp Vault, Kubernetes, GitHub Actions, and npm tokens. It propagates by repackaging other npm packages with the malicious hook and republishing them using stolen npm tokens. Exfiltrated credentials are sent to threat actor-controlled GitHub repositories, and persistence is maintained in developer directories. This attack represents a self-propagating supply chain compromise targeting cloud and CI/CD credentials across multiple platforms.
Potential Impact
The attack compromises developer environments by stealing cloud and continuous integration credentials, potentially allowing unauthorized access to cloud resources and CI/CD pipelines. The self-propagating nature of the malware increases the risk of widespread infection across npm packages. Credential theft from multiple cloud providers and developer tools can lead to further compromise of infrastructure and sensitive data. Persistence mechanisms in developer directories may enable long-term unauthorized access and lateral movement within affected environments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until official fixes or guidance are published, developers should audit their npm dependencies for malicious preinstall hooks, revoke and rotate any potentially compromised credentials and tokens, and monitor for suspicious activity related to npm package publishing and cloud credential usage. Avoid using affected packages until a verified clean version is available. Follow updates from npm and package maintainers regarding remediation steps.
Indicators of Compromise
- hash: 35a672cf34b996b91f3e1c28cbf3a05a37e036e4
- hash: f525d52ceb966516686b482d3dc0137028cc6a63
- hash: 54dc7ea54a1317cca0e890a2770630cf7fa6c97813e0cb9d2caa93012b350668
- hash: 9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc
- hash: fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb
- hash: 4140f7e17e6f97f83aa3472473e01add
- hash: 7bcf8d9f6834c44450eac145a967d2f2
- hash: f92ee93a0af971a3966bfa8efa9c2625
- hash: e65b155ce74f3f81fb7d2b5b60f8e62b36e6d69c
Supply Chain Compromise Affecting keyv and cacheable npm Packages
Description
A supply chain attack has compromised the keyv and cacheable npm packages by injecting malicious preinstall hooks into at least ten packages. The attack started with the compromise of a maintainer account, enabling the threat actor to distribute malware that harvests cloud and CI credentials from multiple platforms. The malware self-propagates by repackaging other npm packages with the malicious code and republishing them using stolen tokens. Stolen credentials are exfiltrated to attacker-controlled GitHub repositories, and persistence mechanisms are established in developer directories. This campaign affects tens of millions of weekly downloads and targets developer environments and cloud infrastructure credentials.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
On August 4, 2026, a supply chain compromise affected the keyv and cacheable npm packages by injecting malicious preinstall hooks into at least ten packages. The attacker gained access by compromising the maintainer account 'Jaredwray', allowing the insertion of obfuscated payloads that download a Bun runtime. The malware harvests credentials from AWS, GCP, Azure, HashiCorp Vault, Kubernetes, GitHub Actions, and npm tokens. It propagates by repackaging other npm packages with the malicious hook and republishing them using stolen npm tokens. Exfiltrated credentials are sent to threat actor-controlled GitHub repositories, and persistence is maintained in developer directories. This attack represents a self-propagating supply chain compromise targeting cloud and CI/CD credentials across multiple platforms.
Potential Impact
The attack compromises developer environments by stealing cloud and continuous integration credentials, potentially allowing unauthorized access to cloud resources and CI/CD pipelines. The self-propagating nature of the malware increases the risk of widespread infection across npm packages. Credential theft from multiple cloud providers and developer tools can lead to further compromise of infrastructure and sensitive data. Persistence mechanisms in developer directories may enable long-term unauthorized access and lateral movement within affected environments.
Defensive Guidance
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until official fixes or guidance are published, developers should audit their npm dependencies for malicious preinstall hooks, revoke and rotate any potentially compromised credentials and tokens, and monitor for suspicious activity related to npm package publishing and cloud credential usage. Avoid using affected packages until a verified clean version is available. Follow updates from npm and package maintainers regarding remediation steps.
Technical Details
- Author
- AlienVault
- Tlp
- white
- References
- ["https://www.netskope.com/blog/npm-stealer-reads-its-c2-from-an-ethereum-contract"]
- Adversary
- null
- Pulse Id
- 6a72f10a39d4c128ee7e2fa8
- Threat Score
- null
Indicators of Compromise
Hash
| Value | Description | Copy |
|---|---|---|
hash35a672cf34b996b91f3e1c28cbf3a05a37e036e4 | — | |
hashf525d52ceb966516686b482d3dc0137028cc6a63 | — | |
hash54dc7ea54a1317cca0e890a2770630cf7fa6c97813e0cb9d2caa93012b350668 | — | |
hash9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc | — | |
hashfd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb | — | |
hash4140f7e17e6f97f83aa3472473e01add | — | |
hash7bcf8d9f6834c44450eac145a967d2f2 | — | |
hashf92ee93a0af971a3966bfa8efa9c2625 | — | |
hashe65b155ce74f3f81fb7d2b5b60f8e62b36e6d69c | — |
Threat ID: 6a72fab9bf8831d53992fdae
Added to database: 08/05/2026, 08:56:25 UTC
Last enriched: 08/05/2026, 12:41:53 UTC
Last updated: 08/05/2026, 22:02:25 UTC
Views: 31
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.