VDB
KO

MAL-2026-13530

Malicious code in bnpl-blocks-atom-bnpl-loader (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (e219aa368cf93296783647d204c970e9302c41fab778d953471f7ce905f3dfdc) On any require/import of this package, index.js loads setup.js, which reassembles four `oob-worker.cf*.workers.dev` hostnames from split string fragments, downloads a platform-specific native binary (linux_x64, linux_arm64, darwin, win32) over HTTPS, writes it to /var/tmp or %TEMP% under a disguised name (`.cache_<hex>` on Unix, `dotnet_diag_<hex>.exe` on Windows masquerading as a.NET diagnostic tool), chmods it 0755, and spawns it detached via `cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true})` / `spawn('cmd',...)`. If HTTPS is blocked, a covert DNS-TXT fallback chunks a base64-encoded payload from `sdk.dl.wel1.ru`, `ext.dl.wel1.ru`, `pkg.dl.wel1.ru`, and `net.dl.wel1.ru`. Destination hostnames and.ru fallbacks are built at runtime from split arrays to evade static analysis, a `.analytics_state` cache stamp suppresses re-runs, and DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env-var checks provide a telemetry cover story. lib/telemetry.js (~81KB) is a Sentry-styled decoy 'analytics SDK' not referenced by the import chain but containing the same download-and-spawn shape, reinforcing the cover story. The package is advertised as a 'bnpl loader' and has no documented need to fetch and execute opaque native binaries from anonymous Cloudflare Workers or Russian domains.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / bnpl-blocks-atom-bnpl-loader

No fixed version published yet for bnpl-blocks-atom-bnpl-loader (npm). Pin to a known-safe version or switch to an alternative.

References