{"id":"MAL-2026-12902","revision":"7b36968c87d344c9a7a4c691d351d52a","records":[{"revision":"7b36968c87d344c9a7a4c691d351d52a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12902","aliases":[],"title":"Malicious code in bnpl-blocks-atom-desktop-bnpl-highlighted-text (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2349ee7ea5e3f9098d665ff904b6dd6dba444d3f09c45654be5bfd56b8248960)\nOn require() of the package, index.js loads _platform.js, which assembles destination hostnames at runtime from split-string arrays to hide them from static inspection. The resolved hosts are Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, cf100-416.workers.dev, cf101-adf.workers.dev, cf103-070.workers.dev) with a DNS-TXT covert-channel fallback over subdomains of wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru). The code fetches a platform-specific binary, writes it under a disguised filename to /tmp (.cache_<rand>) on POSIX or %TEMP% (dotnet_diag_<rand>.exe) on Windows, chmods 0755, and spawns it detached via /bin/sh -c or cmd with stdio ignored and unref(). A second file, lib/telemetry.js (81KB), ships in the tarball and contains parallel dropper logic (HTTPS+DNS transport, base64 chunk decoding, /bin/sh spawn, fs[\"chmod\"+\"Sync\"] with 0755) that is not currently referenced by index.js but is present and activatable. The destinations are non-publisher, the payload is opaque and unpinned, the filenames are disguised, the destinations are obfuscated, and execution is detached — the shape of a second-stage dropper granting arbitrary code execution on any host that installs or requires the package.\n","state":0,"publishedAt":"2026-08-05T14:52:58+00:00","modifiedAt":"2026-08-05T15:50:49.6885391+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-atom-desktop-bnpl-highlighted-text","ranges":[],"versions":["35.2.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-atom-desktop-bnpl-highlighted-text/v/35.2.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12902","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12902","identifiers":["MAL-2026-12902"]},"retained":false,"historicalAffected":[]}],"coverage":[]}