MAL-2026-12994

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-image-with-caption/MAL-2026-12994.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12994
Published
2026-08-05T14:39:07Z
Modified
2026-08-05T15:51:33.195920226Z
Summary
Malicious code in bnpl-blocks-mobile-bnpl-image-with-caption (npm)
Details

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

Source: amazon-inspector (7121528633c00058db6cf81904d6d36749557690f33ab60576b708117959a805)

On require() of the package, index.js loads polyfill.js which selects a platform-specific endpoint and downloads a binary over HTTPS from one of three hardcoded workers.dev hosts (oob-worker.cf101-adf.workers.dev and siblings), with a DNS-TXT base64 chunked fallback via sdk.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under a masquerading name (.cache<rand> on POSIX, dotnetdiag<rand>.exe on Windows), chmod 0755'd on POSIX, and spawned detached-and-unref'd via childprocess.spawn("/bin/sh", ["-c", path+" &"]) or spawn("cmd",...). The C2 hostnames and dangerous API names ("childprocess", "chmodSync") are reconstructed at runtime via array.join()/string concatenation to evade static analysis. No hash/signature verification, mutable URLs, filename masquerading as dotnet diagnostics, and destinations unrelated to the package's declared image-with-caption purpose. A sibling lib/telemetry.js reuses the same string-reconstruction anti-analysis shape.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "7121528633c00058db6cf81904d6d36749557690f33ab60576b708117959a805",
            "source": "amazon-inspector",
            "versions": [
                "35.3.6"
            ],
            "import_time": "2026-08-05T15:19:48.606830839Z",
            "modified_time": "2026-08-05T14:39:07Z",
            "id": "IN-MAL-2026-015386"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-mobile-bnpl-image-with-caption

Package

Name
bnpl-blocks-mobile-bnpl-image-with-caption
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-mobile-bnpl-image-with-caption

Affected ranges

Affected versions

35.*
35.3.6

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "84759338fea7a50777f725f454b985f47886666e",
                "sha512_sri": "sha512-D2rVqhiOKRmwykKHBefxkXCSkVpeIVqrev9KVQw9cWdeCzpNxQ+57KLzIoMyQL6YoUqKSLuJb4p7Tvs2zTn4mg=="
            },
            "filename": "bnpl-blocks-mobile-bnpl-image-with-caption-35.3.6.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_polyfill.js",
            "sha256": "952df818bc3d0c52bc25ac877e24aa6c1ecc98ae372be462f686d63de0698ddc",
            "tlsh": "67b1b7a6166770184b71dbf1c2075415f65bf6632681c284fb9ca5881fb3124c2f2efc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-image-with-caption/MAL-2026-12994.json"