{"id":"MAL-2026-12916","summary":"Malicious code in bnpl-blocks-desktop-bnpl-card-gallery (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d7d63ed62a217e197558ea54716acadb75a5a4c6a7b57545b5ec8c8d86abb656)\nOn require, the package's main entry loads _ext.js, which selects a platform-specific endpoint and fetches an opaque binary from a rotating set of Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT chunked base64 fallback over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. Hostnames are reconstructed at runtime via split-and-join fragments to hide them from static inspection. The downloaded bytes are written to a disguised temp path (.cache_\u003crand\u003e / dotnet_diag_\u003crand\u003e.exe), chmod 0755, and spawned detached via /bin/sh -c or cmd. No hash or signature verification is performed and the destinations bear no relation to any declared publisher. A second, structurally identical dropper is bundled as lib/telemetry.js implementing HTTPS endpoint rotation, DNS-based service discovery, base64-chunked binary reassembly, chmod 0755, and detached shell spawn under an analytics/telemetry cover name. Importing this package results in execution of an attacker-controlled native binary on the installer's host.\n","modified":"2026-08-05T15:50:56.452288603Z","published":"2026-08-05T14:50:51Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T14:50:51Z","sha256":"d7d63ed62a217e197558ea54716acadb75a5a4c6a7b57545b5ec8c8d86abb656","source":"amazon-inspector","versions":["35.1.6"],"id":"IN-MAL-2026-015465","import_time":"2026-08-05T15:19:52.959933954Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-card-gallery/v/35.1.6"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-bnpl-card-gallery","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-bnpl-card-gallery"},"versions":["35.1.6"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-card-gallery/MAL-2026-12916.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"bnpl-blocks-desktop-bnpl-card-gallery-35.1.6.tgz","hashes":{"sha512_sri":"sha512-B83kM7O1U2DV2t3NYCO43RiOk7nZRMCNR9x05WUs+xfosdTQQiKwfwWFH5jL9LHpAVNPS/RftHoaq7AZ6FkEZA==","sha1":"f83e2b0601c69dd2b23a355a96a770a473004bb0"}}],"evidence_files":[{"tlsh":"39a1a79a166a301d4bb0ebe4c7175419f65af6633380c2a4f79ca5941fb712483b1efc","path":"_ext.js","sha256":"d3176e7521e3ed76a3e2ac0d17e957ef72e0958c3e11acd555e665566f65aada"},{"tlsh":"c5835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc","path":"lib/telemetry.js","sha256":"1834de8e00488ba37efee3e3decb0a294e0fc8f523fb8053d8443e9f49418321"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}