MAL-2026-12925

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

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

Source: amazon-inspector (0c6b73a025a319c8c2af1d616239d0950f911030ae9760506d6090be908ca935)

On require() of this package, index.js loads bridge.js, which reconstructs C2 hostnames from split string fragments (e.g. ["oob-worker",".cf","10","3-070.worke","rs.d","ev"].join("")) to resolve oob-worker.cf*.workers.dev endpoints and a DNS-TXT fallback under *.dl.wel1.ru. It downloads a platform-specific binary (/pkg/package, /pkg/package-arm64, /pkg/loadermac, /pkg/package.exe), writes it to /var/tmp or %TEMP% under a disguised name (.cache<hex> or dotnetdiag<hex>.exe), chmods it 0755, and spawns it detached via /bin/sh or cmd.exe /c start /b, using a marker file to suppress repeat execution. A DNS-TXT channel reassembles base64 chunks from sequentially numbered TXT records as a fallback. Cover strings referencing analytics/telemetry/dotnetdiag are misdirection; the destinations are non-publisher, anonymous Cloudflare Workers and Russian DNS hosts, and the fetched bytes are opaque binaries executed on the installer's host. An additional 81 KB lib/telemetry.js is shipped but not reached from index.js or _bridge.js.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015459",
            "import_time": "2026-08-05T15:19:52.615120399Z",
            "sha256": "0c6b73a025a319c8c2af1d616239d0950f911030ae9760506d6090be908ca935",
            "modified_time": "2026-08-05T14:49:57Z",
            "source": "amazon-inspector",
            "versions": [
                "35.7.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-desktop-bnpl-header

Package

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

Affected ranges

Affected versions

35.*
35.7.1

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_bridge.js",
            "tlsh": "89b1a65a16a670188bb097f4c7274416f55be66337c1c2d8fb5ca5d80fb612482b2efc",
            "sha256": "0b7dac2ddbfa5f512cde2fcff09d77f565966c0465bd61a3e9db55352d98db4e"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "7e835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "7b226fdf6aee9636b1ef78a51f61acfba19376f42b8191bf748dbdb31d4b7585"
        }
    ],
    "package_integrity": [
        {
            "filename": "bnpl-blocks-desktop-bnpl-header-35.7.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-oROiyUsLoLTe3RQ8xehAYz5dtzIhm0V/8TFoLfyjdgk18h1lEJrZL+M1TYDkicebqiEhKyLl58ACXPqHrjcjUA==",
                "sha1": "fb5d86932222cd2c2b264e8773f9e775ebce2381"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-header/MAL-2026-12925.json"