{"id":"GHSA-x7g4-jh5c-33xr","kind":"package","aliases":["GHSA-x7g4-jh5c-33xr","MAL-2026-18128"],"related":[],"title":"Malicious code in @sudobility/shaperouter_client (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bebe636755cc09ce542fb69853676ec9b9cc46752d88265037cc4d4a1487e503)\nThe 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.\n\n## Source: ghsa-malware (9f55e9e232d5de07409dfae643bc8bcf7b8b3d7bc4199737b30b2515a72d9c28)\nAny 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.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"@sudobility/shaperouter_client","fixed":[],"affected":"= 0.0.14","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-21T22:20:51+00:00","first_seen_at":"2026-10-26T20:51:49+00:00","triaged_at":"2026-10-26T20:59:55+00:00","updated_at":"2026-10-26T21:05:48+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-18128':13A '-2026':12A '/tmp/.smi':63C,116C '33xr':10A,18A '9f55e9e232d5de07409dfae643bc8bcf7b8b3d7bc4199737b30b2515a72d9c28':159C 'access':57C,146C 'agent':119C 'amazon':33C 'amazon-inspector':32C 'amplify-gursha-dev-121835-deployment.s3.amazonaws.com':50C 'authent':151C 'avail':109C 'aw':56C,145C 'base64':67C 'bebe636755cc09ce542fb69853676ec9b9cc46752d88265037cc4d4a1487e503':35C 'binari':70C,84C 'channel':139C 'code':2A 'comment':130C 'compon':91C,133C 'compromis':173C 'comput':161C,181C,189C,201C 'configur':74C 'consid':171C 'contain':142C 'control':198C 'cron':135C 'declar':38C 'decompress':60C 'detail':24C 'differ':188C 'download':115C 'edit':27C 'elev':122C 'embed':55C,66C 'entiti':209C 'extract':64C 'fetch':45C,154C 'full':197C 'fulli':172C 'ghsa':7A,15A,157C 'ghsa-malwar':156C 'ghsa-x7g4-jh5c-33xr':6A,14A 'given':205C 'guarante':213C 'gzip':47C 'hardcod':144C 'home/.local/lib':86C 'home/.sysmond.json':76C 'hook':41C 'id':59C,148C 'immedi':185C 'inspector':34C 'instal':102C,131C,166C,225C 'jh5c':9A,17A 'key':58C,147C,177C 'launch':96C 'like':92C 'line':30C 'mal':11A 'malici':1A,20B,221C 'malwar':158C 'may':202C 'miner':73C 'monero':79C 'name':94C 'networkservicesupp.flashhub.net:8443':81C 'nohup':99C 'npm':5A 'outsid':208C 'packag':21B,37C,165C,191C,217C 'passwordless':106C 'payload':48C 'per':22C,125C 'persist':132C 'place':82C 'pool':80C 'postinstal':40C 'presign':53C 'privileg':123C 'random':93C 'relay/tor':138C 'remov':194C,215C,219C 'result':223C 'root':104C 'rotat':184C 'run':113C,168C 's3':153C 'script':112C,127C,141C 'scripts/miner.sh':43C 'secret':175C 'sh':42C 'softwar':222C 'sourc':23C,31C,155C 'store':178C 'subcommand':120C 'sudo':107C 'sudobility/shaperouter_client':4A,19A 'system':90C 'system-component-lik':89C 'tar':68C 'target':77C 'url':54C 'use':51C,87C,149C 'via':98C,134C 'write':71C 'x7g4':8A,16A 'xmrig':69C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-21T22:20:51+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18128","url":"https://osv.dev/vulnerability/MAL-2026-18128","severity":"critical","published_at":"2026-10-21T22:20:51+00:00","modified_at":"2026-10-22T16:45:28+00:00","first_seen_at":"2026-10-26T20:51:49+00:00","fetched_at":"2026-10-26T20:51:49+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}