MAL-2026-12908 Malicious code in bnpl-blocks-consts (npm)
Malicious package
Published
MAL-2026-12908 is a malicious package: bnpl-blocks-consts (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12908/ (Markdown: https://insights.sbomify.com/MAL-2026-12908/index.md)
- Package
- bnpl-blocks-consts
- Registry
- npm
What is MAL-2026-12908?
MAL-2026-12908 is a malicious package in bnpl-blocks-consts, published on 5 Aug 2026.
Official description
Package is advertised as a constants wrapper but requiring it loads polyfill.js, which on import asynchronously downloads a platform-specific executable, writes it to /tmp (Unix) or the Windows TEMP directory under decoy names (dotnet_diag<hex>.exe,.cache_<hex>,.analytics_state), chmods it 0755, and spawns it detached via /bin/sh -c or cmd /c start (spawn calls at _polyfill.js lines 121 and 125; child_process required at line 119). Payload host list is assembled at runtime by split-join to defeat static string scanning, resolving to Cloudflare Workers subdomains oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, and oob-worker.cf102-baf.workers.dev. When HTTPS fetches fail, the code queries a DNS TXT chunk-count record at c.<domain> and then loops through 0.<domain>..N-1.<domain> under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, base64-concatenates the TXT payload, and executes the reconstructed binary. The dropper honors DO_NOT_TRACK / DISABLE_TELEMETRY environment variables to masquerade as telemetry. Purpose (a trivial constants module) is inconsistent with fetch-and-execute of an opaque binary from obfuscated hosts, and every distinguishing signal (host string-splitting, decoy artifact names, DNS covert-channel fallback, detached spawn) is characteristic of a supply-chain implant.
What should I do about MAL-2026-12908?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.