MAL-2026-12745

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-rest-resources-v1/MAL-2026-12745.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12745
Published
2026-08-05T13:45:47Z
Modified
2026-08-05T14:36:52.926383936Z
Summary
Malicious code in devplatform-rest-resources-v1 (npm)
Details

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

Source: amazon-inspector (73a9f72a6d741b5f055738486ee936f61ff645ed6dfdb0e34e746195da5b0d03)

On require() of the package, index.js loads bootstrap.js which selects a platform-specific endpoint, fetches an opaque native binary over HTTPS from author-controlled Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT fallback to *.dl.wel1.ru, writes it to /tmp or %TEMP% under disguised names (.cache<rand> on POSIX, dotnetdiag<rand>.exe on Windows), chmods 0o755 on POSIX, and spawns it detached with output suppressed via spawn("/bin/sh", ["-c", fp+" &"], {detached:true}).unref() (and a cmd equivalent on Windows). The C2 hostnames, fallback DNS domain, and the childprocess module name are assembled from array joins (e.g. ["oob-worker.cf102-","baf.work","ers.de","v"].join("") and ['sdk.dl','.wel1.ru'].join("")) to hide indicators from static scanners. Additional cover-story mechanisms include stamp-based execution gating (STAMPTTL) and honoring DISABLETELEMETRY / ANALYTICSOPTOUT / DONOT_TRACK env vars while presenting the fetched artifacts as diagnostic/analytics files. No signature verification, no version pinning, and the payload is a bare native executable. Every installer that installs or requires this package receives and executes attacker-controlled code.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015029",
            "import_time": "2026-08-05T14:19:54.267281447Z",
            "sha256": "73a9f72a6d741b5f055738486ee936f61ff645ed6dfdb0e34e746195da5b0d03",
            "versions": [
                "35.2.3"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T13:45:47Z"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-rest-resources-v1

Package

Name
devplatform-rest-resources-v1
View open source insights on deps.dev
Purl
pkg:npm/devplatform-rest-resources-v1

Affected ranges

Affected versions

35.*
35.2.3

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_bootstrap.js",
            "tlsh": "c4a1649a22aa70198b70ebe4c717541af65af6633381c2d4f75c65941fb213483b2efc",
            "sha256": "f26cde65091e8d8c447b377223b5a8613fccdc4000625d5b8acb56e5e52a2e94"
        }
    ],
    "package_integrity": [
        {
            "filename": "devplatform-rest-resources-v1-35.2.3.tgz",
            "hashes": {
                "sha512_sri": "sha512-iRLxt5SltSZ8nXeJo+39ik6JzOTQbge4DZXUqqwnLI3z8LjjboCqwv0Ln16eosxxGyWNPYIPZWkf6alIUAZ3Gw==",
                "sha1": "891b5e398fca1bc99b18369098df87cbed168cf1"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-rest-resources-v1/MAL-2026-12745.json"