Malicious code in @keyv/valkey (npm)
MAL-2026-12025 · GHSA-2x7p-3882-mgcg
Published · Modified
Dependency scanning
Check whether @keyv/valkey is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (77c74b9b7cab0e47c6f19a96a7ea44fd6d7c23989e4abdab3e708de9d6084d7f)
The package is a Keyv storage adapter for Valkey. No install-time lifecycle scripts, credential access, network exfiltration, dropper behavior, silent-relay, or backdoor mechanisms were observed in the shipped files. Behavior is consistent with a standard keyv storage adapter.
Source: ghsa-malware (6aab55b50b76a7275c3fadcfe135b930c96e80e78fec7b8232f8aae423f90f80)
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes