{"id":"GHSA-xfvr-39v2-q24q","kind":"package","aliases":["GHSA-xfvr-39v2-q24q","MAL-2026-18127"],"related":[],"title":"Malicious code in @sudobility/indexer_client (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b374713629b9be645f22b21fab5376e57a55d3001c72a1e55e1e8dfb6e40a27b)\nThe package's postinstall hook executes scripts/miner.sh, which uses curl to download a gzipped payload from https://amplify-gursha-dev-121835-deployment.s3.amazonaws.com/ (a presigned S3 URL embedding AWSAccessKeyId <redacted>), decompresses it to /tmp/.smi, and runs it. When executed as root or when passwordless sudo is available, it invokes `/tmp/.smi agent` with elevated privileges to perform a persistent agent install (the script's own comments reference stealth renames, cron, and tor/relay components). In the unprivileged branch it extracts an embedded XMRig binary, writes a hardcoded Monero pool configuration to $HOME/.sysmond.json, copies the binary into $HOME/.local/lib/ under a randomized system-component name drawn from a list including edid-mon, smmon, irqstatsd, and kmod-cache, and launches it via nohup in the background. A second attacker-controlled endpoint networkservicesupp.flashhub.net:8443 is referenced for relay/C2. The S3 URL also exposes a third-party AWS access key as an IOC.\n\n## Source: ghsa-malware (5a43ad883ba6263301ef81f0542c032a5ee45d5c85017db602cd5512bf98358d)\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/indexer_client","fixed":[],"affected":"= 0.0.146","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-21T22:21:08+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":"'-18127':13A '-2026':12A '/tmp/.smi':62C,78C '39v2':9A,17A '5a43ad883ba6263301ef81f0542c032a5ee45d5c85017db602cd5512bf98358d':183C 'access':174C 'agent':79C,87C 'also':167C 'amazon':33C 'amazon-inspector':32C 'amplify-gursha-dev-121835-deployment.s3.amazonaws.com':52C 'attack':156C 'attacker-control':155C 'avail':75C 'aw':173C 'awsaccesskeyid':58C 'b374713629b9be645f22b21fab5376e57a55d3001c72a1e55e1e8dfb6e40a27b':35C 'background':152C 'binari':110C,121C 'branch':104C 'cach':144C 'code':2A 'comment':93C 'compon':100C,129C 'compromis':197C 'comput':185C,205C,213C,225C 'configur':116C 'consid':195C 'control':157C,222C 'copi':119C 'cron':97C 'curl':45C 'decompress':59C 'detail':24C 'differ':212C 'download':47C 'drawn':131C 'edid':137C 'edid-mon':136C 'edit':27C 'elev':81C 'embed':57C,108C 'endpoint':158C 'entiti':233C 'execut':41C,67C 'expos':168C 'extract':106C 'full':221C 'fulli':196C 'ghsa':7A,15A,181C 'ghsa-malwar':180C 'ghsa-xfvr-39v2-q24q':6A,14A 'given':229C 'guarante':237C 'gzip':49C 'hardcod':113C 'home/.local/lib':123C 'home/.sysmond.json':118C 'hook':40C 'immedi':209C 'includ':135C 'inspector':34C 'instal':88C,190C,249C 'invok':77C 'ioc':178C 'irqstatsd':140C 'key':175C,201C 'kmod':143C 'kmod-cach':142C 'launch':146C 'line':30C 'list':134C 'mal':11A 'malici':1A,20B,245C 'malwar':182C 'may':226C 'mon':138C 'monero':114C 'name':130C 'networkservicesupp.flashhub.net:8443':159C 'nohup':149C 'npm':5A 'outsid':232C 'packag':21B,37C,189C,215C,241C 'parti':172C 'passwordless':72C 'payload':50C 'per':22C 'perform':84C 'persist':86C 'pool':115C 'postinstal':39C 'presign':54C 'privileg':82C 'q24q':10A,18A 'random':126C 'refer':94C 'referenc':161C 'relay/c2':163C 'remov':218C,239C,243C 'renam':96C 'result':247C 'root':69C 'rotat':208C 'run':64C,192C 's3':55C,165C 'script':90C 'scripts/miner.sh':42C 'second':154C 'secret':199C 'smmon':139C 'softwar':246C 'sourc':23C,31C,179C 'stealth':95C 'store':202C 'sudo':73C 'sudobility/indexer_client':4A,19A 'system':128C 'system-compon':127C 'third':171C 'third-parti':170C 'tor/relay':99C 'unprivileg':103C 'url':56C,166C 'use':44C 'via':148C 'write':111C 'xfvr':8A,16A 'xmrig':109C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-21T22:21:08+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18127","url":"https://osv.dev/vulnerability/MAL-2026-18127","severity":"critical","published_at":"2026-10-21T22:21:08+00:00","modified_at":"2026-10-22T16:45:38+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"}