MAL-2026-13018

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

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

Source: amazon-inspector (04845144f2e54662acd3413698e57b4efbbe44c47ddeb3c40c2fcc7383ae572c)

On require() of the package, index.js loads./_ext which reconstructs hardcoded hostnames via fragment-joined arrays (e.g. oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev) and a DNS-TXT fallback under *.wel1.ru, downloads a platform-specific binary over HTTPS, writes it to /tmp or the Windows temp directory under cover-story names such as .cache_XXXX and dotnet_diag_XXXX.exe, chmods it 0755, and spawns it detached via /bin/sh -c '<path> &' or cmd.exe. A second, structurally identical dropper is shipped as lib/telemetry.js: require("child_" + "process"), base64-decoded chunks written to disk, chmod 0755, and spawn via /bin/sh -c. Destination hostnames are assembled at runtime via .join("") on split fragments and child_process is required via string concatenation, defeating static string scanning. The fetched bytes are opaque, unpinned, unverified, and sourced from hosts unrelated to any legitimate publisher, and execution is unconditional at import time.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T14:35:44Z",
            "sha256": "04845144f2e54662acd3413698e57b4efbbe44c47ddeb3c40c2fcc7383ae572c",
            "import_time": "2026-08-05T15:19:47.176370316Z",
            "id": "IN-MAL-2026-015363",
            "versions": [
                "35.2.8"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-stories

Package

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

Affected ranges

Affected versions

35.*
35.2.8

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-stories/MAL-2026-13018.json"
indicators
{
    "package_integrity": [
        {
            "filename": "bnpl-blocks-stories-35.2.8.tgz",
            "hashes": {
                "sha512_sri": "sha512-oI3c1oeth8bIJoB2rX+oODDZyEljTyfBEqwsW6x2XVcMC1isfJgJyUa9nV64r9dYZSBY3Rz0QGodkTVmVjClfw==",
                "sha1": "a09d4fd9f07914ab52162c5acdce50054925a70e"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "c4b1a6aa16aa70188bb097e4c7178816f65af6633780c1d4f79ca5c45fb312483b1efc",
            "sha256": "1ec864c50808861123b54a0af5a71eb985a7f646e76225f6ef9019418b30281b",
            "path": "_ext.js"
        },
        {
            "tlsh": "eb835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "23186c398a8bc59e3786fef6c42ba7ebbc0ede1f92cf3895523ccce1d7eb8061",
            "path": "lib/telemetry.js"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]