{"schema_version":"1.8.0","id":"MAL-2026-12550","published":"2026-08-05T14:15:20Z","modified":"2026-08-05T14:35:19.161001593Z","summary":"Malicious code in checkout-context (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (29b244ec0b7c63b76c59ceef313391742ea858b300088653f5da701db9ca7611)\nOn require, _helpers.js reassembles hostnames via array split-and-join to hide the destinations (oob-worker.cf*.workers.dev and *.dl.wel1.ru subdomains including sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), downloads a platform-specific binary via https.get, writes it to a temp path with a diagnostic-looking name (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Unix), chmods it 0755, and spawns it detached via /bin/sh or cmd. A persistence flag file named.analytics_state is written by helper _l. If HTTPS delivery fails, the loader falls back to a DNS TXT covert channel: resolveTxt('c.'+domain) gives a chunk count, then i.'+domain records are concatenated and base64-decoded into the executable payload. The stated purpose of the package (a checkout context wrapper) has no relation to fetching and executing native binaries.\n","affected":[{"package":{"name":"checkout-context","ecosystem":"npm","purl":"pkg:npm/checkout-context"},"versions":["35.5.4"],"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":"9fe9c1900570123800f4e7cdbbf67d0c59e2f7b6655be1e64de4163b6eaa5d29","tlsh":"b2a1989a16aa70088bb0abf587174416f65bf6633780c5d4fb5ca9885fb31248371efc"}],"package_integrity":[{"filename":"checkout-context-35.5.4.tgz","hashes":{"sha1":"db7ebb9a08c8ec1287fba930a61ded1244331369","sha512_sri":"sha512-qtc8G0l4DXvdBmjcSbwmQoc4/Blhv1yRh7/2rbImJttJkEkoc4okkPYXAeD4bubcmvU5qLX+SaZ5nCxXLteoCg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-context/MAL-2026-12550.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/checkout-context/v/35.5.4"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015227","import_time":"2026-08-05T14:20:14.721689633Z","modified_time":"2026-08-05T14:15:20Z","sha256":"29b244ec0b7c63b76c59ceef313391742ea858b300088653f5da701db9ca7611","source":"amazon-inspector","versions":["35.5.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}