checkout-checkout-test-block-aff
Affected
- Versions:
35.9.6
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in checkout-checkout-test-block-aff (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (ae29db4ecd6fc6c7250d5b388eb957c9b0d1ec2b8a8966928c3da7c31aa4bf87)
On require of the main entry, index.js loads _loader.js which downloads a platform-specific executable from hardcoded Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev), with a DNS TXT record fallback channel using sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The destination hosts are reassembled via array-join (e.g. ['oob-worker.cf','101-adf.worke','rs.dev'].join('')) to evade static string scanners. The downloaded payload is written to /var/tmp or %TEMP% under a disguised name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows to impersonate a Microsoft diagnostic tool), chmodded 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) or cmd. No hash or signature verification is performed despite a cover-story comment claiming a SHA-256 integrity check; a dedup lockfile at /tmp/.analytics_state gates re-execution. lib/telemetry.js (81 KB, framed as an 'Analytics SDK') replicates the same fetch->base64-decode->write->chmod+x->spawn shell chain, importing child_process via string concatenation (require('child_'+'process')) to further hide the primitive. Installing or requiring this package yields arbitrary remote code execution on the installer's host from attacker-controlled infrastructure.
Not rated by the source.
35.9.6None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0