A compromised maintainer account turned the Keyv and Cacheable package family into a credential-stealing npm worm. By August 5, Aikido reported at least 444 packages across 1,381 versions, representing more than two billion monthly installs. Malicious releases carried valid GitHub Actions provenance, installed Bun through preinstall, harvested npm, GitHub, AWS, Kubernetes, Vault, Stripe, Slack, and filesystem secrets, then used stolen publishing and repository credentials to propagate.
The incident makes ecosystem-wide detection more urgent. GitHub now imports OpenSSF malicious-package records into its Advisory Database for npm, PyPI, Maven, RubyGems, NuGet, Go, crates.io, and Composer. The auto-publishing pipeline validates OSV records, rejects round-tripped GitHub reports, caps anomalous batches, preserves commit provenance, and can roll back an entire import batch. Malware alerts remain opt-in.
Bundler 4.0.18 extends its opt-in cooldown window to bundle lock and bundle cache, closing paths that could resolve a just-published gem without the policy. The control keys on gem name and version rather than platform and allows --cooldown 0 when an urgent security release must bypass the delay. Signed provenance, advisory feeds, and release-age filters reduce different parts of the risk, but none turns a newly published artifact into trusted code by itself.
Cloudflare's private-beta WriteGuard applies the same layered thinking to MCP writes. A central policy assigns risk tiers per tool, blocks critical operations before handlers run, adds agent-and-session attribution while retaining human identity, and emits scrubbed asynchronous audit events. Client prompts are not treated as enforcement because harness behavior varies and users can disable them.