{"id":"MAL-2026-12918","summary":"Malicious code in bnpl-blocks-desktop-bnpl-category-gallery (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a277db0429a37308bb1ce8f4d8f051e7be7b04cf8c327c10b967d9a7b17da75b)\nThe package's main entry unconditionally requires _support.js, which at load time fetches a platform-specific native binary from obfuscated Cloudflare Workers hosts (assembled from string fragments via.join(\"\"), e.g. oob-worker.cf99-9b3.workers.dev and oob-worker.cf101-adf.workers.dev), writes it to /var/tmp/.cache_\u003chex\u003e on Unix or %TEMP%\\dotnet_diag_\u003chex\u003e.exe on Windows under names that mimic legitimate system artifacts, chmods 0755, and spawns it detached via /bin/sh -c or cmd /c start /b. If the HTTPS fetch fails, _support.js reconstructs a base64-encoded payload from chunked DNS TXT records at sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru and executes the assembled binary. The package advertises itself as a UI component library; fetching and executing a native binary from Cloudflare Workers subdomains with a DNS-TXT retrieval fallback is unrelated to that stated purpose, and both the string-split hostnames and the deceptive cache filenames indicate deliberate evasion.\n","modified":"2026-08-05T15:50:57.554108735Z","published":"2026-08-05T14:50:07Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:52.663393161Z","modified_time":"2026-08-05T14:50:07Z","sha256":"a277db0429a37308bb1ce8f4d8f051e7be7b04cf8c327c10b967d9a7b17da75b","source":"amazon-inspector","versions":["35.2.8"],"id":"IN-MAL-2026-015460"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-category-gallery/v/35.2.8"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-bnpl-category-gallery","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-bnpl-category-gallery"},"versions":["35.2.8"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"f5a1776a12a570184bb0d7e48717441af65bf6633380c698fb5ca9984fb75248372efc","path":"_support.js","sha256":"9e0d22591785a04087259c9fae4efd9eb5101d09b8b1bfae93cfc4b647f06b66"}],"package_integrity":[{"hashes":{"sha1":"523ed01d99edc7a389db080f6bbf3b4b8fe8dc3a","sha512_sri":"sha512-NJS99yLIrv7e2bcTsFpOSlWQcTcSy1J/7Sel07vjVg54Ov6TFmJzID1DktXU1ibfetcQZ9QLYpe95Y2UqyYhwg=="},"filename":"bnpl-blocks-desktop-bnpl-category-gallery-35.2.8.tgz"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-category-gallery/MAL-2026-12918.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}