{"id":"MAL-2026-12934","summary":"Malicious code in bnpl-blocks-desktop-bnpl-notification (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0de35e4aa0a895b91234b28bdbe2413b0c6d855758348954f2a438185165de00)\nOn require() of this package, index.js loads _runtime.js which selects an OS/arch-specific payload URL, downloads an opaque binary from one of several Cloudflare Workers hosts whose hostnames are reassembled at runtime from split string fragments (oob-worker.cf100-416.workers.dev, cf99-9b3, cf102-baf, cf101-adf.workers.dev), with a DNS TXT-record fallback channel over sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru that reassembles base64 chunks from numbered subdomains. The downloaded bytes are written to a hidden path under /tmp or %TEMP% disguised as 'analytics_state'/'dotnet_diag', chmod'd 0755 on POSIX, and spawned detached via /bin/sh -c or cmd.exe. There is no pinning, no signature check, no publisher relationship between the destination hosts and the package's declared purpose (a 'BNPL notification' library). Execution is gated by a stamp file for rate-limiting and by opt-out environment variables.\n","modified":"2026-08-05T15:51:04.949231926Z","published":"2026-08-05T14:48:08Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015447","import_time":"2026-08-05T15:19:52.001232912Z","modified_time":"2026-08-05T14:48:08Z","sha256":"0de35e4aa0a895b91234b28bdbe2413b0c6d855758348954f2a438185165de00","source":"amazon-inspector","versions":["35.8.9"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-notification/v/35.8.9"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-bnpl-notification","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-bnpl-notification"},"versions":["35.8.9"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"eaa197aa156670184bb0dbe4c6075815f65bf6a373c09294f79c659c0ff212483b2efc","path":"_runtime.js","sha256":"81813e198041462c421e8b32eada6df20d1e1af8db0707500fe08ec3ed381d41"}],"package_integrity":[{"hashes":{"sha1":"d437c57ee14da83706d57deb41afb4aeb6da9779","sha512_sri":"sha512-/dxbo/aPTTDkRWOIhiSw5wOu5ABRITAG4xKszshXKS1lHOSZ59XTg5OS5aZQjsCHlM1oo8giVQk6DtaupM48dQ=="},"filename":"bnpl-blocks-desktop-bnpl-notification-35.8.9.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-notification/MAL-2026-12934.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}