{"id":"MAL-2026-13004","summary":"Malicious code in bnpl-blocks-mobile-bnpl-separator (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6a76b1d07f3d0357fa471ba2b1e5a0052b1b789f96763446a20e19cf7ac7ab11)\nOn require of the package, index.js loads _bootstrap.js which fetches a platform-specific binary payload over HTTPS from author-controlled hosts whose names are assembled at runtime by joining split string fragments (resolving to *.workers.dev subdomains), with a fallback that reassembles a base64-chunked payload from DNS TXT records under *.dl.wel1.ru. The fetched binary is written to /tmp/.cache_\u003crnd\u003e on Unix or %TEMP%/dotnet_diag_\u003crnd\u003e.exe on Windows, chmod'd 0755, and spawned detached via /bin/sh -c or cmd. A stamp file named.analytics_state and env-var checks for DISABLE_TELEMETRY/ANALYTICS_OPT_OUT are used as a telemetry-themed cover. The destination hosts are not the package's publisher infrastructure, the fetched bytes are opaque and unpinned, and execution occurs at import time on every consumer machine.\n","modified":"2026-08-05T15:51:38.187137969Z","published":"2026-08-05T14:39:15Z","database_specific":{"malicious-packages-origins":[{"sha256":"6a76b1d07f3d0357fa471ba2b1e5a0052b1b789f96763446a20e19cf7ac7ab11","source":"amazon-inspector","versions":["35.5.2"],"id":"IN-MAL-2026-015387","import_time":"2026-08-05T15:19:48.648980769Z","modified_time":"2026-08-05T14:39:15Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-separator/v/35.5.2"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-separator","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-separator"},"versions":["35.5.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-separator/MAL-2026-13004.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"bnpl-blocks-mobile-bnpl-separator-35.5.2.tgz","hashes":{"sha512_sri":"sha512-54O+ZtMZ1QzXoP89vaMG42cXIWP2zUP2itNsnZqF4a3hgU8m64TPWcoVoP5v6W4d/yj2CI6octePKjqqu2aDuw==","sha1":"bede8835584220398c1fbef11c2ea0fbc555fee7"}}],"evidence_files":[{"path":"_bootstrap.js","sha256":"f2c3dbe80e05111ac857365fe58869510bcd980fde9457f23c4ef413c433fd45","tlsh":"c5a1955616aa70188bb0dbe487175416f65ff6633380c594fb9ca5981f7312483b2efc"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}