MAL-2026-12420Malicious code in prokit-core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | prokit-core | 20.6.6 |
{"modified":"2026-08-05T12:51:40Z","published":"2026-08-05T12:51:40Z","schema_version":"1.7.4","id":"MAL-2026-12420","summary":"Malicious code in prokit-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8d1f094f3b3aea4e6c087847823efe5c1f1a930ac746aa2696259951e6332f92)\nOn 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, dotnet_diag_<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.\n","affected":[{"package":{"ecosystem":"npm","name":"prokit-core"},"versions":["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":{"evidence_files":[{"path":"_helpers.js","sha256":"921c4acc57de05f3231fdd344aca574cdc7a34b02cabd03babb414796aa6413d","tlsh":"71a1c79a12a9701a8bb0d7e58717441af65be6633380c290fb6ce5944f73524c3b2efc"}],"package_integrity":[{"filename":"prokit-core-20.6.6.tgz","hashes":{"sha1":"b3054ddc443efbea87546d7a4368b7d4f7c14ad6","sha512_sri":"sha512-7VL1A/UKvclPs/VaZikzxI87y6Gx4BY7mGaxD0pwrZs2OmP9a4Fmu7gk3vt/SPSvg2CMH/dHvuaG9tWcMmj0yw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/prokit-core/v/20.6.6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014790","import_time":"2026-08-05T13:08:46.711268353Z","modified_time":"2026-08-05T12:51:40Z","sha256":"8d1f094f3b3aea4e6c087847823efe5c1f1a930ac746aa2696259951e6332f92","source":"amazon-inspector","versions":["20.6.6"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0