@sudobility/testomniac_client
Affected
- Versions:
0.0.131
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-g7cj-274j-rxqw
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @sudobility/testomniac_client (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (42a9a6e0fb008dcc30d7f8a1c7f60a0dc47a941d2790d211cce968bb6726ced3)
The package declares a postinstall hook that executes scripts/miner.sh on every npm install. The script downloads a gzip payload from amplify-gursha-dev-121835-deployment.s3.amazonaws.com (using an embedded AWS access key <redacted> and a signed URL), writes it to /tmp/.smh / /tmp/.smi, and either executes it as a persistent agent via passwordless sudo or extracts a bundled bin/miner-linux-amd64 binary and launches it under a randomized system-component-like process name using nohup. The agent branch is described in the script as installing stealth-renamed persistence with cron and a relay/tor channel, and the miner is configured to connect to the XMRig pool at networkservicesupp.flashhub.net:8443 with a hardcoded Monero wallet. The package's advertised purpose is a TanStack Query client, which is unrelated to any of this behavior. All of the above executes automatically as root (when passwordless sudo is available) or as the installing user on a default npm install.
Source: ghsa-malware (886874212722d4e496a191cbce889014b1ebf7f993185986427a8336f4687197)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0.0.131None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0