Malicious package · npm
Malicious code in @ruaxbonz/tooltreovip (npm)
1.0.1No safe version. Remove it.What it does
bin/cli.js implements a command-and-control agent that polls https://ruaxbonz.com:8765/ping in an infinite loop and executes attacker-chosen tasks on the host. One supported action passes a server-supplied payload.command string directly to child_process.execSync, yielding unrestricted remote code execution for whoever controls ruaxbonz.com. The agent also captures full-screen PNG screenshots (screencap -p), reads host identifiers (os.hostname(), battery, a generated deviceId), and POSTs command output and base64-encoded screenshots to https://ruaxbonz.com:8765/result. The channel has no pairing, authentication, or caller opt-in; the destination is hardcoded (REMOTE_SERVER env override only). The agent starts whenever the tooltreovip bin or npm start is run, giving the operator of ruaxbonz.com persistent full-host RCE and continuous host/screen exfiltration on any machine that runs the CLI.
No fix · Remove and contain
npm uninstall @ruaxbonz/tooltreovipSources