{"id":"MAL-2026-13025","summary":"Malicious code in bnpl-molecule-mobile-bnpl-onboarding (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (23d110510740ced78dc5855c7f9c0c3dedff3669ad49cb52aeee3c5467f00d3b)\nOn require of the package, index.js loads _runtime.js which selects a platform-keyed asset (linux/darwin/win32), downloads an opaque binary from one of three string-split-obfuscated Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS TXT-record base64 fallback via wel1.ru subdomains, writes the payload to /var/tmp or %TEMP% under a masquerading filename (dotnet_diag_\u003chex\u003e.exe on Windows,.cache_\u003chex\u003e on Unix), chmods it 0755, and detached-spawns it via /bin/sh -c or cmd.exe /c start /b. Destination hostnames are reconstructed by joining split fragments (e.g. [\"oob-worker.cf1\",\"00-416.wo\",\"rkers\",\".d\",\"ev\"].join(\"\")) to evade static analysis, and a decoy no-op logger writes empty strings to stderr. The package name impersonates a BNPL onboarding module but ships no such functionality.\n","modified":"2026-08-05T15:51:48.043753551Z","published":"2026-08-05T14:35:22Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T14:35:22Z","sha256":"23d110510740ced78dc5855c7f9c0c3dedff3669ad49cb52aeee3c5467f00d3b","source":"amazon-inspector","versions":["35.7.8"],"id":"IN-MAL-2026-015361","import_time":"2026-08-05T15:19:47.072885167Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-molecule-mobile-bnpl-onboarding/v/35.7.8"}],"affected":[{"package":{"name":"bnpl-molecule-mobile-bnpl-onboarding","ecosystem":"npm","purl":"pkg:npm/bnpl-molecule-mobile-bnpl-onboarding"},"versions":["35.7.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-molecule-mobile-bnpl-onboarding/MAL-2026-13025.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"_runtime.js","sha256":"4e82d0a15bde5f4d46c8fd10274fb459ce4a515de860dbf7b5df8e87761c32ac","tlsh":"39b198a6166670194bb09be5c7175406f65be6633380c184fb9c79984f7312483b2efc"}],"package_integrity":[{"hashes":{"sha1":"2457ed83c3eb32d25dd276858ecbebe082ef1f2b","sha512_sri":"sha512-1CGsZsQSO0Civ3InspmAYofZCTDnO0VGFJSkFUOxN6e4uMcypuZgDyZoO60Dz1vZHSLC92XkDoXE72LJi5AFRQ=="},"filename":"bnpl-molecule-mobile-bnpl-onboarding-35.7.8.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}