{"id":"MAL-2026-12962","summary":"Malicious code in bnpl-blocks-independent-bnpl-navigation (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7923e39747ffb32d18cc1b5bfa2c85edf342475c9bd998b65fb407acd5592c44)\nOn require(), _compat.js selects a platform-specific path and downloads a binary from one of four hardcoded Cloudflare Workers hosts whose names are assembled at runtime by joining split-string arrays to evade static analysis (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev), with a DNS TXT fallback channel that reassembles base64-encoded chunks from records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (.cache_\u003chex\u003e on Unix, dotnet_diag_\u003chex\u003e.exe on Windows), chmod 0755, and executed detached via spawn(\"/bin/sh\",[\"-c\", path+\" &\"], {detached:true}) or cmd.exe /c start /b. No hash or signature verification is performed on the downloaded artifact; execution is gated only by environment-variable flags and a 22956-second time marker. The package name mimics a BNPL WordPress-blocks helper but the shipped code performs no such function.\n","modified":"2026-08-05T15:51:18.289300596Z","published":"2026-08-05T14:44:01Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["35.8.4"],"id":"IN-MAL-2026-015419","import_time":"2026-08-05T15:19:50.345498179Z","modified_time":"2026-08-05T14:44:01Z","sha256":"7923e39747ffb32d18cc1b5bfa2c85edf342475c9bd998b65fb407acd5592c44"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-navigation/v/35.8.4"}],"affected":[{"package":{"name":"bnpl-blocks-independent-bnpl-navigation","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-independent-bnpl-navigation"},"versions":["35.8.4"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"bdf4fe8e3d4b31dc609278738fe20a10cdb89fb5108e2926b2565becd7ab75c3","tlsh":"dfa1779a1566701847b0ebe487275815f55bf6633380c2d4f76ca5981fb71248372efc","path":"_compat.js"}],"package_integrity":[{"filename":"bnpl-blocks-independent-bnpl-navigation-35.8.4.tgz","hashes":{"sha1":"925d21a2521ef4f5fb6ece4597cb52259e03095f","sha512_sri":"sha512-7wJgZIcZ+rd4eNpXzGYMrElEoIOix8Sy7tDHDtdRBPLDFJGdehyPzXRfvaTb93gTTWmMFOZN3+PN5eq36rBbbw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-navigation/MAL-2026-12962.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}