{"id":"MAL-2026-12968","revision":"86de291cded64699a3aa095fc722975d","records":[{"revision":"86de291cded64699a3aa095fc722975d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12968","aliases":[],"title":"Malicious code in bnpl-blocks-independent-bnpl-scheme (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (386248e103371d4e302c8325a3d1b76c4269256b1c374c95f539104230f60149)\nThe package ships a loader (_loader.js) that assembles remote hostnames at runtime from string-split arrays (reconstructing subdomains of wel1.ru and a cloudflare workers.dev host) to evade static detection, issues an https.get to those endpoints, writes the response to disk, chmods it executable (0755), and spawns it via /bin/sh -c or cmd. A sibling module lib/telemetry.js (~81KB) presents itself as an 'analytics SDK' but contains the same dropper primitives (base64 chunk decode, chmodSync 0755, cp.spawn('/bin/sh',['-c', filePath+' &'])). Hostname reconstruction via array split/join combined with a fetch-write-chmod-exec chain is an obfuscated remote code delivery mechanism, not legitimate SDK behavior. The runtime-assembled destinations do not match any documented publisher endpoint, and the code path is reachable on load. Installing or loading this package results in execution of attacker-controlled code fetched from wel1.ru subdomains and a *.workers.dev host on the installer's machine.\n","state":0,"publishedAt":"2026-08-05T14:42:23+00:00","modifiedAt":"2026-08-05T15:51:20.8276581+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-independent-bnpl-scheme","ranges":[],"versions":["35.8.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-scheme/v/35.8.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12968","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12968","identifiers":["MAL-2026-12968"]},"retained":false,"historicalAffected":[]}],"coverage":[]}