{"id":"GHSA-5ff7-5w72-hm63","kind":"package","aliases":["GHSA-5ff7-5w72-hm63","MAL-2026-18130"],"related":[],"title":"Malicious code in @sudobility/wildduck_client (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a4524dc6ef26909f4ddfaf83eae1ec13495a5b2aef57375c0a8d8ad4c0609637)\nThe package declares a postinstall hook that executes scripts/miner.sh on npm install. The script fetches a gzipped payload from a presigned AWS S3 URL (amplify-gursha-dev-121835-deployment.s3.amazonaws.com) using a hardcoded AWSAccessKeyId (<redacted>), writes it to /tmp/.smh, decompresses to /tmp/.smi, and executes it. When root or passwordless sudo is available, it launches `sh /tmp/.smi agent` with elevated privileges to install a persistent agent (cron plus relay/tor) under stealth system-component process names. Without root, it extracts an embedded base64/tar XMRig binary, writes a mining configuration to ~/.sysmond.json pointing at the pool networkservicesupp.flashhub.net:8443 with a hardcoded wallet, copies the miner to ~/.local/lib/<stealth-name>/<stealth-name>, and launches it via nohup. The package is published under a WildDuck email-client identity that does not correspond to the behavior shipped in the install script.\n\n## Source: ghsa-malware (02f525da4c4c8ee5f075a0331435ead2dd17b0ce972b32506ec7dafbf358867b)\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/wildduck_client","fixed":[],"affected":"= 2.3.102","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-21T22:21:01+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":"'-18130':13A '-2026':12A '/.local/lib':133C '/.sysmond.json':119C '/tmp/.smh':68C '/tmp/.smi':71C,85C '02f525da4c4c8ee5f075a0331435ead2dd17b0ce972b32506ec7dafbf358867b':166C '5ff7':8A,16A '5w72':9A,17A 'a4524dc6ef26909f4ddfaf83eae1ec13495a5b2aef57375c0a8d8ad4c0609637':35C 'agent':86C,94C 'amazon':33C 'amazon-inspector':32C 'amplify-gursha-dev-121835-deployment.s3.amazonaws.com':60C 'avail':81C 'aw':57C 'awsaccesskeyid':64C 'base64/tar':111C 'behavior':156C 'binari':113C 'client':148C 'code':2A 'compon':102C 'compromis':180C 'comput':168C,188C,196C,208C 'configur':117C 'consid':178C 'control':205C 'copi':129C 'correspond':153C 'cron':95C 'declar':38C 'decompress':69C 'detail':24C 'differ':195C 'edit':27C 'elev':88C 'email':147C 'email-cli':146C 'embed':110C 'entiti':216C 'execut':43C,73C 'extract':108C 'fetch':50C 'full':204C 'fulli':179C 'ghsa':7A,15A,164C 'ghsa-5ff7-5w72-hm63':6A,14A 'ghsa-malwar':163C 'given':212C 'guarante':220C 'gzip':52C 'hardcod':63C,127C 'hm63':10A,18A 'hook':41C 'ident':149C 'immedi':192C 'inspector':34C 'instal':47C,91C,160C,173C,232C 'key':184C 'launch':83C,135C 'line':30C 'mal':11A 'malici':1A,20B,228C 'malwar':165C 'may':209C 'mine':116C 'miner':131C 'name':104C 'networkservicesupp.flashhub.net:8443':124C 'nohup':138C 'npm':5A,46C 'outsid':215C 'packag':21B,37C,140C,172C,198C,224C 'passwordless':78C 'payload':53C 'per':22C 'persist':93C 'plus':96C 'point':120C 'pool':123C 'postinstal':40C 'presign':56C 'privileg':89C 'process':103C 'publish':142C 'relay/tor':97C 'remov':201C,222C,226C 'result':230C 'root':76C,106C 'rotat':191C 'run':175C 's3':58C 'script':49C,161C 'scripts/miner.sh':44C 'secret':182C 'sh':84C 'ship':157C 'softwar':229C 'sourc':23C,31C,162C 'stealth':99C 'store':185C 'sudo':79C 'sudobility/wildduck_client':4A,19A 'system':101C 'system-compon':100C 'url':59C 'use':61C 'via':137C 'wallet':128C 'wildduck':145C 'without':105C 'write':65C,114C 'xmrig':112C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-21T22:21:01+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18130","url":"https://osv.dev/vulnerability/MAL-2026-18130","severity":"critical","published_at":"2026-10-21T22:21:01+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"}