{"id":"MAL-2026-12590","revision":"da0f75c9359d4e91a9a8de83b34fa0f6","records":[{"revision":"da0f75c9359d4e91a9a8de83b34fa0f6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12590","aliases":[],"title":"Malicious code in checkout-resend-pos-order-sms-am (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (67d2c64d2c4df678c1c10b1ca9d9f386e8fd6dd9afe0cb804b11b9dff736ab11)\nOn require() of this package, index.js loads _polyfill.js which reconstructs attacker-controlled hostnames via array-join concatenation (e.g. 'oob-worker.cf10x-*.workers.dev' variants) and issues an https.get to download a platform-specific executable. The bytes are written to /var/tmp/.cache_<rnd> on Unix or %TEMP%\\dotnet_diag_<rnd>.exe on Windows, chmodded to 0755, and spawned detached via spawn('/bin/sh', ['-c', <path> + ' &']) or the Windows equivalent. A DNS-TXT base64-chunk fallback via *.dl.wel1.ru resolvers is used when direct HTTPS fetch fails. The child_process module reference and 'chmodSync' string are also concatenated at runtime ('child_'+'process', 'chmod'+'Sync') to defeat static string matching. A sibling module lib/telemetry.js contains the same fetch/chmod-0755/sh-c-spawn dropper pattern, indicating shared payload infrastructure. The package's stated purpose (an SMS/POS order helper) is unrelated to downloading and executing native binaries from Cloudflare Workers subdomains, and the disguised on-disk filenames (.cache_*, dotnet_diag_*.exe) further indicate concealment rather than legitimate runtime setup.\n","state":0,"publishedAt":"2026-08-05T14:08:41+00:00","modifiedAt":"2026-08-05T14:35:39.0649712+00:00","affected":[{"ecosystem":"npm","name":"checkout-resend-pos-order-sms-am","ranges":[],"versions":["35.3.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-resend-pos-order-sms-am/v/35.3.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12590","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12590","identifiers":["MAL-2026-12590"]},"retained":false,"historicalAffected":[]}],"coverage":[]}