{"id":"MAL-2026-12880","summary":"Malicious code in bnpl-blocks-atom-bnpl-link-avatar (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3be43998de08cea356c696d856d5469ab529293a1899f1beed856d529200413d)\nOn require() of the package, index.js loads _polyfill.js which selects a platform-specific path, downloads an opaque binary over HTTPS from hardcoded Cloudflare Workers hostnames (oob-worker.cf99-9b3.workers.dev, cf100-416.workers.dev, cf101-adf.workers.dev, cf103-070.workers.dev), with a DNS-TXT base64 fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The binary is written to /tmp or %TEMP% under disguised names (.cache_\u003crnd\u003e on POSIX, dotnet_diag_\u003crnd\u003e.exe on Windows), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. There is no hash or signature verification and the destinations are not publisher-owned infrastructure. Destination hostnames are reassembled at runtime from string fragments joined together, a.analytics_state marker file gates re-execution, and DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env vars are consulted as a cover story. The package's public API (index.js) is a no-op stub class and the name follows a scoped-ecosystem naming pattern, consistent with a dependency-confusion or typosquat lure whose sole effect on install is the dropper.\n\n## Source: ghsa-malware (1b2e43e08c24ca9804259a1260b633e5abffedfa4d04e2fa64a8cac94ca7f5bb)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-84vq-j25f-6x2p"],"modified":"2026-08-06T01:20:20.894479519Z","published":"2026-08-05T14:54:42Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["35.4.8"],"id":"IN-MAL-2026-015492","import_time":"2026-08-05T15:19:54.232186756Z","modified_time":"2026-08-05T14:54:42Z","sha256":"3be43998de08cea356c696d856d5469ab529293a1899f1beed856d529200413d"},{"ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"1b2e43e08c24ca9804259a1260b633e5abffedfa4d04e2fa64a8cac94ca7f5bb","source":"ghsa-malware","id":"GHSA-84vq-j25f-6x2p","import_time":"2026-08-06T00:58:53.321446164Z","modified_time":"2026-08-05T16:57:54Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-link-avatar/v/35.4.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-84vq-j25f-6x2p"}],"affected":[{"package":{"name":"bnpl-blocks-atom-bnpl-link-avatar","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-atom-bnpl-link-avatar"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.4.8"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"65f725747ea46aa0280c815a0d2707df2b84dd17c8028914ae51901e118a6902","tlsh":"1cb1a56a15aa70184bb0d7e4c6175416f66af6637380c698f79ca58c0fb2124c3b2ffc","path":"_polyfill.js"},{"sha256":"b98de6599f212c67329d3aac4e2cf242ca553011f6e192ade063be314e389f73","tlsh":"44d02e22882022b310b92901fe91c34ab2860f4e2134ad06bb73211840c24a900af336","path":"package.json"}],"package_integrity":[{"hashes":{"sha1":"6af4a45c487bf42579b029bccf942125f8ecddf2","sha512_sri":"sha512-Wwcj1XnqPia2UTUyBpOQ+4ehvbcopPlZJwVzCrs8uNhc7LKRQ7mcSyDLfc+9uFSAcpIw2LTWbu+5jSX1Mray9w=="},"filename":"bnpl-blocks-atom-bnpl-link-avatar-35.4.8.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-link-avatar/MAL-2026-12880.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}