MAL-2026-12860

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-api/MAL-2026-12860.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12860
Aliases
  • GHSA-fgxc-644c-34qm
Published
2026-08-05T14:58:50Z
Modified
2026-08-06T01:20:12.271801912Z
Summary
Malicious code in bnpl-api (npm)
Details

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

Source: amazon-inspector (2eda2ee8ac0f1ffdce814e7ca4bb7e1c1ca52beebb7048b18a64d8e13e87abf4)

The package presents itself as an empty API stub (index.js exports a no-op BnplApi and unconditionally require("./_support") on load). support.js assembles download hostnames via array-join string splitting (["oob-worke","r.cf103-070.w","or","kers",".d","ev"].join("")) to reconstruct three anonymous Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), fetches a platform-specific native executable, writes it to /tmp or %TEMP% under a disguised name (.cache_<hex> or dotnet_diag_<hex>.exe), chmods it 0755, and spawns it detached via spawn("/bin/sh",...) / spawn("cmd",...). If HTTPS retrieval fails, a DNS-TXT covert channel under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru reassembles a base64-encoded binary from numbered TXT records and executes it the same way. lib/telemetry.js also loads childprocess via require("child_"+"process") to evade static scanners. The package has no legitimate functionality; its only on-load effect is running an opaque attacker-controlled binary on the installer's host.

Source: ghsa-malware (7fbe1d12c0d2de7bf53cba5a61e26fbbfcf66ea9dec49d0f0dfbdd1d8a12fbf3)

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": [
        {
            "sha256": "2eda2ee8ac0f1ffdce814e7ca4bb7e1c1ca52beebb7048b18a64d8e13e87abf4",
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T14:58:50Z",
            "versions": [
                "35.9.5"
            ],
            "import_time": "2026-08-05T15:19:55.828299872Z",
            "id": "IN-MAL-2026-015520"
        },
        {
            "source": "ghsa-malware",
            "sha256": "7fbe1d12c0d2de7bf53cba5a61e26fbbfcf66ea9dec49d0f0dfbdd1d8a12fbf3",
            "modified_time": "2026-08-05T18:51:40Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-fgxc-644c-34qm",
            "import_time": "2026-08-06T00:58:53.365035835Z"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-api

Package

Affected ranges

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

Affected versions

35.*
35.9.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-api/MAL-2026-12860.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "cc840ab5492ae44484aeb22a4245a0609d2cc8bb8a3bc54d3be8db805530ffd2",
            "tlsh": "c0a1b69616aa30198bb097e4870b5416f6abe6633380c6d4fb5cb5d41f771288372efc",
            "path": "_support.js"
        },
        {
            "sha256": "bd4c9e83a113be7657c2a9e12740bad1f8532dcd05092df48f92bb2805055424",
            "tlsh": "0dc08c220621763358b852a0ad7a455b36a30f1f20b5ac1a37b7202800e6ab20cfd712",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "bnpl-api-35.9.5.tgz",
            "hashes": {
                "sha1": "a1f6a2cc36dea8f5ccc78f2aa9a7ed4a817f9f99",
                "sha512_sri": "sha512-qCga5I5CH4+lMOY64I7IxVsCeyJV43/TIj7NyA3o/VgFVDJit5+BHGof1Ld/9b3QHfDc1ZxUCUfDcq/+pIIOFg=="
            }
        }
    ]
}
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"
    }
]