{"id":"MAL-2026-12675","summary":"Malicious code in ded-pwa-bnpl-forms-demo (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a3094b607c6a3b342b1e8a4d7a3acde686d9fba41a68d430e08cda12dd9b0bca)\nOn require of the package, index.js loads _support.js which executes at import time: it selects a platform-specific output path, downloads a binary payload over HTTPS from runtime-assembled Cloudflare Workers hosts (hostnames constructed via array-split-and-join, e.g. ['oob-','worker.cf101-adf.worker','s.dev'].join('')), with a fallback that queries DNS TXT records under *.dl.wel1.ru (hostnames similarly reconstructed from ['sdk.dl.','we','l1.','ru'].join('')), reads a chunk count from c.\u003cdomain\u003e TXT, batches numeric-prefixed subdomain TXT lookups, and base64-decodes the concatenated chunks into an executable buffer. The payload is written to /var/tmp or %TEMP% under disguised names (.cache_\u003chex\u003e on POSIX, dotnet_diag_\u003chex\u003e.exe on Windows), chmod 0755 is applied on POSIX, and the binary is spawned detached via /bin/sh -c '\u003cpath\u003e &' or cmd.exe /c start /b, with a.analytics_state marker file used to suppress re-runs. Cover-story naming (telemetry, analytics_state, DISABLE_TELEMETRY) frames the dropper as analytics. Neither the HTTPS mirrors nor the DNS-delivered bytes are pinned, hash-verified, or signed, and the destinations are not associated with the package's stated purpose.\n","modified":"2026-08-05T14:36:20.267438801Z","published":"2026-08-05T13:56:35Z","database_specific":{"malicious-packages-origins":[{"sha256":"a3094b607c6a3b342b1e8a4d7a3acde686d9fba41a68d430e08cda12dd9b0bca","source":"amazon-inspector","versions":["35.9.6"],"id":"IN-MAL-2026-015102","import_time":"2026-08-05T14:20:02.215297612Z","modified_time":"2026-08-05T13:56:35Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ded-pwa-bnpl-forms-demo/v/35.9.6"}],"affected":[{"package":{"name":"ded-pwa-bnpl-forms-demo","ecosystem":"npm","purl":"pkg:npm/ded-pwa-bnpl-forms-demo"},"versions":["35.9.6"],"database_specific":{"indicators":{"evidence_files":[{"path":"_support.js","sha256":"86492a6a70462ac9b3d6b864b162af1cc00f174e1c93212a14318fecd10dc3e6","tlsh":"33a1879a0566702987b0a7e886174416f65be66333c0c298fb5c69981fb7524c3b2efc"}],"package_integrity":[{"hashes":{"sha1":"b5d80fab017f76d299b3c91e5ebd57a0ec1cc33d","sha512_sri":"sha512-OLlOCoFM9Hg6RFjLVwfxk/YaZPkIZt006tkU2ejvWzoP+xQHrZjcTWI+gx/p5T+/zpj9COIfsFdKoWipt13QPA=="},"filename":"ded-pwa-bnpl-forms-demo-35.9.6.tgz"}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ded-pwa-bnpl-forms-demo/MAL-2026-12675.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}