MAL-2026-12939

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

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

Source: amazon-inspector (a925d2ffafa8ffd0f27b1072b73d895eda640c78f1444312dcf9e09c92072216)

On require of the package's main entry, _shim.js unconditionally fetches a platform-specific binary over HTTPS from hardcoded hostnames assembled via array.join() to defeat literal string search (e.g. oob-worker.cf10{0,1,2}-*.workers.dev), with a DNS TXT-record fallback channel that reassembles a base64-encoded payload from chunked TXT queries against *.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under a disguised name, chmod'd to 0755 on POSIX, and spawned detached via /bin/sh -c or cmd.exe /c start. No signature or hash verification is performed and the destination hosts are not first-party to the package's stated purpose. A second, structurally identical dropper module ships at lib/telemetry.js containing the same HTTPS-fetch + base64-decode + chmod 755 + /bin/sh spawn pattern, though not currently wired into main in this version. Package name and 'analytics/telemetry' framing serve as cover; destination-string obfuscation and the DNS-TXT payload channel are consistent with evasion of static indicator scanning.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015443",
            "import_time": "2026-08-05T15:19:51.646796764Z",
            "sha256": "a925d2ffafa8ffd0f27b1072b73d895eda640c78f1444312dcf9e09c92072216",
            "modified_time": "2026-08-05T14:47:32Z",
            "source": "amazon-inspector",
            "versions": [
                "35.5.8"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-desktop-bnpl-separator

Package

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

Affected ranges

Affected versions

35.*
35.5.8

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": "_shim.js",
            "tlsh": "c9b1769a166a70194bb0abe4c71b4415fa5af66333808294fb5ca5981f7353483b2efc",
            "sha256": "0c9c4594e875596643f974882b871ac534151438e864216fc07eada0315763c9"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "d6835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "6e24f4379c740aee47c119a496b1e8fb6033953f4ce61cb99503eb5fd8e5f449"
        }
    ],
    "package_integrity": [
        {
            "filename": "bnpl-blocks-desktop-bnpl-separator-35.5.8.tgz",
            "hashes": {
                "sha1": "5f9b3c628324503d424e4e104555c5348568a6dd",
                "sha512_sri": "sha512-U2/LznsVp4wslfToR7sKLxDixjCXJ/Xt8mrDBx0MNKHuxefxZRje6miszs630o+b/FkSC65uF/97D4dfx2uZYw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-separator/MAL-2026-12939.json"