{"id":"MAL-2026-12893","summary":"Malicious code in bnpl-blocks-atom-bnpl-skeleton (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2e88e9faf590414055ba1b7b48bdaa51df5e33735b9dd526e5d8d0650eceae7)\nOn require of the package's main entry, _init.js fetches a platform-specific binary from obfuscated Cloudflare Workers hostnames (assembled by joining split substrings, e.g. oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS TXT chunked-base64 fallback to sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /tmp or %TEMP% under disguised filenames (dotnet_diag_\u003ctoken\u003e.exe on Windows,.cache_\u003ctoken\u003e on Unix), chmod'd to 0755, and spawned detached via /bin/sh -c or cmd.exe. No source, hash, or signature is verified. A parallel dropper bundle in lib/telemetry.js replicates the same write-chmod-spawn primitive behind an analytics/telemetry cover story, with additional string-splitting obfuscation of sensitive APIs (require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"]). Any consumer importing this package executes arbitrary attacker-controlled native code on the host.\n","modified":"2026-08-05T15:50:45.723180338Z","published":"2026-08-05T14:53:14Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T14:53:14Z","sha256":"d2e88e9faf590414055ba1b7b48bdaa51df5e33735b9dd526e5d8d0650eceae7","source":"amazon-inspector","versions":["35.6.3"],"id":"IN-MAL-2026-015482","import_time":"2026-08-05T15:19:53.770007595Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-skeleton/v/35.6.3"}],"affected":[{"package":{"name":"bnpl-blocks-atom-bnpl-skeleton","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-atom-bnpl-skeleton"},"versions":["35.6.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"bnpl-blocks-atom-bnpl-skeleton-35.6.3.tgz","hashes":{"sha1":"2a61af11eacc941bf5a7aee9c7dc1f58484e81a4","sha512_sri":"sha512-BL5Uw207S1Dxj8KFlpScTWQ9OFPlVm5NuBuoYjlpCz6EtX9Q8Dic6AV4btpAakn1foqCfsu/u3WgCNBWCW7mCw=="}}],"evidence_files":[{"sha256":"5e6a7a46ef51a4dc6b0d6f6cdb35c26f562aa43ed5ee84ace879765767b7acb6","tlsh":"caa1965a16b670198bb0dbe4cb175816f65bf66333808288fb9c65945fb312483b2dfc","path":"_init.js"},{"sha256":"477c3523552fef5d9cd06a0ece7673f7cd0aa467cffb2c70df299a14ba3746ff","tlsh":"b4835055566a202186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc","path":"lib/telemetry.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-skeleton/MAL-2026-12893.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}