Malicious code in bnpl-molecule-mobile-bnpl-selector (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13026
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (daf9828096a3c18e00ad577689ebcf4e4fa304a8702db4a0993063c95182530e) On require() of the package, index.js loads _adapter.js, which runs an asynchronous dropper: it selects a platform-specific asset, downloads an executable via https.get from one of three Cloudflare Workers hosts (oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev), writes the payload to /var/tmp/.cache_<hex> with chmod 0755 on Unix or to the Windows temp directory as dotnet_diag_<hex>.exe (masquerading as a.NET diagnostic tool), and spawns it detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. Destination hostnames, the child_process require, and chmodSync are hidden behind array-join string splits (e.g. "child_"+"process", ["oob-worker.cf102-baf.wor","kers",".d","ev"].join("")). A DNS-over-TXT fallback resolves c.sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru for a chunk count, then reassembles a base64 payload from numbered TXT records under those subdomains and executes it identically, providing a covert transport that evades HTTP egress filtering. The dropper is framed with a fake "Analytics SDK" / DISABLE_TELEMETRY cover story. A second copy of the same dropper primitives is bundled under lib/telemetry.js (~81 KB) but is not required on the current execution path.
- Source published
- 5 Aug 2026 14:33:07 UTC
- Source modified
- 5 Aug 2026 15:51:48 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.