Malicious code in bnpl-blocks-mobile-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-13001
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fab6b4486cfd526c741063bd79f43ac71b870f9dc859dd2057c35f1121166443) On require(), _bootstrap.js selects a platform-specific asset path and downloads a binary from one of several Cloudflare Workers hostnames whose names are assembled at runtime by joining substring arrays (e.g. 'oob-w'+'orker.cf103-070'+'.workers.dev'), with a DNS-TXT covert-channel fallback under *.dl.wel1.ru that reassembles a base64-encoded payload from numbered TXT records if HTTPS retrieval fails. The fetched bytes are written to /tmp or %TEMP% under disguised names (e.g. 'dotnet_diag_*.exe', '.cache_*'), chmod 0755, and spawned detached via child_process (spawn('cmd'...) or spawn('/bin/sh',...)). The package advertises itself as a 'platform adapter' / 'picture gallery' — remote binary execution is not the stated purpose. A second, cover-story-labeled ('analytics-sdk') copy of the same dropper ships at lib/telemetry.js with parallel HTTPS+DNS discovery, base64 chunk assembly, chmod 0755, and spawn('/bin/sh',['-c', filePath + ' &']).
- Source published
- 5 Aug 2026 14:38:08 UTC
- Source modified
- 5 Aug 2026 15:51:36 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.