MAL-2026-12967

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-product-grid/MAL-2026-12967.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12967
Published
2026-08-05T14:44:09Z
Modified
2026-08-05T15:51:20.792620454Z
Summary
Malicious code in bnpl-blocks-independent-bnpl-product-grid (npm)
Details

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

Source: amazon-inspector (398d16a0c0dbc5af823fe61d71d41dffc0bbaac820b948fb9310a250e2ed966e)

The package advertises a BNPL product-grid block, but top-level require('./platform') from index.js triggers platform.js, which on load selects a platform-specific endpoint, downloads an opaque binary over HTTPS from Cloudflare Workers hosts, writes it to /var/tmp or %TEMP% under disguise filenames (.cache*, dotnetdiag_*.exe), chmods it 0o755, and spawns it detached via /bin/sh or cmd. Destination hostnames are reconstructed at runtime by concatenating string fragments (e.g. ['oob-w','orker.cf100-416.work','ers.de','v'].join(''); ['sdk.dl.wel1.','ru'].join('')) to evade static analysis. If the HTTPS fetch fails, the module falls back to a DNS TXT channel: it resolves c.<domain> for a chunk count, batches TXT lookups against N.<domain> under *.dl.wel1.ru, base64-decodes the concatenated response into a Buffer, and executes those bytes through the same activation path. No hash or signature verification is performed, the delivery infrastructure is unrelated to the advertised BNPL purpose, and DONOTTRACK / DISABLE_TELEMETRY env gates serve as cover.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "398d16a0c0dbc5af823fe61d71d41dffc0bbaac820b948fb9310a250e2ed966e",
            "id": "IN-MAL-2026-015420",
            "modified_time": "2026-08-05T14:44:09Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T15:19:50.391232358Z",
            "versions": [
                "35.5.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-independent-bnpl-product-grid

Package

Name
bnpl-blocks-independent-bnpl-product-grid
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-independent-bnpl-product-grid

Affected ranges

Affected versions

35.*
35.5.5

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "77e4d4b866588a03097209b5b20b938a1c9c91afffe3bbaa5764fe59045938ba",
            "path": "_platform.js",
            "tlsh": "bca1a79a11aa71188bb0a7e4c7179419f65af7633381c289fb6c95841fb3024c3b1efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-XqS6M97UoeSYSPNhWxf49QtcN+q3b2mYrR9wTOaorsdvnPxsE4+tLa2Hl5IycSyFs0jmBvEPv1RLJbn2IuxXrQ==",
                "sha1": "90f22c9872952165cb37890b7ca8c527383dc346"
            },
            "filename": "bnpl-blocks-independent-bnpl-product-grid-35.5.5.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-product-grid/MAL-2026-12967.json"