{"id":"MAL-2026-12549","revision":"e113f116e2bf495ab0fd61af1505daed","records":[{"revision":"e113f116e2bf495ab0fd61af1505daed","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12549","aliases":[],"title":"Malicious code in checkout-confirm-pos-order-sms-am (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c8171a06586a3bfd6af6536dc201cd0ab277fd52dbc2d87df7b9d5d4d64ed70e)\nOn require() of this package, index.js loads _init.js which invokes init() immediately. init() downloads an opaque binary from hardcoded Cloudflare Workers endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) whose hostnames are reconstructed at runtime via split-join of small string fragments to evade static scanners. A DNS-TXT fallback reassembles the payload from base64 chunks served under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The downloaded bytes are written to /tmp or %TEMP% under a disguised name (`.cache_<hex>` on Unix or `dotnet_diag_<hex>.exe` on Windows mimicking a.NET diagnostic tool), chmod 0755 on Unix, and spawned detached via `/bin/sh -c '<path> &'` or `cmd.exe`; the spawn is unref()'d so it outlives the Node process. Execution is throttled by a /tmp cooldown file. The tarball also ships lib/telemetry.js (~81 KB, framed with 'Analytics SDK' comments) containing an equivalent dropper: split `require('child_'+'process')`, base64 chunk assembly, `fs['chmod'+'Sync'](path, 0o755)`, and `cp.spawn('/bin/sh', ['-c', filePath+' &'])`. The `require('child_process')`, `fs.chmodSync`, and `spawn` identifiers are string-split throughout to hide from keyword scanners. Package name lookalike of a checkout/POS SMS confirmation utility. Installing or requiring this package executes attacker-controlled native code on the installer's machine.\n","state":0,"publishedAt":"2026-08-05T14:13:56+00:00","modifiedAt":"2026-08-05T14:35:18.9450336+00:00","affected":[{"ecosystem":"npm","name":"checkout-confirm-pos-order-sms-am","ranges":[],"versions":["35.6.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-confirm-pos-order-sms-am/v/35.6.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12549","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12549","identifiers":["MAL-2026-12549"]},"retained":false,"historicalAffected":[]}],"coverage":[]}