MAL-2026-21015

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ngp-ui/script-test-cleanup/MAL-2026-21015.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21015
Published
2026-12-03T06:00:20Z
Modified
2026-12-03T06:30:06Z
Summary
Malicious code in @ngp-ui/script-test-cleanup (npm)
Details

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

Source: amazon-inspector (bdd3d41a5083a52a45e94372863e70ebed55d4fc278bcba0a0ffaf45c112f83a)

The package declares a preinstall lifecycle script that reads the installing machine's hostname with os.hostname() and embeds it in a DNS lookup for a subdomain of oob.jr0ch17.com (<hostname>.ngp-ui.script-test-cleanup.oob.jr0ch17.com), an out-of-band collector not associated with the installer. The lookup fires automatically on npm install, before any code is invoked by the user, with no disclosure or opt-in. The package ships no functional implementation; its only install-time effect is the outbound DNS callback. The scope-prefixed name combined with the implausibly high version 99.0.0 matches the dependency-confusion shape, in which an internal-looking name and winning version are published publicly so that resolution inside private build systems is signalled to the collector. Data leaving the installer is limited to the host identifier; no credentials, environment contents, or files are read, and no code is fetched or executed.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023184",
            "import_time":  "2026-12-03T06:26:17.605085213Z",
            "modified_time":  "2026-12-03T06:00:20Z",
            "sha256":  "bdd3d41a5083a52a45e94372863e70ebed55d4fc278bcba0a0ffaf45c112f83a",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @ngp-ui/script-test-cleanup

Package

Name
@ngp-ui/script-test-cleanup
View open source insights on deps.dev
Purl
pkg:npm/%40ngp-ui/script-test-cleanup

Affected ranges

Affected versions

99.*
99.0.0

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":  "preinstall.js",
            "sha256":  "df907afa77cf104e6d89a3978b38faa0c0f7cb1d42121862e85eed2a8c152b98",
            "tlsh":  "5ed012e866eef5b83472bdc5e4bd82111873eb803246c1c1644885e146a39f55f66e68"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "script-test-cleanup-99.0.0.tgz",
            "hashes":  {
                "sha1":  "5dbac34f8be70d66d5c654fe7b7949d93ddec3f8",
                "sha512_sri":  "sha512-LB3pla9ggCQpTgk4S558LLK+YixDthngtKivbgT1nkR1HEVZRkYTZpqqhAvX7NBgH3E43z8JdT1s9X1EpszYyg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ngp-ui/script-test-cleanup/MAL-2026-21015.json"