Malicious code in bnpl-blocks-atom-bnpl-base-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-12865
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a7ff15e65896892e348d28080e20d974d32a0f8cd2bb5b523e63b9b3d35395e3) On require() of the package, index.js loads _polyfill.js, which assembles Cloudflare Workers hostnames (oob-worker.cf100-416.workers.dev, cf102-baf/cf99-9b3/cf101-adf.workers.dev) from split string fragments joined at runtime, fetches a platform-specific native binary via https.get, writes it to /var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, chmod 755s it, and spawns it detached via /bin/sh -c '<file> &' or cmd /c start. DNS-TXT-chunked base64 fallback resolution is provided via reconstructed hostnames under dl.wel1.ru. Execution is gated by a /tmp/.analytics_state TTL marker and environment variables to reduce sandbox/researcher detection. A second file, lib/telemetry.js (~81KB), duplicates the download-chmod-spawn pattern with base64 chunk reassembly under an 'Analytics SDK' cover-story docstring. The main entry unconditionally requires _polyfill.js, so import of the package triggers download-and-execute of an opaque author-controlled binary on the installer's machine. ## Source: ghsa-malware (edb84ae040e9239e4db9bcee8733232e0a82b9bc9eece05a542936c7c0ac9b4d) 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:33 UTC
- Source modified
- 6 Aug 2026 01:20:14 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.