MAL-2026-12420

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/prokit-core/MAL-2026-12420.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12420
Published
2026-08-05T12:51:40Z
Modified
2026-08-05T13:35:47.252344889Z
Summary
Malicious code in prokit-core (npm)
Details

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

Source: amazon-inspector (8d1f094f3b3aea4e6c087847823efe5c1f1a930ac746aa2696259951e6332f92)

On require of the package, index.js unconditionally loads helpers.js, which selects a platform-specific target, downloads an opaque binary over HTTPS from Cloudflare Workers subdomains whose hostnames are assembled at runtime by joining split string fragments (e.g. oob-worker.cf101-adf.workers.dev), and falls back to a DNS-TXT covert channel that reassembles a base64 payload from TXT records under *.dl.well1.site (tin.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site, tina.dl.well1.site). The retrieved bytes are written to /var/tmp or %TEMP% under a disguised name (.cache<hex> on Unix, dotnetdiag<hex>.exe on Windows), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe. A /tmp/.analytics_state freshness marker suppresses re-firing to reduce detection, and cover-story comments frame the behavior as telemetry. Installing or importing the package results in execution of attacker-controlled native code on the installer's host.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014790",
            "import_time": "2026-08-05T13:08:46.711268353Z",
            "sha256": "8d1f094f3b3aea4e6c087847823efe5c1f1a930ac746aa2696259951e6332f92",
            "modified_time": "2026-08-05T12:51:40Z",
            "versions": [
                "20.6.6"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / prokit-core

Package

Affected ranges

Affected versions

20.*
20.6.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-7VL1A/UKvclPs/VaZikzxI87y6Gx4BY7mGaxD0pwrZs2OmP9a4Fmu7gk3vt/SPSvg2CMH/dHvuaG9tWcMmj0yw==",
                "sha1": "b3054ddc443efbea87546d7a4368b7d4f7c14ad6"
            },
            "filename": "prokit-core-20.6.6.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_helpers.js",
            "sha256": "921c4acc57de05f3231fdd344aca574cdc7a34b02cabd03babb414796aa6413d",
            "tlsh": "71a1c79a12a9701a8bb0d7e58717441af65be6633380c290fb6ce5944f73524c3b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/prokit-core/MAL-2026-12420.json"