Malicious code in bnpl-blocks-independent-bnpl-picture-gallery (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12965
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ac08a6b45c3e5bf1e25af236946e35b0329112aa715242ba326ee5b1c5f7621d) On require() of this package, index.js loads _platform.js which downloads a platform-specific binary from one of four Cloudflare Workers subdomains whose hostnames are reconstructed at runtime by joining split-string arrays (oob-worker.cf101-adf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS-TXT fallback to sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru that base64-reassembles the payload from TXT record chunks. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (.cache_<rnd>, dotnet_diag_<rnd>.exe), chmod 0755 is applied, and the file is spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. A second, equivalent dropper ships in lib/telemetry.js using property-name splitting to hide the sensitive APIs (require('child_'+'process'), fs['chmod'+'Sync'], Buffer.from(chunks,'base64'), cp.spawn('/bin/sh',['-c', filePath+' &'])). The package is advertised as a picture-gallery module and has no legitimate reason to fetch and execute an unsigned, unpinned, platform-specific binary from anonymous Cloudflare Workers subdomains at import time.
- Source published
- 5 Aug 2026 14:42:08 UTC
- Source modified
- 5 Aug 2026 15:51:19 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.