{"id":"MAL-2026-12894","revision":"6ecf70299cbe4eb1b998f7a4f23375b1","records":[{"revision":"6ecf70299cbe4eb1b998f7a4f23375b1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12894","aliases":[],"title":"Malicious code in bnpl-blocks-atom-bnpl-small-image-card (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0c774d6998dfe3f37ec23c527ddb5dee44c7448c88d5f059905ed3b6ef04959c)\nindex.js unconditionally requires _helpers.js on module load. _helpers.js reconstructs mirror hostnames from split string fragments (e.g. ['oob','-worker.cf100-416.workers.','de','v'].join('') and ['sdk','.dl.wel','1.r','u'].join('')), selects a platform-specific binary path, downloads opaque unpinned bytes from randomized *.workers.dev mirrors with a DNS-TXT fallback under *.dl.wel1.ru, writes them to /tmp/.cache_<hex> or %TEMP%\\dotnet_diag_<hex>.exe under names that impersonate system diagnostics, chmods 0755 on POSIX, and spawns the binary detached via /bin/sh -c or cmd /c start. The child_process require is assembled as 'child_'+'process' to evade scanners. A second equivalent dropper implementation (fetch, base64 decode, chmodSync 0755, cp.spawn('/bin/sh', ['-c', filePath + ' &'])) is bundled in lib/telemetry.js. A marker file named.analytics_state and env-var gates (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) provide a telemetry cover story inconsistent with the package's advertised purpose (a UI 'small image card' component). Installing or loading this package executes an attacker-controlled native binary on the installer's host.\n","state":0,"publishedAt":"2026-08-05T14:52:42+00:00","modifiedAt":"2026-08-05T15:50:46.6630732+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-atom-bnpl-small-image-card","ranges":[],"versions":["35.5.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-small-image-card/v/35.5.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12894","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12894","identifiers":["MAL-2026-12894"]},"retained":false,"historicalAffected":[]}],"coverage":[]}