{"schema_version":"1.8.0","id":"MAL-2026-12589","published":"2026-08-05T14:09:28Z","modified":"2026-08-05T14:35:38.131935471Z","summary":"Malicious code in checkout-public-tokens (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c1ca81222c080449cad71d071579738ea810e280c6e8ed3b53647efdde902536)\nOn require() of checkout-public-tokens, index.js loads _platform.js which downloads an opaque binary payload from hardcoded string-split-obfuscated hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev), with a DNS-TXT base64 fallback resolver via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The payload is written to /tmp or %TEMP% under a disguised name (.cache_<hex> or dotnet_diag_<hex>.exe), chmodded to 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Destination hostnames are constructed at runtime by joining split literals, and in-file comments frame the download-and-execute chain as telemetry, analytics, and cache validation. The package advertises itself as a token utility; the hosts and behavior are unrelated to any documented purpose and there is no hash or signature verification of the fetched bytes.\n","affected":[{"package":{"name":"checkout-public-tokens","ecosystem":"npm","purl":"pkg:npm/checkout-public-tokens"},"versions":["35.4.9"],"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":"_platform.js","sha256":"1b749f103693c4bbd8807550fe45df5e9e1de387cb78c65fced660568a487885","tlsh":"e2b1b75a16aa70188bb09bf4c7174416f65be2633780c2d4fbaca5985f76124c3b2dfc"}],"package_integrity":[{"filename":"checkout-public-tokens-35.4.9.tgz","hashes":{"sha1":"cfd94f67301faa83d1fc03d28bec1db8ad7291fe","sha512_sri":"sha512-NaXlpQPLf+Sr52LiuG3ZImuGA/6zZ1FYTVqClYCeDgk4HyWHd/aqVi7qb70uYC07j0FE76Fn10Hj7Brv+aH+hQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-public-tokens/MAL-2026-12589.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/checkout-public-tokens/v/35.4.9"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015188","import_time":"2026-08-05T14:20:11.131414727Z","modified_time":"2026-08-05T14:09:28Z","sha256":"c1ca81222c080449cad71d071579738ea810e280c6e8ed3b53647efdde902536","source":"amazon-inspector","versions":["35.4.9"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}