{"id":"MAL-2026-12951","revision":"24e93c44c7df44c2a11c3348612ac8de","records":[{"revision":"24e93c44c7df44c2a11c3348612ac8de","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12951","aliases":[],"title":"Malicious code in bnpl-blocks-independent-bnpl-button (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7749e7f4c01551d7ec3463d1b65e3f564a9ec64cbc4801586a72652ab55e4e34)\nOn require of the package main, _runtime.js selects a per-OS endpoint, fetches an opaque executable from obfuscated Cloudflare Workers hosts (hostnames assembled by string-splitting, e.g. 'oob-worker.cf100-416.workers.dev') with a DNS-TXT base64-chunked fallback via *.dl.wel1.ru, writes the payload to /var/tmp or the Windows temp directory under disguised names such as 'dotnet_diag_<hex>.exe' and '.cache_<hex>', chmods it to 0755, and detach-spawns it via cp.spawn('/bin/sh', ['-c', <path>+' &'], {detached:true}).unref() or spawn('cmd',...). A second dropper module, lib/telemetry.js, is shipped alongside and implements the same base64-chunked payload -> writeFile -> chmodSync -> '/bin/sh -c <path> &' pattern, with obfuscated identifiers such as require('child_'+'process') and fs['chmod'+'Sync']. Hostname reconstruction via array joins, a no-op logger that suppresses output, disguised filenames, DNS-TXT covert-channel fallback, and detached execution are consistent with an install/load-time remote code execution dropper.\n","state":0,"publishedAt":"2026-08-05T14:45:17+00:00","modifiedAt":"2026-08-05T15:51:13.2852005+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-independent-bnpl-button","ranges":[],"versions":["35.2.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-button/v/35.2.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12951","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12951","identifiers":["MAL-2026-12951"]},"retained":false,"historicalAffected":[]}],"coverage":[]}