{"id":"MAL-2026-12907","summary":"Malicious code in bnpl-blocks-component-story-name (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a797e2310dd4df10e11e104dad3fbb135621e9997a5425f480c3c884da59ca6d)\nOn require of this package, index.js loads _polyfill.js which downloads a platform-specific executable from one of four hardcoded Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT covert-channel fallback that reassembles base64 payload chunks from numeric subdomains of sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (dotnet_diag_*.exe,.cache_*), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Destination hostnames are assembled at runtime by joining split string fragments to evade static string scanners. Requiring the package yields arbitrary remote code execution on the installer's host.\n","modified":"2026-08-05T15:50:52.318087050Z","published":"2026-08-05T14:52:23Z","database_specific":{"malicious-packages-origins":[{"versions":["35.2.7"],"id":"IN-MAL-2026-015476","import_time":"2026-08-05T15:19:53.456632678Z","modified_time":"2026-08-05T14:52:23Z","sha256":"a797e2310dd4df10e11e104dad3fbb135621e9997a5425f480c3c884da59ca6d","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-component-story-name/v/35.2.7"}],"affected":[{"package":{"name":"bnpl-blocks-component-story-name","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-component-story-name"},"versions":["35.2.7"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"b4a1a86a06aa70184bb0e7e0c71b4826f55af6633781d1c8fb5c95885f7352483b1efc","path":"_polyfill.js","sha256":"df980dad4068074fe1411edc7a5e01d7f557d0818679e6dc5b8a933ea0f6dde6"}],"package_integrity":[{"hashes":{"sha1":"8cc76d9b7752c3c7da96ab4f58de4b8cd60122e2","sha512_sri":"sha512-XMuuWvxYaXU8mXpSvBaMjuxljvUbnkqpYB7VJc1vBRhQbo+ZSN3E2EqCeKCab2DOAEkvOMLqXs1QPpSeyPsTOw=="},"filename":"bnpl-blocks-component-story-name-35.2.7.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-component-story-name/MAL-2026-12907.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}