MAL-2026-12017

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@keyv/mongo/MAL-2026-12017.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12017
Aliases
  • GHSA-h8h5-wqhj-grm7
Published
2026-08-04T13:03:51Z
Modified
2026-08-05T10:05:29.709659270Z
Summary
Malicious code in @keyv/mongo (npm)
Details

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

Source: amazon-inspector (b54da8d83c19dc23fe163d7e333f4529faa01d322fe272066da4964fcf604469)

@keyv/mongo is the MongoDB storage adapter for the keyv key-value library. No a static rule matched and no behavioral findings were produced against this version's contents. No lifecycle scripts fetching or executing remote code, no credential or filesystem reads targeting installer secrets, no hardcoded non-first-party network destinations, and no obfuscated payloads were observed.

Source: ghsa-malware (5a31cfa00db5609eb8dea14b12e50bf7bf4354eba2990b524805c7da863bc97a)

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": [
        {
            "versions": [
                "6.0.0"
            ],
            "sha256": "5a31cfa00db5609eb8dea14b12e50bf7bf4354eba2990b524805c7da863bc97a",
            "import_time": "2026-08-05T00:10:18.092852399Z",
            "id": "GHSA-h8h5-wqhj-grm7",
            "modified_time": "2026-08-04T13:03:52Z",
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "6.0.0"
            ],
            "sha256": "b54da8d83c19dc23fe163d7e333f4529faa01d322fe272066da4964fcf604469",
            "import_time": "2026-08-05T09:27:49.995242874Z",
            "id": "IN-MAL-2026-014269",
            "modified_time": "2026-08-05T08:25:55Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @keyv/mongo

Package

Affected ranges

Affected versions

6.*
6.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-mpILKdlPHWYOIYRx3HRjWpLtVtjRGgvV7xMv0OJvpfVmpWho/bEjDbmffpVQg792OkE7Og6C8bdmuURdHGhaLA==",
                "sha1": "4b915f9e159946451a45392d93ac895a6f299b4e"
            },
            "filename": "mongo-6.0.0.tgz"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@keyv/mongo/MAL-2026-12017.json"