MAL-2026-12968

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-scheme/MAL-2026-12968.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12968
Published
2026-08-05T14:42:23Z
Modified
2026-08-05T15:51:20.827658123Z
Summary
Malicious code in bnpl-blocks-independent-bnpl-scheme (npm)
Details

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

Source: amazon-inspector (386248e103371d4e302c8325a3d1b76c4269256b1c374c95f539104230f60149)

The package ships a loader (_loader.js) that assembles remote hostnames at runtime from string-split arrays (reconstructing subdomains of wel1.ru and a cloudflare workers.dev host) to evade static detection, issues an https.get to those endpoints, writes the response to disk, chmods it executable (0755), and spawns it via /bin/sh -c or cmd. A sibling module lib/telemetry.js (~81KB) presents itself as an 'analytics SDK' but contains the same dropper primitives (base64 chunk decode, chmodSync 0755, cp.spawn('/bin/sh',['-c', filePath+' &'])). Hostname reconstruction via array split/join combined with a fetch-write-chmod-exec chain is an obfuscated remote code delivery mechanism, not legitimate SDK behavior. The runtime-assembled destinations do not match any documented publisher endpoint, and the code path is reachable on load. Installing or loading this package results in execution of attacker-controlled code fetched from wel1.ru subdomains and a *.workers.dev host on the installer's machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "386248e103371d4e302c8325a3d1b76c4269256b1c374c95f539104230f60149",
            "id": "IN-MAL-2026-015408",
            "modified_time": "2026-08-05T14:42:23Z",
            "import_time": "2026-08-05T15:19:49.751412755Z",
            "source": "amazon-inspector",
            "versions": [
                "35.8.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-independent-bnpl-scheme

Package

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

Affected ranges

Affected versions

35.*
35.8.4

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "d7f158dcfbf7377dea7dbd0b77466ff806772abc356614cf3dcdd73c9bc2fc8e",
            "path": "_loader.js",
            "tlsh": "12a1979a166a70194bb0dbe0872b541af656f6633380c1c4fb5ca5944f771248272efc"
        },
        {
            "sha256": "8e705dcc15b2319623e9bc6cee0f7d5fe8a19224b44cf5048549e99f0ecb4dfd",
            "path": "lib/telemetry.js",
            "tlsh": "57835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-afowgPyJ5RxGR6t7mxT33bScIePznNrYX63B67FGeJ4rNToQBl7UF5ipETDsJACbjBx+u63RaPdTq4iz0/8+Zw==",
                "sha1": "8e6b73dc92677238037f0f4a7a7c22aad2c44b83"
            },
            "filename": "bnpl-blocks-independent-bnpl-scheme-35.8.4.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-scheme/MAL-2026-12968.json"