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
Aliases
  • GHSA-22p2-w92c-xc7w
Published
2026-08-05T14:47:32Z
Modified
2026-11-23T21:30:04Z
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.

Source: ghsa-malware (5db7dac7c2a3ba0157aafaa49fb9b26c5bfff0a580b3872430a1e6cf46b7b353)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015443",
            "import_time": "2026-08-05T15:19:51.646796764Z",
            "modified_time": "2026-08-05T14:47:32Z",
            "sha256": "a925d2ffafa8ffd0f27b1072b73d895eda640c78f1444312dcf9e09c92072216",
            "source": "amazon-inspector",
            "versions": [
                "35.5.8"
            ]
        },
        {
            "id": "GHSA-22p2-w92c-xc7w",
            "import_time": "2026-11-23T21:16:52.56739855Z",
            "modified_time": "2026-11-23T21:03:57Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "5db7dac7c2a3ba0157aafaa49fb9b26c5bfff0a580b3872430a1e6cf46b7b353",
            "source": "ghsa-malware"
        }
    ]
}
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

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

35.*
35.5.8

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_shim.js",
            "sha256": "0c9c4594e875596643f974882b871ac534151438e864216fc07eada0315763c9",
            "tlsh": "c9b1769a166a70194bb0abe4c71b4415fa5af66333808294fb5ca5981f7353483b2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "6e24f4379c740aee47c119a496b1e8fb6033953f4ce61cb99503eb5fd8e5f449",
            "tlsh": "d6835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "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"