NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: @keyv published 19 malicious packages. See the full campaign →
Malicious package

@keyv/compress-gzipnpm

Advisory published Updated

@keyv/compress-gzip is a confirmed malicious npm package (MAL-2026-12010) that steals credentials and exfiltrates sensitive data (malicious version 6.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @keyv/compress-gzip (npm)

MAL-2026-12010
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @keyv/compress-gzip

What this malware does

@keyv/compress-gzip is a gzip compression adapter for the keyv key-value storage library. No static or behavioral indicators of credential access, exfiltration, install-time remote code execution, silent-relay, backdoor, or self-propagation were observed in the package contents.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
6.0.0

Indicators of compromise (SHA-256)

387acdd729a3b5f2a29f64816ea1a2334f6b88dd82423aee768501446f0ff695
8ca4a62f75f4ef4696136cf194317102ad13aa319ba3319fb7dce12de6ae8e9d

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @keyv/compress-gzip (version 6.0.0).

  2. If you installed it — respond

    @keyv/compress-gzip is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @keyv/compress-gzip was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @keyv/compress-gzip on npm has been identified as a malicious package (version 6.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-c7r2-p8ff-5ffpIN-MAL-2026-014263

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @keyv/compress-gzip-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@keyv/compress-gzip (npm) malicious package — MAL-2026-12010 | O3 Security