Malicious code in bnpl-blocks-atom-bnpl-image-popup (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12877
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (893348e540e6c6a6cb856324bb2379d838bead9f4d2ceab1ae7c3509094871f6) On require of the package, index.js loads _compat.js, which reconstructs C2 hostnames from string-split arrays (e.g., ["oob-worker.cf101-adf.workers",".dev"].join("")) to build HTTPS endpoints on *.workers.dev and DNS fallback hosts under *.dl.wel1.ru. _compat.js selects a platform-specific endpoint, downloads an opaque binary via https.get, writes it to /var/tmp on Unix or the Windows temp directory under a disguised name (e.g., dotnet_diag_<rnd>.exe or.cache_<rnd>), chmods it 0755, and spawns it detached via /bin/sh -c "<path> &" or cmd /c start. A fallback loadViaDns routine retrieves the payload as chunked base64 from TXT records under *.dl.wel1.ru (a count is read from c.<domain>, then N sequential TXT records are concatenated and base64-decoded). Marker-file single-execution gating and TELEMETRY/DO_NOT_TRACK environment-variable kill switches are present to suppress re-execution and evade observation. ## Source: ghsa-malware (cb9e41b3bac04f947a3e2a78e7577139d97179455d503fe8bee0cfd116cf458e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 5 Aug 2026 14:56:40 UTC
- Source modified
- 6 Aug 2026 01:20:18 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.