Malicious code in @keyv/postgres (npm)
MAL-2026-12019 · GHSA-cgpm-wvpq-73p3
Published · Modified
Dependency scanning
Check whether @keyv/postgres 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 (c16a1c036c4437e534d6eca401133f16bd83f08e0ca4b656c8bef0906eaad2a5)
@keyv/postgres is the PostgreSQL storage adapter for the keyv key-value store library. The package exposes a storage adapter API and does not exhibit install-time or import-time behavior that reads installer secrets, fetches and executes remote code, opens a backdoor, or relays caller data to an author-controlled destination.
Source: ghsa-malware (82754cede5678fd7979fd51c4a89122efc6e701c1ac5c7001fab90281fe180ff)
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