MAL-2026-12019

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@keyv/postgres/MAL-2026-12019.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12019
Aliases
  • GHSA-cgpm-wvpq-73p3
Published
2026-08-04T13:01:44Z
Modified
2026-08-05T10:05:31.005012940Z
Summary
Malicious code in @keyv/postgres (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-04T13:01:45Z",
            "sha256": "82754cede5678fd7979fd51c4a89122efc6e701c1ac5c7001fab90281fe180ff",
            "id": "GHSA-cgpm-wvpq-73p3",
            "versions": [
                "6.0.0"
            ],
            "import_time": "2026-08-05T00:10:18.034975156Z"
        },
        {
            "import_time": "2026-08-05T09:27:49.685145754Z",
            "modified_time": "2026-08-05T08:25:29Z",
            "sha256": "c16a1c036c4437e534d6eca401133f16bd83f08e0ca4b656c8bef0906eaad2a5",
            "id": "IN-MAL-2026-014266",
            "versions": [
                "6.0.0"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @keyv/postgres

Package

Name
@keyv/postgres
View open source insights on deps.dev
Purl
pkg:npm/%40keyv/postgres

Affected ranges

Affected versions

6.*
6.0.0

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-5oIhnUuXFwHbTpkba/DynuZvdY0mbjMXx6Du2l/qjUBeZz+UKfqOMiXkhtYxy6cTaaSFKsFg5BE13jetOYxyoA==",
                "sha1": "09b1cba2addbbce549ab05c4b4af04f1f3051b43"
            },
            "filename": "postgres-6.0.0.tgz"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@keyv/postgres/MAL-2026-12019.json"