MAL-2026-12926

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-header-catalog/MAL-2026-12926.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12926
Published
2026-08-05T14:49:01Z
Modified
2026-08-05T15:51:00Z
Summary
Malicious code in bnpl-blocks-desktop-bnpl-header-catalog (npm)
Details

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

Source: amazon-inspector (d77aab31095b1d13ea26c5ca29398e01a205ed0766fe95d5d8978751ebd75e35)

The package presents itself as a 'logging middleware' but its index.js unconditionally requires loader.js on module load. loader.js selects a per-OS asset and fetches it over HTTPS from a randomized list of anonymous Cloudflare Workers hostnames (reconstructed via split-string concatenation such as ["oob-wor","ker.cf100-416.workers",".de","v"].join("")). If HTTPS fails, it falls back to a DNS TXT covert channel that queries c. then sequential numeric subdomains under *.dl.wel1.ru, concatenates the TXT chunks, and base64-decodes them into an executable payload. The fetched bytes are written to a disguised path under /var/tmp or %TEMP% (e.g. dotnet_diag*.exe,.cache*), chmod 0755 on Unix, and executed detached via cp.spawn("/bin/sh", ["-c", fp + " &"], {detached:true}) or cmd.exe. No hash or signature verification is performed, destinations are not publisher-controlled, and hostnames and the require("child_"+"process") call are string-split to evade static scanners. The Logger export is a cover story shadowing an install/import-time remote-code-execution dropper.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015453",
            "import_time": "2026-08-05T15:19:52.282540525Z",
            "modified_time": "2026-08-05T14:49:01Z",
            "sha256": "d77aab31095b1d13ea26c5ca29398e01a205ed0766fe95d5d8978751ebd75e35",
            "source": "amazon-inspector",
            "versions": [
                "35.3.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-desktop-bnpl-header-catalog

Package

Name
bnpl-blocks-desktop-bnpl-header-catalog
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-desktop-bnpl-header-catalog

Affected ranges

Affected versions

35.*
35.3.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_loader.js",
            "sha256": "54c8e1a5ec54eefcbe6ae6006694891648e7732856bf1ee6b4eeaa4bf3798730",
            "tlsh": "b8a1965b16a630198bb0d7e48b17541af65af563338082c8fb9ca5941f7316883b2efc"
        },
        {
            "path": "index.js",
            "sha256": "a3ffa390b4e4cfa9ad3f8d41d42e92c2a8799f4cf7c4d06532f9e4d56e7d13e6",
            "tlsh": "a2119b6267ed56074172a364cde380037a2ad29ea453b2dc734c53fe0fbd5581625e32"
        }
    ],
    "package_integrity": [
        {
            "filename": "bnpl-blocks-desktop-bnpl-header-catalog-35.3.6.tgz",
            "hashes": {
                "sha1": "ef60861ddca67539ee386f529b23c07b46e4ad30",
                "sha512_sri": "sha512-l5i9hAaATpbKa1rsZklKkbiUHdS1vBO2J22dQgXg258HQ+Ez7SM8elGHGY1uwM+OFoXCAQB2Fo6svz0WtTCIWw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-header-catalog/MAL-2026-12926.json"