{"id":"MAL-2026-12901","summary":"Malicious code in bnpl-blocks-atom-desktop-bnpl-dangerously-html (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d67ae3d6b9d42c80691f5be62d2b59d087b9457657a5fa12d4881c2db7c1aa5d)\nOn require of the package, index.js loads./_ext.js, which reassembles C2 hostnames from split string fragments (e.g. 'oob-worker.cf10x-*.workers.dev' built via array.join) and downloads a platform-specific binary over HTTPS. If the primary fetch fails, the payload is reassembled from DNS TXT records under *.dl.wel1.ru. The retrieved bytes are written to /var/tmp or %TEMP% under a disguised name (.cache_\u003chex\u003e on Unix, dotnet_diag_\u003chex\u003e.exe on Windows), chmod'd to 0755, and spawned detached via /bin/sh -c or cmd /c start, with a marker file to suppress re-execution. Cover-story env-var checks (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and filenames mimicking a telemetry/diagnostics SDK conceal the loader. The download destinations are anonymous, unpinned, unauthenticated, obfuscated, and unrelated to the package's declared publisher; the payload is opaque native code executed with the user's privileges on every require.\n","modified":"2026-08-05T15:50:49.378629584Z","published":"2026-08-05T14:53:51Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015486","import_time":"2026-08-05T15:19:53.930973974Z","modified_time":"2026-08-05T14:53:51Z","sha256":"d67ae3d6b9d42c80691f5be62d2b59d087b9457657a5fa12d4881c2db7c1aa5d","source":"amazon-inspector","versions":["35.9.9"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-atom-desktop-bnpl-dangerously-html/v/35.9.9"}],"affected":[{"package":{"name":"bnpl-blocks-atom-desktop-bnpl-dangerously-html","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-atom-desktop-bnpl-dangerously-html"},"versions":["35.9.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-desktop-bnpl-dangerously-html/MAL-2026-12901.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"c7b1956b216a71188b709be4cb17441af65bf6633380c2d4fb6ca4945f72128c2b1efc","path":"_ext.js","sha256":"0bf664fa6a668102a81d97e79b6491d12c19e92c394e604423d2462b2ee17b82"}],"package_integrity":[{"filename":"bnpl-blocks-atom-desktop-bnpl-dangerously-html-35.9.9.tgz","hashes":{"sha1":"ea10f8b1acaadffa32a3493612e1e698a142798b","sha512_sri":"sha512-+W1o2eOcN027y+gieTAz+HWhXX/K7kMg0fjJRcdYrK43tXQC2nXJRVQXEkWjJnVK4mDBGu4F1IrTy+X4RWpaWA=="}}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}