{"id":"MAL-2026-12998","summary":"Malicious code in bnpl-blocks-mobile-bnpl-news-cards (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ad0b3eb1ec7b37f8483e53212833b81d542aabb784a525e56ce3b2b6e1e48217)\nThe package's `index.js` loads `_runtime.js` on require, which selects a platform-specific asset, fetches an opaque binary over HTTPS from author-controlled Cloudflare Workers hosts (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT fallback channel over sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to /tmp or %TEMP% under cover-story names (`.cache_\u003chex\u003e`, `dotnet_diag_\u003chex\u003e.exe`, stamp file `.analytics_state`), chmod 0755, and spawned detached via `/bin/sh -c \"\u003cpath\u003e &\"` on POSIX or `cmd.exe /c start /b` on Windows. Destination hostnames and discovery domains are assembled at runtime by `Array.join('')` on split fragments (e.g., `[\"oob-wor\",\"ker.cf102-baf.workers.de\",\"v\"].join(\"\")`, `['sdk.dl.w','el1.r','u'].join('')`) to defeat static string scanners. No hash or signature verification is performed on the fetched payload, and the package advertises itself as a trivial mobile SDK unrelated to any of this behavior.\n","modified":"2026-08-05T15:51:35.311514675Z","published":"2026-08-05T14:39:43Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["35.6.7"],"id":"IN-MAL-2026-015390","import_time":"2026-08-05T15:19:48.805934517Z","modified_time":"2026-08-05T14:39:43Z","sha256":"ad0b3eb1ec7b37f8483e53212833b81d542aabb784a525e56ce3b2b6e1e48217"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-news-cards/v/35.6.7"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-news-cards","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-news-cards"},"versions":["35.6.7"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-Si7YlRCNCeTvyJLtNdHeWPZW8cKURF/rLD998q0EK23PJliNeuHzaEM5ilx0jBZe6GqA1H6mS9Dp2VsEEDNnUA==","sha1":"85e3291525d2e193b4c21cbd578b3806f412d6ed"},"filename":"bnpl-blocks-mobile-bnpl-news-cards-35.6.7.tgz"}],"evidence_files":[{"sha256":"14dc2fc5008e93aa2b39b6e4abd6842098d86a2c8575834c7ab7a55e82dde9f7","tlsh":"1ba196aa05a670194bb0e7e4c7174829f55bf26337818288fb9c95885f72524c3b2efc","path":"_runtime.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-news-cards/MAL-2026-12998.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}