Malicious code in internallib_v657 (npm)
Description
Source: amazon-inspector (d61ffc921e9432c8176cc16265daf6add48cf90a4f99ec6bbec173e5109673b1)
index.js exports a command() function that invokes /bin/bash -c to curl a reverse-shell payload from reverse-shell.sh targeted at the hardcoded IP 10.0.73.186:443 and pipes it to sh. Any consumer that requires this package and calls the exported function receives a full interactive remote shell to that address, giving the remote party arbitrary command execution on the installer's host. The package has generic naming, empty metadata, and a cover string, and provides no legitimate functionality alongside the backdoor.
---