MAL-2026-12019 Malicious code in @keyv/postgres (npm)
- Package
- @keyv/postgres
- Registry
- npm
What is MAL-2026-12019?
MAL-2026-12019 is a malicious package in @keyv/postgres, published on 4 Aug 2026.
Official description
@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.
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.
What should I do about MAL-2026-12019?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-cgpm-wvpq-73p3.