MAL-2026-13271

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-utils/MAL-2026-13271.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13271
Published
2026-08-05T15:30:06Z
Modified
2026-08-05T16:50:27.121998894Z
Summary
Malicious code in devplatform-utils (npm)
Details

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

Source: amazon-inspector (0244bc7396ea5f52d909130a7d685fee98c0dda29cb18b82d17e8c9c90dff552)

devplatform-utils@35.5.2 ships an index.js whose main module require()s bootstrap.js, which on load downloads a platform-specific binary payload from string-split-obfuscated Cloudflare Workers endpoints (e.g. oob-worker.cf103-070.workers.dev) with a DNS-TXT fallback via *.dl.wel1.ru. The payload is written to /var/tmp/.cache<hex> on Unix or %TEMP%\dotnetdiag<hex>.exe on Windows, chmod 0755'd, and spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. Destination hostnames are assembled at runtime by.join('') on fragmented string arrays (NODES, DNSMAP) to evade static string scans, and the dropped file is given cover-story names (dotnetdiag_*,.cache_*,.analyticsstate). A rate-limit token stored at /tmp/.analyticsstate (EXPIRESEC=21227, ~5.9 hours) causes the remote binary to be re-fetched and re-executed on subsequent require() calls, providing a persistent operator-controlled code-delivery channel. Environment variables DISABLETELEMETRY / DONOTTRACK are checked as a cover story consistent with a legitimate telemetry opt-out. No hash or signature verification is performed on the fetched binary.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015723",
            "import_time": "2026-08-05T16:13:36.369794311Z",
            "sha256": "0244bc7396ea5f52d909130a7d685fee98c0dda29cb18b82d17e8c9c90dff552",
            "modified_time": "2026-08-05T15:30:06Z",
            "versions": [
                "35.5.2"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-utils

Package

Affected ranges

Affected versions

35.*
35.5.2

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-BnxM9rPzvIpCaNBFjymK6G9ly1AsxVUdQiRj0DOmaEh6R0rjmTgH79HW5orK8s6AbPVrJATF9i4CscOFFdzcJg==",
                "sha1": "68a37b07b006a7df2a38b1f411828f93c5ee428a"
            },
            "filename": "devplatform-utils-35.5.2.tgz"
        }
    ],
    "evidence_files": [
        {
            "sha256": "7af943d337837f8483f0c3c1d4c623fa9eeb6348e90bf40d147d1d6995598d20",
            "path": "_bootstrap.js",
            "tlsh": "19b1845a16a670188f7097e0c71b9816f65af56337818184f79c65988fb352483b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-utils/MAL-2026-13271.json"