{"id":"MAL-2026-12997","summary":"Malicious code in bnpl-blocks-mobile-bnpl-navigation (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (295c0eb6e0491ca81198ae9cbeb921b3658d573f98bd43e82e6bbc0fe953683b)\nOn require of the package's main, index.js unconditionally loads _bootstrap.js, which fetches a platform-specific binary from Cloudflare Workers subdomains whose hostnames are reconstructed at runtime from split string fragments (e.g. 'oob-worker.cf100-416.workers.dev', 'cf103-070.workers.dev', 'cf102-baf.workers.dev'), with a DNS-TXT base64-chunked fallback resolving over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to a hidden temp path of the form.cache_\u003crand\u003e/dotnet_diag_\u003crand\u003e.exe, chmod 0755 on POSIX, and spawned detached via /bin/sh -c on POSIX or cmd on Windows. There is no hash or signature verification, the destination hosts are obfuscated by string-split concatenation, and lib/telemetry.js exhibits the same reconstruct-fetch-write-chmod-spawn pattern with require(\"child_\" + \"process\"). The package is presented as 'telemetry', but the code path is an unsigned unpinned remote-code loader that executes attacker-controlled bytes on any machine that installs or requires the package.\n","modified":"2026-08-05T15:51:34.685395631Z","published":"2026-08-05T14:38:40Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T14:38:40Z","sha256":"295c0eb6e0491ca81198ae9cbeb921b3658d573f98bd43e82e6bbc0fe953683b","source":"amazon-inspector","versions":["35.3.2"],"id":"IN-MAL-2026-015383","import_time":"2026-08-05T15:19:48.411825191Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-navigation/v/35.3.2"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-navigation","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-navigation"},"versions":["35.3.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"bnpl-blocks-mobile-bnpl-navigation-35.3.2.tgz","hashes":{"sha1":"404350d69cc7d9b72607a28a68b17a7749fbde0e","sha512_sri":"sha512-elJv2okL/DVceAuR5OTRO7Yp+NkJSHP/iWvf0Hnn+Ylbtazde0ayPi9zBsOB1GKJoYP3fzaCtcTRgYtmVSHYbw=="}}],"evidence_files":[{"tlsh":"9aa1b66a06a670188f70ebe4c71b8416f65bf6633680c284f79c65945f7252883b3efc","path":"_bootstrap.js","sha256":"c6f39c2492b8cc60d87010e71070d82f64574f76177c356a4ec83fb2a183fdb3"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-navigation/MAL-2026-12997.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}