Malicious code in bnpl-blocks-atom-bnpl-star-rating (npm)
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.
MAL-2026-12895 is recorded against 1 package.
Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| bnpl-blocks-atom-bnpl-star-rating | — | — |
References
Free Vulnerability Check
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12895 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.