{"id":"MAL-2026-12991","summary":"Malicious code in bnpl-blocks-mobile-bnpl-header (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3f511a9eac93e0ef06eeec5ab7ec22330cb092c4fda952ec540f4a9be3fc522f)\nOn require() of the package, index.js loads _bridge.js which fetches an OS-specific binary from hardcoded Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-over-TXT base64 fallback to *.wel1.ru. The retrieved bytes are written to a hidden path in /var/tmp or %TEMP% under masquerading names (.cache_\u003crand\u003e on Unix, dotnet_diag_\u003crand\u003e.exe on Windows), chmodded to 0755, and spawned detached via /bin/sh -c or cmd.exe /c start. Destination hostnames are reconstructed at runtime from split string fragments joined with.join(\"\"), and the drop is gated by DISABLE_TELEMETRY / DO_NOT_TRACK environment checks to present as opt-out telemetry. A freshness marker is written to /tmp/.analytics_state. The package presents itself as a mobile BNPL SDK; none of the fetch-write-execute behavior relates to that stated purpose.\n\n## Source: ghsa-malware (fd2ecab3b222e2e30849bf5b84bd57da91381388ff9cfada746c6de202c6e5e6)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-grwr-7jrj-mq8g"],"modified":"2026-11-23T22:30:04.327201386Z","published":"2026-08-05T14:39:26Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:48.68123664Z","modified_time":"2026-08-05T14:39:26Z","sha256":"3f511a9eac93e0ef06eeec5ab7ec22330cb092c4fda952ec540f4a9be3fc522f","source":"amazon-inspector","versions":["35.2.8"],"id":"IN-MAL-2026-015388"},{"id":"GHSA-grwr-7jrj-mq8g","import_time":"2026-11-23T22:17:11.376509646Z","modified_time":"2026-11-23T21:17:40Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"fd2ecab3b222e2e30849bf5b84bd57da91381388ff9cfada746c6de202c6e5e6","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-header/v/35.2.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-grwr-7jrj-mq8g"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-header","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-header"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.2.8"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"c1a1c79a16aa71198bb09be4c6274816f55bf6633380c295fb5c75d42f730248372efc","path":"_bridge.js","sha256":"4d824c3c8320dec48fc6ee57fc9e3c3abc598a01c13a8ddd20733bb98cc45257"}],"package_integrity":[{"filename":"bnpl-blocks-mobile-bnpl-header-35.2.8.tgz","hashes":{"sha1":"8767e9d560d467ec01ed9a7befd67448632f94da","sha512_sri":"sha512-5IOTT+qwfxuw+wge+6PSyoibls2HeUU5hdmWb+O1oT40tWnnmu3olVPftfMaMJ/Al79g2enAXCXtK+/C72FGxA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-header/MAL-2026-12991.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}