{"id":"MAL-2026-12995","summary":"Malicious code in bnpl-blocks-mobile-bnpl-info-slider (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (36d339646cbe6f6c012c79bcb2c040941c777f5b76d67677bab4e11a3c46785d)\nindex.js unconditionally requires./setup.js when the module is loaded. setup.js selects a platform-specific payload for linux_x64, linux_arm64, darwin, or win32 and downloads it from Cloudflare Workers hostnames reconstructed at runtime via string-array joins (oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev), with a DNS-TXT fallback on subdomains of dl.wel1.ru. The downloaded bytes are written to /var/tmp or %TEMP% under disguised names (.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.exe /c start. Additional obfuscation is present: dynamic property assembly (fs[\"chmod\"+\"Sync\"], require(\"child_\"+\"process\")), a cover-story marker file named.analytics_state, and a sibling lib/telemetry.js that presents Sentry-like SDK comments while duplicating the dropper primitives. The package's declared purpose (\"platform adapter\") does not exist as functionality — index.js exports a trivial no-op class, package.json declares no dependencies, and the only substantive behavior is the dropper. Any consumer that require()s this package receives full-host code execution from attacker-controlled infrastructure.\n","modified":"2026-08-05T15:51:34.194507898Z","published":"2026-08-05T14:38:15Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:48.233522254Z","modified_time":"2026-08-05T14:38:15Z","sha256":"36d339646cbe6f6c012c79bcb2c040941c777f5b76d67677bab4e11a3c46785d","source":"amazon-inspector","versions":["35.8.4"],"id":"IN-MAL-2026-015380"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-info-slider/v/35.8.4"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-info-slider","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-info-slider"},"versions":["35.8.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-info-slider/MAL-2026-12995.json","indicators":{"evidence_files":[{"path":"setup.js","sha256":"9665a57c46dc3ff8aec497dddaef35eac75ec1ff168eaf3efaf9183b31b5fcbe","tlsh":"a9a17796166670198bb0dbf4c7179815f65af6633380c288fb9c68985f7352483b1efc"},{"sha256":"64698dcff3f65f0dab41f24add5acbc8ff3dfb0c93772d3791c2cd3c8dbde0f8","tlsh":"59c02252c830b63310b025853ca288427b620f5e3024cd4bb2b3202c40e20a1049d722","path":"package.json"}],"package_integrity":[{"filename":"bnpl-blocks-mobile-bnpl-info-slider-35.8.4.tgz","hashes":{"sha1":"b219417709dc413e100e04a0c6d78bddf95814d7","sha512_sri":"sha512-uNchpd0X2+tmAOKBBDWR4WhwPsczPpJ2Et0xXIXEJGzOKBG4dXLpg44RzFChFOknR8X+qzN2Fx9YcDdy7PoB7g=="}}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}