keyv and cacheable npm supply chain attack (keyv 6.0.0)

Updated 2026-11-15

Short answer: keyv 6.0.0 is malicious. On 4 August 2026 an attacker who had taken over a GitHub maintainer account published bad versions of packages in the keyv / cacheable ecosystem, and the worm then spread to more than 400 npm packages (Wiz). If any project or CI job installed one of them, treat that machine as compromised.

Known bad versions (part of the Wiz list)

PackageMalicious version
keyv6.0.0
cache-manager7.2.10
cacheable-request13.0.20
@cacheable/utils2.5.1
http-metrics-middleware2.2.2
@qlik/embed-react2.5.3
@nebula.js/nucleus0.5.1

Wiz also lists 26 @ornikar packages and more; the full, updated list is on Wiz's GitHub, linked from its post.

npm ls keyv cache-manager cacheable-request @cacheable/utils --all

What the payload does

Files and indicators (Wiz)

find ~ -path '*/node_modules/keyv/Math_Symbol.js' 2>/dev/null
ls -d /tmp/bun-dl-* 2>/dev/null

What to do

Wiz advises removing the affected versions from development, build and CI environments, treating the systems as compromised and rebuilding them, then rotating cloud credentials, GitHub tokens, SSH keys, Kubernetes and Terraform credentials. Because of the dead-man's switch, remove the payload and its persistence before you revoke anything. See the Shai-Hulud check guide for the order.

FixLane's page for this incident: hijacked keyv and cacheable npm packages. A reviewed procedure your AI agent can run (a read-only check first) is served by the Telegram bot and the MCP server.

Questions

Which keyv version is malicious?

keyv 6.0.0, published on 4 August 2026 after a maintainer's GitHub account was compromised (Wiz).

Is this related to Shai-Hulud?

Yes. Wiz says the payload is a descendant of the "Mini" Shai-Hulud malware family.

Is upgrading keyv enough?

No. The payload steals secrets and installs persistence when it runs. Wiz advises treating the system as compromised, rebuilding it and rotating credentials.

Sources

Check your own machine

Connect an AI agent to the free, read-only FixLane MCP server or ask the Telegram bot: it checks what you have installed against verified fixed versions and serves a reviewed fix procedure. All guides.