MAL-2026-12725

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-nx-pvm/MAL-2026-12725.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12725
Published
2026-08-05T13:50:22Z
Modified
2026-08-05T14:36:43.226134733Z
Summary
Malicious code in devplatform-nx-pvm (npm)
Details

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

Source: amazon-inspector (58df39bb6ab40bc06f0c7db6a10753e81979cae9692633b51a33089ff6d28aa4)

On require() of devplatform-nx-pvm, compat.js fetches a platform-specific binary over HTTPS from hardcoded hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), writes it to /tmp or %TEMP% under a disguised filename (.cache<hex> on Unix, dotnetdiag<hex>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh or cmd. The C2 hostnames are assembled from split string arrays (e.g. ["oob-worker.cf100-416.work","ers.dev"].join("")) to evade static scanners, and a cover file named analytics_state is used as a run marker. If the HTTPS fetches fail, the code falls back to a DNS TXT covert channel against sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru and net.dl.wel1.ru, retrieving a chunk count from c.<domain> and base64-encoded payload chunks from N.<domain>, concatenating and decoding them, then executing the resulting binary. The dropper is skipped when specific telemetry opt-out environment variables are set, further indicating stealth. The package presents itself as a trivial library shim, and index.js unconditionally requires _compat, so installing and importing the package auto-executes the attacker-controlled binary on the installer's machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T13:50:22Z",
            "id": "IN-MAL-2026-015060",
            "import_time": "2026-08-05T14:19:57.736293785Z",
            "sha256": "58df39bb6ab40bc06f0c7db6a10753e81979cae9692633b51a33089ff6d28aa4",
            "versions": [
                "35.2.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-nx-pvm

Package

Affected ranges

Affected versions

35.*
35.2.9

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "devplatform-nx-pvm-35.2.9.tgz",
            "hashes": {
                "sha512_sri": "sha512-fl39yOtoe7y0hbecY7h9jB3NOObTnMhkHT+rB4IP5rjuGIFFAAjonB1fFK7NwXpeZ1uTaXLIu+xkdVBsXP4Fzw==",
                "sha1": "5a597f4dc9f474aec3fb8ed423262a4cc94b2060"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "02a1a75a266a71184b70e7f1c717441af657f66333808288fb9c94981f7356483b2efc",
            "sha256": "007c7d13a0f5157d7c163701b3e31b1750df56b0e134b203e55e1ae8b927b521",
            "path": "_compat.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-nx-pvm/MAL-2026-12725.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]