Malicious code in bnpl-blocks-post-css (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13013
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (dd5d8d3c9328912323fee5066e4c32c14904ec3e8b1800f66da0d1749babda0c) On require(), _polyfill.js reconstructs attacker-controlled hostnames from string-split fragments (oob-worker.cf103-070.workers.dev, with a DNS-TXT fallback via sdk.dl.wel1.ru), downloads a platform-specific native binary, writes it to /tmp or %TEMP% under a disguised name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods it 0o755, and spawns it detached via spawn('/bin/sh', ['-c', <path> + ' &'], {detached:true}) or the cmd equivalent. lib/telemetry.js contains a second implementation of the same fetch->write->chmod 755->spawn pattern with a base64-decoded payload under an analytics-SDK cover story. The package is advertised as a CSS-blocks utility and has no legitimate reason to fetch and execute native binaries; the string-split obfuscation of the download hosts and the 'analytics_state' / DISABLE_TELEMETRY cover-story naming further confirm hostile intent.
- Source published
- 5 Aug 2026 14:37:04 UTC
- Source modified
- 5 Aug 2026 15:51:42 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.