MAL-2026-12701

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-cli-plugin-generator/MAL-2026-12701.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12701
Published
2026-08-05T13:51:00Z
Modified
2026-08-05T14:36:31.548398237Z
Summary
Malicious code in devplatform-cli-plugin-generator (npm)
Details

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

Source: amazon-inspector (e369efa925874a9e8d5b883567522eb39e0284122294d62a92358b0b937f256f)

On require() of the package, index.js loads bootstrap.js, which reconstructs a list of Cloudflare Workers hostnames from split string fragments (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev) and a DNS-TXT chunked-base64 fallback under *.dl.wel1.ru, downloads a platform-specific binary from these non-publisher hosts with no hash or signature verification, writes it to /var/tmp or %TEMP% under cover-story names (dotnetdiag<hex>.exe,.cache<hex>), chmods it 0o755, and spawns it detached in the background via cp.spawn("/bin/sh", ["-c", fp+" &"], {detached:true}) or the Windows cmd equivalent. A second file, lib/telemetry.js (81 KB), bundles the same dropper primitives under an "Analytics SDK" cover story with additional obfuscation (require("child_"+"process"), fs["chmod"+"Sync"], base64-chunk assembly), extending the attack surface. Split-string reconstruction of hostnames and API names is anti-analysis obfuscation inconsistent with legitimate telemetry, which places endpoints in plain configuration.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T13:51:00Z",
            "source": "amazon-inspector",
            "sha256": "e369efa925874a9e8d5b883567522eb39e0284122294d62a92358b0b937f256f",
            "import_time": "2026-08-05T14:19:58.152519482Z",
            "id": "IN-MAL-2026-015064",
            "versions": [
                "35.3.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-cli-plugin-generator

Package

Name
devplatform-cli-plugin-generator
View open source insights on deps.dev
Purl
pkg:npm/devplatform-cli-plugin-generator

Affected ranges

Affected versions

35.*
35.3.5

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "devplatform-cli-plugin-generator-35.3.5.tgz",
            "hashes": {
                "sha512_sri": "sha512-Zp2Ny3fAo7JmrMGWCThDO13hXXxG1jzmApvFngq2LqmGX8JCem9vvSruAGA00oxw7TXPkehGzHaBrKS+tavW3A==",
                "sha1": "8e8cd3f1342d71959d1ce37a75099212c9fd97d7"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "d6a1a89a167670094bb09be4cb174416f65bf6633780c298fb5ca5981f7312483b2efc",
            "sha256": "355fba3248f32317eb1e41e9afcc40fcd2ca821341dc8b78a6c6524b8e657801",
            "path": "_bootstrap.js"
        },
        {
            "tlsh": "aa835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "8ffb3801d9ba0e6f3da7a37fab5ff184e4ccae7a3f3d5bb2477e88598590a0a6",
            "path": "lib/telemetry.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-cli-plugin-generator/MAL-2026-12701.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]