Skip to main content
Menu
Advisories

Malicious code in @ruaxbonz/tooltreovip (npm)

GHSA-9GX6-6372-9MWGPublished Updated GitHubMalware

Description

Source: amazon-inspector (8569f35e52e1d4c854185b6382e6b2c23d35b60de686655efb1c92bf8ef5dcb5)

bin/cli.js implements a command-and-control agent that polls ruaxbonz.com/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 ruaxbonz.com/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.

---

Credit: OpenSSF (source)

Affected versions

References