{"id":"MAL-2026-12598","summary":"Malicious code in checkout-total-logic (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (297980540b58c9daf802d92602f2a809348bd6ac1492537d6e291f704702dc0a)\nOn require of the package, index.js loads _platform.js, which reconstructs endpoint hostnames from split string fragments resolving to oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, and oob-worker.cf102-baf.workers.dev, with a DNS TXT-record chunked-base64 fallback channel over *.dl.wel1.ru. _platform.js:74 issues https.get to those hosts, writes the returned platform-specific binary to a temp path using decoy filenames (dotnet_diag_*.exe,.cache_*), chmods it 0o755 on Unix, and detached-spawns it via cp.spawn('/bin/sh',['-c',fp+' &'],{detached:true}) on Unix or spawn('cmd',...) on Windows. There is no hash or signature verification, the destination hosts are not publisher-associated, and the package presents itself as a trivial log transport, contradicting the fetch-and-execute behavior. A cooldown flag is dropped in /tmp. The result is unauthenticated remote code execution on any developer or CI host that installs and requires this package.\n","modified":"2026-08-05T14:35:42.053498574Z","published":"2026-08-05T14:04:40Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["35.8.3"],"id":"IN-MAL-2026-015154","import_time":"2026-08-05T14:20:07.660866963Z","modified_time":"2026-08-05T14:04:40Z","sha256":"297980540b58c9daf802d92602f2a809348bd6ac1492537d6e291f704702dc0a"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/checkout-total-logic/v/35.8.3"}],"affected":[{"package":{"name":"checkout-total-logic","ecosystem":"npm","purl":"pkg:npm/checkout-total-logic"},"versions":["35.8.3"],"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":"d1e7b8d65d728a9978e6a9e3a5cb03383ac060d874eeba659ffc04a90dbd252f","tlsh":"ccb1846a056670188b70d7e1c7176415f61af6a3738092d8fb5ca9881fb2224c3b2efc"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-mqvIRroAP949B2hw2RmwPgg6BfrvfIVoK3KdH/WfswuYtdFyatrEgu79kJlmd8+vv03tdi2FhZqlmA+xEqWodg==","sha1":"ae214690d1b6c69ebf5d55ec7e989cc901855125"},"filename":"checkout-total-logic-35.8.3.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-total-logic/MAL-2026-12598.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}