MAL-2026-13275

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

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

Source: amazon-inspector (2629721fa3107222cef1f1669d474e7b3b45346ed87a455a168c1d199d9c6492)

devplatform-zod-wip-api@35.9.3 is a typosquat/lookalike of the zod ecosystem that acts as an import-time dropper. index.js unconditionally requires./vendor on load; vendor.js runs at module load, reassembles a C2 hostname from split string fragments (oob-worker.cf99-9b3.workers.dev) with a DNS-TXT-record fallback to sdk.dl.wel1.ru, fetches a platform-specific native binary over HTTPS, writes it to /var/tmp/.cache<uid> on Unix or %TEMP%\dotnetdiag<uid>.exe on Windows, chmods it 0755, and detached-spawns it via /bin/sh -c "<path> &" or cmd start /b. There is no signature or hash verification of the fetched bytes. A marker file at.analyticsstate/analyticsstate gates re-execution to roughly a 6-hour interval. A second parallel dropper implementation is shipped in lib/telemetry.js (assembles base64 chunks over DNS TXT, writes an 'extension' file, chmods 755, spawns /bin/sh). Hostname reassembly via.join(''), split-string obfuscation of DNS resolvers, and hidden filenames masquerading as OS cache/diagnostics files (.cache, dotnetdiag) indicate deliberate evasion rather than telemetry. On any require() of this package, arbitrary attacker-controlled native code executes on the installer's host.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T15:28:50Z",
            "id": "IN-MAL-2026-015714",
            "import_time": "2026-08-05T16:13:35.380306343Z",
            "versions": [
                "35.9.3"
            ],
            "source": "amazon-inspector",
            "sha256": "2629721fa3107222cef1f1669d474e7b3b45346ed87a455a168c1d199d9c6492"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-zod-wip-api

Package

Name
devplatform-zod-wip-api
View open source insights on deps.dev
Purl
pkg:npm/devplatform-zod-wip-api

Affected ranges

Affected versions

35.*
35.9.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-zod-wip-api/MAL-2026-13275.json"
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-5L8zaKL4eIMnGVO3EpvC47qllc34+9yfQ8dYkpbvGwD31+huplFCn04nEKCe4J0/W6sk0xX4VgOvQFSbOeRGsA==",
                "sha1": "cc196d9cf6af92be3638fe2fd79e0abe17a80305"
            },
            "filename": "devplatform-zod-wip-api-35.9.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_vendor.js",
            "tlsh": "dfa1635a16a670194bb0d7e487174416f65bf6a33380c694fb9ca9940f7362483b2efc",
            "sha256": "9ef40e31d9244064ef8c92a6d33f38fe6bfcf724a449033522aac18b3a2d2da1"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "de835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "29e987cbfdc0a7d02e3256d253afb82cdfe5bb8db5983d60edcea4c03f05ffb5"
        }
    ]
}