MAL-2026-15815

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cminhouse-api-gateway-nodejs/MAL-2026-15815.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15815
Published
2026-09-02T03:56:59Z
Modified
2026-09-02T04:30:05.676026698Z
Summary
Malicious code in cminhouse-api-gateway-nodejs (npm)
Details

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

Source: amazon-inspector (c42971bbb30a4cb0a1da27be3953339fdbda449e4d10e997aac72212df0a8b1d)

index.js is wired as the package's postinstall script and also runs on require via main. After skipping CI/test/Docker environments (guards on NODEENV=test, CI, JESTWORKER_ID, VITEST, /.dockerenv) and applying a random 5-15 second delay, it walks the installer's home directory and reads SSH private keys (~/.ssh/*), AWS credentials (~/.aws), Azure access tokens (~/.azure), gcloud config (~/.config/gcloud), Kubernetes, Docker, Terraform, GitHub, Vercel, Netlify, Supabase, and Firebase configuration files,.npmrc/.yarnrc,.netrc,.pgpass, database rc files, PyPI/cargo/gem credentials, and a HuggingFace token. It also iterates process.env selecting any variable whose name matches TOKEN/KEY/SECRET/PASSWORD/etc. The collected payload is base64-encoded and POSTed to a hardcoded bare-IP VPS at http://2.26.82.63:8888/collect, and host reconnaissance (username, hostname, platform, arch, cwd, node version) is separately sent to api.telegram.org via a hardcoded bot token and chat id with a '🎯 NEW VICTIM' tag. Sandbox-evasion gating, randomized delay, victim-tagging language, and a bare-IP exfiltration endpoint are all consistent with a targeted supply-chain credential-theft payload.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-09-02T04:23:33.095711427Z",
            "id": "IN-MAL-2026-019325",
            "versions": [
                "999.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-09-02T03:57:15Z",
            "sha256": "aefd4c32579606510c75e36e72893eade4234a559b49acce562cd74f252c432b"
        },
        {
            "import_time": "2026-09-02T04:23:32.875050681Z",
            "source": "amazon-inspector",
            "versions": [
                "999.0.1"
            ],
            "id": "IN-MAL-2026-019323",
            "modified_time": "2026-09-02T03:56:59Z",
            "sha256": "c42971bbb30a4cb0a1da27be3953339fdbda449e4d10e997aac72212df0a8b1d"
        }
    ]
}
References
Credits

Affected packages

npm / cminhouse-api-gateway-nodejs

Package

Name
cminhouse-api-gateway-nodejs
View open source insights on deps.dev
Purl
pkg:npm/cminhouse-api-gateway-nodejs

Affected ranges

Affected versions

999.*
999.0.0
999.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cminhouse-api-gateway-nodejs/MAL-2026-15815.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "6d32688b4db5215a8133f379df2f8007d52ea6a361028e467b2c88d11f79458db91fdc",
            "sha256": "999f8a9c61271524ab9c28c05f23af03617d4c0ea8fc522e2240ae2fea82a4fd"
        }
    ],
    "package_integrity": [
        {
            "filename": "cminhouse-api-gateway-nodejs-999.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-bLU09UytzUTJ1lstlGBzkZgVOXk9qxpu8KQTiRSK+sYNUmBxgCdhhisv5G+DrsBVwHxpLEROh9AjplGjh1tYmg==",
                "sha1": "dd571b3426e60d59398e3005fe34f63b3b3e7617"
            }
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]