MAL-2026-12877

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-image-popup/MAL-2026-12877.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12877
Aliases
  • GHSA-jmfc-p35p-hcgf
Published
2026-08-05T14:56:40Z
Modified
2026-08-06T01:20:18Z
Summary
Malicious code in bnpl-blocks-atom-bnpl-image-popup (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (893348e540e6c6a6cb856324bb2379d838bead9f4d2ceab1ae7c3509094871f6)

On 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.exe or.cache), chmods it 0755, and spawns it detached via /bin/sh -c " &" 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., 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.

Source: ghsa-malware (cb9e41b3bac04f947a3e2a78e7577139d97179455d503fe8bee0cfd116cf458e)

Any 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.

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"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-image-popup

Package

Name
bnpl-blocks-atom-bnpl-image-popup
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-atom-bnpl-image-popup

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

35.*
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=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-image-popup/MAL-2026-12877.json"