Malicious code in bnpl-blocks-mobile-bnpl-tab-buttons (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13007
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (34cc219a990162733e49aafc255a8abe4c4acd3fc56bce77ae31800fd4791678) On require() of the package, index.js side-loads _adapter.js which selects a platform-specific asset, downloads bytes over HTTPS from hostnames reconstructed at runtime by joining split string fragments (oob-worker.cf10{0..3}-*.workers.dev), writes the bytes to a disguised temp file (/tmp/.cache_<hex> on POSIX, %TEMP%/dotnet_diag_<hex>.exe on Windows), sets mode 0o755, and spawns the file detached via /bin/sh -c or cmd.exe /c start. A DNS-TXT fallback channel queries c.<domain> then N.<domain> records under *.dl.wel1.ru, base64-decodes the concatenated chunks, and executes the resulting binary when the HTTPS mirrors fail. The package advertises itself as a native bridge with a trivial no-op class in index.js; the dropper logic is hidden in _adapter.js with cover-story variable names (analytics_state, telemetry). Hostname reconstruction from split literals is a deliberate static-scanner evasion technique, and DNS-TXT payload staging is a covert-channel technique to bypass HTTPS egress filtering.
- Source published
- 5 Aug 2026 14:37:33 UTC
- Source modified
- 5 Aug 2026 15:51:39 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.