{"id":"MAL-2026-12891","revision":"87a3006f7ff74f279c0a702cb363ac65","records":[{"revision":"87a3006f7ff74f279c0a702cb363ac65","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12891","aliases":[],"title":"Malicious code in bnpl-blocks-atom-bnpl-reviews-counter (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (28f2136092f1d01017b4a4d573e4a22de7c4fc7d44b07d8e3a1f24ce57be6c65)\nOn require of this package, index.js loads _platform.js which runs at import time. It reconstructs a list of destination hosts by string-splitting fragments (assembling oob-worker.cf*.workers.dev endpoints and *.dl.wel1.ru fallbacks), selects an architecture-specific asset, fetches a native binary over HTTPS, writes it to /var/tmp or %TEMP% under a disguised name (.cache_<rand> on POSIX, dotnet_diag_<rand>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh -c \"<path> &\" or cmd /c start /b. If the HTTPS fetch fails, a covert DNS-TXT channel is used: a chunk count is read from c.<domain> TXT records and base64 payload fragments are reassembled from N.<domain> TXT records. An anti-repeat flag file at /tmp/.analytics_state suppresses repeat execution. No hash or signature verification is performed on the fetched binary, the destination hosts are not the package's publisher, the hostnames are obfuscated via string-splitting to defeat static inspection, and the package's advertised purpose (a BNPL reviews counter) has no legitimate need to fetch and execute a native binary at import time.\n","state":0,"publishedAt":"2026-08-05T14:54:16+00:00","modifiedAt":"2026-08-05T15:50:45.3262846+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-atom-bnpl-reviews-counter","ranges":[],"versions":["35.3.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-reviews-counter/v/35.3.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12891","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12891","identifiers":["MAL-2026-12891"]},"retained":false,"historicalAffected":[]}],"coverage":[]}