MAL-2026-12895 Malicious code in bnpl-blocks-atom-bnpl-star-rating (npm)
Malicious package
Published
MAL-2026-12895 is a malicious package: bnpl-blocks-atom-bnpl-star-rating (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-12895/ (Markdown: https://insights.sbomify.com/MAL-2026-12895/index.md)
- Package
- bnpl-blocks-atom-bnpl-star-rating
- Registry
- npm
What is MAL-2026-12895?
MAL-2026-12895 is a malicious package in bnpl-blocks-atom-bnpl-star-rating, published on 5 Aug 2026.
Official description
On require of the package's main entry, index.js loads shim.js which fetches a platform-specific binary payload (dotnet_diag<rand>.exe on Windows, loader_mac /.cache_<rand> on POSIX) from hardcoded Cloudflare Workers hosts, writes it to a temp path, chmods 0755, and spawns it detached via child_process.spawn with unref(). When HTTPS mirrors fail, the loader falls back to a DNS TXT retrieval channel against *.dl.wel1.ru, reading a chunk count from c.<domain> and reassembling sequential N.<domain> TXT records as a base64-encoded payload. C2 hostnames and fallback resolver domains are reconstructed at runtime by.join('') of split-string arrays to defeat static searching, and execution is gated by env-var kill switches (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and a /tmp/.analytics_state stamp file for once-per-TTL suppression. The package's declared purpose is a 'star rating abstraction layer,' which does not require fetching or executing an opaque cross-platform binary at load time. The delivered binary runs with the installer's privileges and provides full-host code execution.
What should I do about MAL-2026-12895?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.