What Happened
A credential-stealing npm worm that first appeared in keyv@6.0.0 spread beyond the Keyv and Cacheable namespaces into hundreds of packages across multiple organizations on August 4, 2026. SafeDep verified 353 poisoned versions across 79 package names in the npm registry. Its monitoring put the wider footprint at 442 versions across 353 names, while Aikido later reported at least 868 packages
Why It Matters
The article reports a large-scale npm software supply-chain compromise linked to the keyv@6.0.0 release, in which a Mini Shai-Hulud–style worm used malicious preinstall scripts to steal cloud, source-control, and registry credentials and then automatically republish trojanized packages across hundreds of projects and organizations.[1][2][5][8] Researchers also observed persistence hooks planted in Claude Code and VS Code configuration so that merely trusting an IDE workspace could execute attacker-controlled payloads without a fresh install.[1][5][6][8] From a RealGround perspective, this demonstrates how AI-adjacent development tools and IDE integrations (including AI coding assistants) expand the AI supply chain attack surface, requiring SBOM-driven dependency governance, strict controls on install-time scripts, and hardening of IDE/agent trust prompts. Teams should assume that any AI agents or developer environments using compromised npm dependencies may have leaked credentials and model-related configuration, and respond with full key rotation, environment re-imaging where practical, and continuous monitoring for similar worm-like supply-chain patterns.
RealGround Analysis
This signal maps to AI supply chain. Organizations using AI agents, LLM APIs, SaaS integrations, or sensitive data workflows should review whether this class of issue could create unauthorized tool execution, data leakage, weak approval gates, or unmanaged supply-chain exposure.
Recommended Actions
- Restrict AI agent tool permissions and production write paths.
- Review sensitive data access across prompts, logs, embeddings, memory, and SaaS integrations.
- Add human approval workflows for high-impact or state-changing actions.
- Run prompt injection and indirect prompt injection tests against affected workflows.
- Document the owner, control gap, and remediation deadline for this risk class.
Source
https://thehackernews.com/2026/08/keyv-linked-npm-worm-poisons-hundreds.html
