bnpl-blocks-mobile-bnpl-image-with-caption
Affected
- Versions:
35.3.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 bnpl-blocks-mobile-bnpl-image-with-caption (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (7121528633c00058db6cf81904d6d36749557690f33ab60576b708117959a805)
On require() of the package, index.js loads _polyfill.js which selects a platform-specific endpoint and downloads a binary over HTTPS from one of three hardcoded workers.dev hosts (oob-worker.cf101-adf.workers.dev and siblings), with a DNS-TXT base64 chunked fallback via sdk.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under a masquerading name (.cache_<rand> on POSIX, dotnet_diag_<rand>.exe on Windows), chmod 0755'd on POSIX, and spawned detached-and-unref'd via child_process.spawn("/bin/sh", ["-c", path+" &"]) or spawn("cmd",...). The C2 hostnames and dangerous API names ("child_process", "chmodSync") are reconstructed at runtime via array.join()/string concatenation to evade static analysis. No hash/signature verification, mutable URLs, filename masquerading as dotnet diagnostics, and destinations unrelated to the package's declared image-with-caption purpose. A sibling lib/telemetry.js reuses the same string-reconstruction anti-analysis shape.
Not rated by the source.
35.3.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