@sudobility/testomniac_client — install-time XMRig cryptominer
npm package @sudobility/[email protected] runs a Monero (XMRig) cryptominer from its postinstall hook via a bundled non-JavaScript shell script.
@sudobility/testomniac_client publishes a complete, legitimate-looking React-hooks client library, but its package.json declares "postinstall": "sh scripts/miner.sh". On install the bundled shell script downloads an encrypted carrier from an attacker-controlled Amazon S3 bucket, extracts a Linux XMRig binary, writes a mining configuration, and launches it in the background under a randomised system-component-like process name.
The script is idempotent and stealthy: it skips if a miner is already connected to the pool (checks /proc/net/tcp for port 8443), takes a full persistent-agent path when it has root or passwordless sudo, and otherwise runs the miner directly from the user's home directory. The mined currency is Monero; the wallet, pool and S3 carrier are identical across the @sudobility/*_client family.
postinstall: sh scripts/miner.shscripts/miner.sh — sha256 50df05975352cfa4558892d0a9ab493744c8ddd40948efa6755bb11dc5050118amplify-gursha-dev-121835-deployment.s3.amazonaws.com · object cloud-backend-cache-20261019.gz · AWS key id AKIAUHL4Y2TJZ7L7AE3Fnetworkservicesupp.flashhub.net:8443 (TLS, RandomX rx/0)49u1mKb1dNoMixgRHt11Ra32D1w4hviUuRDbaJhXFwXUjQP4FiHsSjnDa7XZepDUW1Tx6HhR6gFwWgbuwNxby4UAMiqxieX$HOME/.sysmond.json (miner config), $HOME/.local/lib/<stealth>/<stealth> (miner binary), /tmp/.sysmond.lock, /tmp/.smh, /tmp/.smi8443 (hex 20FB in /proc/net/tcp)Corroborated by MAL-2026-18129 in OSV. Detected independently by codelake Research during automated supply-chain scanning.