{"id":"MAL-2026-13014","summary":"Malicious code in bnpl-blocks-sanitizer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a0d15dd8da5871696be88e0e89993a693b85554134facad7dbec47b844f13d87)\nOn require(), index.js loads _polyfill.js which selects a platform-specific endpoint and downloads an opaque binary from hardcoded Cloudflare Workers subdomains (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), with DNS-TXT chunked-base64 fallback resolution against sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /tmp or %TEMP% under disguised names such as dotnet_diag_*.exe and.cache_*, chmodded to 0o755, and spawned detached via cmd.exe /c start /b on Windows or /bin/sh -c on POSIX. Destination hostnames are assembled by joining split-string fragments to evade static scanners, and comments frame the behavior as 'telemetry' and 'analytics_state' while the actual operation is fetch-and-execute of an unpinned, unverified binary from hosts unrelated to the package publisher. There is no hash or signature verification, no pinning, and execution fires as a side effect of importing the package.\n","modified":"2026-08-05T15:51:42.491638257Z","published":"2026-08-05T14:37:14Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:47.841816379Z","modified_time":"2026-08-05T14:37:14Z","sha256":"a0d15dd8da5871696be88e0e89993a693b85554134facad7dbec47b844f13d87","source":"amazon-inspector","versions":["35.1.8"],"id":"IN-MAL-2026-015373"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-sanitizer/v/35.1.8"}],"affected":[{"package":{"name":"bnpl-blocks-sanitizer","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-sanitizer"},"versions":["35.1.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-sanitizer/MAL-2026-13014.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-pjTNvP+xncaktINGcf4LwVvFfR8+/HnnyL53WGpGd0Eabs3g346SBuIIedCjSHwimiFrtla07XLLLGmlNkybCA==","sha1":"9e8a3286d290938b70889a872eac452655baa149"},"filename":"bnpl-blocks-sanitizer-35.1.8.tgz"}],"evidence_files":[{"tlsh":"4cb1869a166570188b70dbe4cb275415f66bf66323808294fb5ca5d41f7712883b2dfc","path":"_polyfill.js","sha256":"c4f4f96be691e613087b732f82fb93cfd15c7eb92de8f7394fec5f0face724fb"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}