MAL-2026-12877Malicious code in bnpl-blocks-atom-bnpl-image-popup (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | bnpl-blocks-atom-bnpl-image-popup | * |
| npm | bnpl-blocks-atom-bnpl-image-popup | 35.9.6 |
{"schema_version":"1.7.4","id":"MAL-2026-12877","published":"2026-08-05T14:56:40Z","modified":"2026-08-06T01:00:37.894299600Z","aliases":["GHSA-jmfc-p35p-hcgf"],"summary":"Malicious code in bnpl-blocks-atom-bnpl-image-popup (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (893348e540e6c6a6cb856324bb2379d838bead9f4d2ceab1ae7c3509094871f6)\nOn require of the package, index.js loads _compat.js, which reconstructs C2 hostnames from string-split arrays (e.g., [\"oob-worker.cf101-adf.workers\",\".dev\"].join(\"\")) to build HTTPS endpoints on *.workers.dev and DNS fallback hosts under *.dl.wel1.ru. _compat.js selects a platform-specific endpoint, downloads an opaque binary via https.get, writes it to /var/tmp on Unix or the Windows temp directory under a disguised name (e.g., dotnet_diag_<rnd>.exe or.cache_<rnd>), chmods it 0755, and spawns it detached via /bin/sh -c \"<path> &\" or cmd /c start. A fallback loadViaDns routine retrieves the payload as chunked base64 from TXT records under *.dl.wel1.ru (a count is read from c.<domain>, then N sequential TXT records are concatenated and base64-decoded). Marker-file single-execution gating and TELEMETRY/DO_NOT_TRACK environment-variable kill switches are present to suppress re-execution and evade observation.\n\n## Source: ghsa-malware (cb9e41b3bac04f947a3e2a78e7577139d97179455d503fe8bee0cfd116cf458e)\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","affected":[{"package":{"name":"bnpl-blocks-atom-bnpl-image-popup","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.9.6"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_compat.js","sha256":"06480fb413379ff992fceec318c2a6f6a60b32fdd8c20aadc8d4e0ac29233a82","tlsh":"bfa1849b1666a0084b70dbe4c61b8826f55bf6633680d2c4f7ac65984f7312482b2efc"}],"package_integrity":[{"filename":"bnpl-blocks-atom-bnpl-image-popup-35.9.6.tgz","hashes":{"sha1":"44d774bf439333102e595bdd885d68df6479d892","sha512_sri":"sha512-lhPu8g9FiMSZACzsIOInQB8AL6jnT3iY/y17HFhK9NZERcbGE9cJyfYc9yNdtBBvn3D14jIkm242iykh0TmiLg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-image-popup/v/35.9.6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jmfc-p35p-hcgf"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015506","import_time":"2026-08-05T15:19:55.077433205Z","modified_time":"2026-08-05T14:56:40Z","sha256":"893348e540e6c6a6cb856324bb2379d838bead9f4d2ceab1ae7c3509094871f6","source":"amazon-inspector","versions":["35.9.6"]},{"id":"GHSA-jmfc-p35p-hcgf","import_time":"2026-08-06T00:58:53.406451902Z","modified_time":"2026-08-05T17:13:54Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"cb9e41b3bac04f947a3e2a78e7577139d97179455d503fe8bee0cfd116cf458e","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0