Malicious code in bnpl-blocks-desktop-bnpl-reviews (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12938
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eaa5e2ca983c49eefb3d32e333435a236f63c2d896ac41aed7b56114c477964c) On require, index.js loads _init.js which reconstructs a set of hostnames from split-string fragments (e.g. 'oob-worker.cf103-','070','.wo','rker','s.dev' and 'sdk.dl','.wel1.','ru'), downloads a per-architecture binary over HTTPS, writes it to /var/tmp or %TEMP% under a disguised name (dotnet_diag_<rnd>.exe or.cache_<rnd>), chmods it 0755, and spawns it detached via child_process spawn('/bin/sh', ['-c', <path>+' &']) or spawn('cmd',...). If the HTTPS fetch fails, the loader queries DNS TXT records at c.<domain> for a chunk count and then j.<domain> to reassemble a base64-encoded payload, providing a covert delivery channel that bypasses HTTP egress filters. The child_process module name and destination hostnames are both split and joined at runtime to evade static analysis, and a cover-story 'analytics_state' / 'DISABLE_TELEMETRY' TTL marker is used to disguise intent. This behavior fires automatically on module load with no relation to any advertised package purpose.
- Source published
- 5 Aug 2026 14:46:39 UTC
- Source modified
- 5 Aug 2026 15:51:07 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.