MAL-2026-12711

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

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

Source: amazon-inspector (03e653399f20fec2b4b40c7c8921090939a1205110d866d23e4b605802cbc75d)

On require() of devplatform-hooks, index.js loads init.js, which selects a platform-specific payload URL and fetches an executable from obfuscated Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev). The destination hostnames are assembled at runtime from split string fragments joined together to evade static inspection. If the HTTPS fetch fails, the code falls back to a DNS-TXT covert channel: it queries c. under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru for a chunk count, iteratively resolves N. TXT records, concatenates and base64-decodes the responses into a binary. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (.cache, dotnet_diag_.exe), chmod 0755, then executed detached via cp.spawn("/bin/sh", ["-c", path+" &"], {detached:true}) or the Windows equivalent. The package name, the obfuscation of destinations, the DNS-TXT covert transport, the disguised drop paths, and the detached execution together constitute a remote code execution dropper triggered on any install or import of this package.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015067",
            "import_time": "2026-08-05T14:19:58.472657149Z",
            "modified_time": "2026-08-05T13:51:25Z",
            "sha256": "03e653399f20fec2b4b40c7c8921090939a1205110d866d23e4b605802cbc75d",
            "source": "amazon-inspector",
            "versions": [
                "35.2.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-hooks

Package

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

Affected ranges

Affected versions

35.*
35.2.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_init.js",
            "sha256": "2106a60737eb38f35a9c0ac801ef3026c95b1be0199ea73e82add7991816ad44",
            "tlsh": "c4a1959a16a6701c8bb097f4c6175415f65be6633780c2d4fb9ca9981f7312482b2efc"
        }
    ],
    "package_integrity": [
        {
            "filename": "devplatform-hooks-35.2.1.tgz",
            "hashes": {
                "sha1": "b3dc3d630ac927ff3f7343a896414152839703b4",
                "sha512_sri": "sha512-pj0zToAaJlKcdb2riYQz3NK1etjilwXd9S0tueYXNGhIqYB0nPlNQ+vb9O+l9QWJ5Ork+rCVuEpwj3uW47WrCg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-hooks/MAL-2026-12711.json"