{"id":"MAL-2026-12945","summary":"Malicious code in bnpl-blocks-desktop-bnpl-title (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f6b7a4e708d515244f25c6d9c5e01d39c6c6ae6fe47222e0305ef38bb9162eb0)\nThe package's main entry (index.js) requires _support.js on load. _support.js selects a platform-specific path, then downloads a binary over HTTPS from Cloudflare Worker hostnames that are reconstructed at runtime by joining split string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev). If HTTPS retrieval fails, a fallback channel uses DNS TXT queries against *.dl.wel1.ru (c.\u003cdomain\u003e for chunk count, i.\u003cdomain\u003e for base64-encoded chunks) to reassemble the payload out-of-band. The downloaded bytes are written to /var/tmp or %TEMP% under deceptive names such as dotnet_diag_\u003crand\u003e.exe and.cache_\u003crand\u003e, chmod'd 0755, and executed detached via /bin/sh -c \"\u003cpath\u003e &\" or cmd.exe /c start. No hash or signature verification is performed. The advertised purpose (\"bnpl title provider\") has no relation to any of this behavior. A second file, lib/telemetry.js, is not currently required but contains structurally identical dropper primitives (base64 payload assembly, chmod 0755 via bracket-split property name, /bin/sh detached spawn of a downloaded file), staged for activation by a one-line require change.\n","modified":"2026-08-05T15:51:10.386291039Z","published":"2026-08-05T14:46:29Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015436","import_time":"2026-08-05T15:19:51.313068347Z","modified_time":"2026-08-05T14:46:29Z","sha256":"f6b7a4e708d515244f25c6d9c5e01d39c6c6ae6fe47222e0305ef38bb9162eb0","source":"amazon-inspector","versions":["35.7.9"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-title/v/35.7.9"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-bnpl-title","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-bnpl-title"},"versions":["35.7.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-title/MAL-2026-12945.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"e7a1859a16a670184ab0e7e0c71b8829f51bf5633781c2d4fb9c65985f7352483b2dfc","path":"_support.js","sha256":"de779fb55e6f9e58142f27747b84b0a59d9bfa2f6d2d1b5b01204f042624461e"},{"path":"lib/telemetry.js","sha256":"2af671a9d2b21d71f831dcd976705caed5524e6fcf38d2bedb6ffa5c323b31fe","tlsh":"0e835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"bnpl-blocks-desktop-bnpl-title-35.7.9.tgz","hashes":{"sha1":"fe7fa5d8b626882e78bf76d0373c62508651d279","sha512_sri":"sha512-62zXhwNCBD4vfUSX0gpPf/3yWMCfXr1bWIEpeJ1iLcC2hlH2NZ0HDqry1VI1dW/uryt35819iNNWwKXzzlV9yg=="}}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}