MAL-2026-12902

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-desktop-bnpl-highlighted-text/MAL-2026-12902.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12902
Published
2026-08-05T14:52:58Z
Modified
2026-08-05T15:50:49.688539094Z
Summary
Malicious code in bnpl-blocks-atom-desktop-bnpl-highlighted-text (npm)
Details

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

Source: amazon-inspector (2349ee7ea5e3f9098d665ff904b6dd6dba444d3f09c45654be5bfd56b8248960)

On require() of the package, index.js loads platform.js, which assembles destination hostnames at runtime from split-string arrays to hide them from static inspection. The resolved hosts are Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, cf100-416.workers.dev, cf101-adf.workers.dev, cf103-070.workers.dev) with a DNS-TXT covert-channel fallback over subdomains of wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru). The code fetches a platform-specific binary, writes it under a disguised filename to /tmp (.cache<rand>) on POSIX or %TEMP% (dotnetdiag<rand>.exe) on Windows, chmods 0755, and spawns it detached via /bin/sh -c or cmd with stdio ignored and unref(). A second file, lib/telemetry.js (81KB), ships in the tarball and contains parallel dropper logic (HTTPS+DNS transport, base64 chunk decoding, /bin/sh spawn, fs["chmod"+"Sync"] with 0755) that is not currently referenced by index.js but is present and activatable. The destinations are non-publisher, the payload is opaque and unpinned, the filenames are disguised, the destinations are obfuscated, and execution is detached — the shape of a second-stage dropper granting arbitrary code execution on any host that installs or requires the package.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T14:52:58Z",
            "source": "amazon-inspector",
            "sha256": "2349ee7ea5e3f9098d665ff904b6dd6dba444d3f09c45654be5bfd56b8248960",
            "import_time": "2026-08-05T15:19:53.686159479Z",
            "id": "IN-MAL-2026-015480",
            "versions": [
                "35.2.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-desktop-bnpl-highlighted-text

Package

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

Affected ranges

Affected versions

35.*
35.2.3

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "bnpl-blocks-atom-desktop-bnpl-highlighted-text-35.2.3.tgz",
            "hashes": {
                "sha512_sri": "sha512-aq//WV/2uvB4u5Zw2O9O0LyPIecpMczYDFK4oW1Mny2EI/1DPxjJxKJp5skiezaupRGElqbGz7va8D4iV5iz1Q==",
                "sha1": "5da848f3b47fcc4d5c139ec75dbce377943b1b16"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "c7b19796166ab0184bb0ebf4c6174825f65bf6633681c2c4f75ca9845fb31248371efc",
            "sha256": "3a5b8405166dfd533091d1ab5764a46ffa59bdff5ddc4d4a7425a5e20934a7ac",
            "path": "_platform.js"
        },
        {
            "tlsh": "45835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "dcf14aa92bc4036a863edef1094a4117694bd2301e442847758429867eaf9710",
            "path": "lib/telemetry.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-desktop-bnpl-highlighted-text/MAL-2026-12902.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]