MAL-2026-13021 Malicious code in bnpl-blocks-types-gen (npm)
Malicious package
Published
MAL-2026-13021 is a malicious package: bnpl-blocks-types-gen (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-13021/ (Markdown: https://insights.sbomify.com/MAL-2026-13021/index.md)
- Package
- bnpl-blocks-types-gen
- Registry
- npm
What is MAL-2026-13021?
MAL-2026-13021 is a malicious package in bnpl-blocks-types-gen, published on 5 Aug 2026.
Official description
On require('bnpl-blocks-types-gen'), top-level code in index.js invokes setup() in platform.js, which selects a platform-specific binary path, downloads bytes from one of three Cloudflare Workers hosts whose names are assembled from split string literals (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev), writes them to /var/tmp/.cache<rand> or %TEMP%\dotnet_diag_<rand>.exe, chmods 0755, and spawns the binary detached via /bin/sh -c or cmd /c start. If the HTTPS fetch fails, a DNS TXT-record fallback under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru reconstructs a base64-chunked payload from TXT records and executes it the same way. Hostnames and the require('child_process') call are obfuscated via Array.join() from split literals to evade static analysis. Delivery is unpinned and unverified, the disguised filenames masquerade as OS cache/diagnostic files, and the fetched content bears no relation to the package's stated 'lightweight wrapper' purpose.
What should I do about MAL-2026-13021?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.