bnpl-blocks-mobile-bnpl-shopping-banner
Affected
- Versions:
35.1.4
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 bnpl-blocks-mobile-bnpl-shopping-banner (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a04004bb44c701e1976ef3d6678efb4cd9668d5a4986937c62928d1345550a86)
On require() of this package, index.js loads _polyfill.js which selects a platform-specific download URL, reconstructs hostnames via array.join string-splitting to evade static analysis (resolving to oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, with a DNS-TXT fallback via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), fetches a native binary, writes it to a disguised filename under /var/tmp or %TEMP% (e.g..cache_<hex>, dotnet_diag_<hex>.exe) mimicking dotnet diagnostic files, chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe with stdio ignored and unref(). Execution is gated by opt-out environment variables and a time-based cache flag file. The package advertises itself as a BNPL shopping banner / platform adapter and has no legitimate reason to fetch and execute a native binary at import time. The hostname obfuscation, disguised temp filenames, DNS-TXT dead-drop fallback, and detached background execution are characteristic malicious dropper behavior.
Not rated by the source.
35.1.4None 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