@sudobility/shaperouter_client
Affected
- Versions:
0.0.14
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-x7g4-jh5c-33xr
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @sudobility/shaperouter_client (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (bebe636755cc09ce542fb69853676ec9b9cc46752d88265037cc4d4a1487e503)
The package declares a postinstall hook sh scripts/miner.sh that fetches a gzipped payload from amplify-gursha-dev-121835-deployment.s3.amazonaws.com using a presigned URL (embedded AWS access key id <redacted>), decompresses it to /tmp/.smi, extracts an embedded base64+tar XMRig binary, writes a miner configuration to $HOME/.sysmond.json targeting the Monero pool networkservicesupp.flashhub.net:8443, places the binary at $HOME/.local/lib/<stealth-name>/<stealth-name> using a system-component-like randomized name, and launches it via nohup. When the installer is root or passwordless sudo is available, the same script runs the downloaded /tmp/.smi with an agent subcommand under elevated privileges, which (per the script's own comments) installs persistent components via cron and a relay/tor channel. The script contains a hardcoded AWS access key id used to authenticate the S3 fetch.
Source: ghsa-malware (9f55e9e232d5de07409dfae643bc8bcf7b8b3d7bc4199737b30b2515a72d9c28)
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.14None 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