# GHSA-VHV8-CMRM-5FPR: Malicious code in @sudobility/wildduck\_client (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-22
- Modified: 2026-10-22

## Affected versions

- @sudobility/wildduck\_client (npm): 2.3.102

## Description

## Source: amazon-inspector (a4524dc6ef26909f4ddfaf83eae1ec13495a5b2aef57375c0a8d8ad4c0609637)
The 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e4cf5c2f85ea1249db64cc275e6f1cfef21d6025/osv/malicious/npm/@sudobility/wildduck_client/MAL-2026-18130.json))

## References

- https://github.com/ossf/malicious-packages/blob/e4cf5c2f85ea1249db64cc275e6f1cfef21d6025/osv/malicious/npm/@sudobility/wildduck_client/MAL-2026-18130.json
- https://www.npmjs.com/package/@sudobility/wildduck_client/v/2.3.102
- https://github.com/advisories/GHSA-vhv8-cmrm-5fpr

Page: https://cve.now/GHSA-VHV8-CMRM-5FPR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
