MAL-2026-12944

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

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

Source: amazon-inspector (4073d41c6f9c313ea3c3e26c01e9d8de4032797e7d6e80e51c214eb37c1969f9)

On require() of the package, platform.js selects a platform-specific endpoint and downloads an opaque binary from string-split obfuscated Cloudflare Workers hostnames (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev), assembled at runtime from split fragments to evade static analysis. When HTTPS retrieval fails, it falls back to a DNS TXT-record covert channel under *.dl.wel1.ru (host assembled as ['sdk.d','l.','we','l1','.ru'].join('')), concatenating TXT chunks and base64-decoding them into an executable buffer. The payload is written to /tmp/.cache<hex> on Unix or %TEMP%/dotnetdiag<hex>.exe on Windows (disguised as analytics/diagnostics state), chmod 0755, and detached-spawned via /bin/sh -c or cmd /c start. Cover-story telemetry-opt-out env var names (DISABLETELEMETRY, ANALYTICSOPTOUT, DONOT_TRACK) and diagnostics-shaped file names are present but do not alter the drop-and-execute behavior. Package name pattern (bnpl-blocks-desktop-bnpl-text-block) has no legitimate library content matching the advertised purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015441",
            "import_time": "2026-08-05T15:19:51.527870202Z",
            "sha256": "4073d41c6f9c313ea3c3e26c01e9d8de4032797e7d6e80e51c214eb37c1969f9",
            "modified_time": "2026-08-05T14:47:13Z",
            "versions": [
                "35.9.4"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-desktop-bnpl-text-block

Package

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

Affected ranges

Affected versions

35.*
35.9.4

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-ZHrMuwG0Wf9DsyCoQ/B6DhsKUW86gApBug+3YqPg3gqL/WUrY62BlWmfvonxM0Jmy8ZHooPmnpdVyzKFxs2zag==",
                "sha1": "1117eed51fe802ad9e266dc60c714ab63c33a5be"
            },
            "filename": "bnpl-blocks-desktop-bnpl-text-block-35.9.4.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_platform.js",
            "sha256": "d5c39ee58b760c6ea53842ffbaec0595ca417df7b4814c4506ed9de1ea352f66",
            "tlsh": "41a1946a12a970088bb0dbe5c717441af65af6633780c694fb5ca5945fb313483b1efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-text-block/MAL-2026-12944.json"