MAL-2026-20278

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/promise-retry-utils-testmetest/MAL-2026-20278.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20278
Published
2026-11-20T02:09:16Z
Modified
2026-11-20T02:30:08Z
Summary
Malicious code in promise-retry-utils-testmetest (npm)
Details

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

Source: amazon-inspector (741b012db178dab26fc3deb78a568ad8137a096b5da56e399eca35599e567c00)

package.json for promise-retry-utils-testmetest@1.0.1 declares a preinstall lifecycle hook that executes node setup.js on npm install. The package name is a typosquat-shaped variant of the widely used promise-retry utility family and has no apparent legitimate purpose for a preinstall step. The script runs automatically on installation before any consumer code is invoked, so any behavior in setup.js — including environment or credential reads, outbound network, or payload execution — fires on default install.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022917",
            "import_time": "2026-11-20T02:16:22.978717125Z",
            "modified_time": "2026-11-20T02:09:16Z",
            "sha256": "741b012db178dab26fc3deb78a568ad8137a096b5da56e399eca35599e567c00",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / promise-retry-utils-testmetest

Package

Name
promise-retry-utils-testmetest
View open source insights on deps.dev
Purl
pkg:npm/promise-retry-utils-testmetest

Affected ranges

Affected versions

1.*
1.0.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "1cf318b0195379b5ac88843e4008ee091b6ea6f998436fae256f2cdff4d129fa",
            "tlsh": "7bd012358f23a42320c46a773a7b954756664d5a0114bc142793211849da7fa68bb21e"
        }
    ],
    "package_integrity": [
        {
            "filename": "promise-retry-utils-testmetest-1.0.1.tgz",
            "hashes": {
                "sha1": "f04f68181445890502be9385fafb1aceb6e3c24e",
                "sha512_sri": "sha512-qJV77dfe4tXVAr9UP5Q5vCJqTd/BbYuxC15GLeOtqlOj9i17uPC/7qTmNWD4qHiDbwKh96T8qTDfKzEDgWSINw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/promise-retry-utils-testmetest/MAL-2026-20278.json"