{"id":"MAL-2026-13007","summary":"Malicious code in bnpl-blocks-mobile-bnpl-tab-buttons (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (34cc219a990162733e49aafc255a8abe4c4acd3fc56bce77ae31800fd4791678)\nOn require() of the package, index.js side-loads _adapter.js which selects a platform-specific asset, downloads bytes over HTTPS from hostnames reconstructed at runtime by joining split string fragments (oob-worker.cf10{0..3}-*.workers.dev), writes the bytes to a disguised temp file (/tmp/.cache_\u003chex\u003e on POSIX, %TEMP%/dotnet_diag_\u003chex\u003e.exe on Windows), sets mode 0o755, and spawns the file detached via /bin/sh -c or cmd.exe /c start. A DNS-TXT fallback channel queries c.\u003cdomain\u003e then N.\u003cdomain\u003e records under *.dl.wel1.ru, base64-decodes the concatenated chunks, and executes the resulting binary when the HTTPS mirrors fail. The package advertises itself as a native bridge with a trivial no-op class in index.js; the dropper logic is hidden in _adapter.js with cover-story variable names (analytics_state, telemetry). Hostname reconstruction from split literals is a deliberate static-scanner evasion technique, and DNS-TXT payload staging is a covert-channel technique to bypass HTTPS egress filtering.\n","modified":"2026-08-05T15:51:39.360169144Z","published":"2026-08-05T14:37:33Z","database_specific":{"malicious-packages-origins":[{"versions":["35.7.1"],"id":"IN-MAL-2026-015375","import_time":"2026-08-05T15:19:47.998503964Z","modified_time":"2026-08-05T14:37:33Z","sha256":"34cc219a990162733e49aafc255a8abe4c4acd3fc56bce77ae31800fd4791678","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-tab-buttons/v/35.7.1"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-tab-buttons","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-tab-buttons"},"versions":["35.7.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-tab-buttons/MAL-2026-13007.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha1":"4ce4fa38729bdc8b270930c80d1158df555550fa","sha512_sri":"sha512-kFevNY+pDhK81K8qdv/QTKHvv9ANO9Hl8zvT4edbeksuhWimkRHSEhnyerny7jL7oUhrcWQwtfDdpzMDHxMk6Q=="},"filename":"bnpl-blocks-mobile-bnpl-tab-buttons-35.7.1.tgz"}],"evidence_files":[{"tlsh":"98a1885a0595b0084bb0e7e4c61b8825f56af6633681c2d4f75c69885f73524c3b2dfc","path":"_adapter.js","sha256":"bf7162ff71962781fee86f486dbf693d84acafd7be42301783907ad6d4bfc16b"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}