{"id":"MAL-2026-12956","summary":"Malicious code in bnpl-blocks-independent-bnpl-features (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (afeff40a463b598ac2764623ad9820714953bbb4a882848e4a2d68d1ec0a74fd)\nOn require() of the package, index.js loads./_bridge.js which reconstructs attacker-controlled hostnames from split string fragments (oob-worker.cf10*.workers.dev, with a DNS TXT fallback via *.wel1.ru) using.join(''), downloads a platform-specific binary via https.get, writes it to /tmp or %TEMP% under a disguised name resembling dotnet_diag_\u003crand\u003e.exe or.cache_\u003crand\u003e, chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. Execution is gated only by a mtime stamp file and a DISABLE_TELEMETRY-style env var. A DNS-TXT chunked-transfer channel base64-reassembles payload bytes as a fallback when HTTPS is blocked. Comments frame the behavior as 'telemetry'/'analytics'. Hostname reconstruction, disguised filename, detached spawn, and DNS-based delivery are deliberate evasion patterns rather than misconfiguration.\n","modified":"2026-08-05T15:51:15.736807005Z","published":"2026-08-05T14:45:33Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:50.973218832Z","modified_time":"2026-08-05T14:45:33Z","sha256":"afeff40a463b598ac2764623ad9820714953bbb4a882848e4a2d68d1ec0a74fd","source":"amazon-inspector","versions":["35.7.2"],"id":"IN-MAL-2026-015430"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-features/v/35.7.2"}],"affected":[{"package":{"name":"bnpl-blocks-independent-bnpl-features","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-independent-bnpl-features"},"versions":["35.7.2"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"819840de4797aef98a2c07ff446a57dba4533b85e87c6f0b6e7f0f9580fa1781","tlsh":"41a1779616aa301847b09be4cb1b4416f65bf66377c0c294fb9ca5d45f7212483b1efc","path":"_bridge.js"}],"package_integrity":[{"filename":"bnpl-blocks-independent-bnpl-features-35.7.2.tgz","hashes":{"sha512_sri":"sha512-YSw9IIz56ptZTHgZdzECDWYyhBn/mwO8GDo4VBG20sqePgCJSXAS6nHdJ1tdEDedMQ4QC/RRyp1Le6qbQDKLuQ==","sha1":"9a35feb2b8da40b5dc0f649abdd6b00e27d4cf6e"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-features/MAL-2026-12956.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}