MAL-2026-12177

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devpack-conf/MAL-2026-12177.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12177
Published
2026-08-05T08:49:50Z
Modified
2026-08-05T10:06:08.210095471Z
Summary
Malicious code in devpack-conf (npm)
Details

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

Source: amazon-inspector (fabc4baeb912d72d08ef42d8b6b5e147b1f7dc18fc01e796bc6ac17f1c7dff68)

devpack-conf@5.0.0 is a typosquat of pkg-conf. index.js contains a top-level eval(atob(...)) that decodes an obfuscated loader. The loader queries Ethereum RPC/blockscout endpoints for transactions from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, extracts an IPv4 address from the transaction's to field, fetches an XOR-encoded payload from http://<resolved-ip>:443/0x/cls and /0x/ls (XOR key delivered via the x-payload-b64 response header), eval()s the decrypted payload, and spawns a detached node -e <payload> child process with stdio:'ignore' and windowsHide:true. Sensitive strings (http, https, child_process, spawn, endpoint paths) are hidden behind \u unicode escapes. The malicious code executes automatically at require/import time on any consumer of the package.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T08:49:50Z",
            "sha256": "fabc4baeb912d72d08ef42d8b6b5e147b1f7dc18fc01e796bc6ac17f1c7dff68",
            "import_time": "2026-08-05T09:28:10.642709711Z",
            "id": "IN-MAL-2026-014434",
            "versions": [
                "5.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devpack-conf

Package

Affected ranges

Affected versions

5.*
5.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "devpack-conf-5.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-G4bcVVD0T3ZxhG4fH1O+Yh1QsHJhsaEzbk4iusUENg1YmWiDgBzeHGqVg6CBthMHLdWycIuUEc34Pv3hOI3ZBA==",
                "sha1": "2f3d7eccc5f76ce2479eeed9c446aef3fc6e0ea0"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "37522eaa4692bb9bcb1b2673fc87570d237840b67a9c2b45310fd874b389c55748e60f",
            "sha256": "ac54ffef7ef6d8f59e47a0983c974f35e64f7550e14e1a91d0f1a06610f1252a",
            "path": "index.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devpack-conf/MAL-2026-12177.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]