MAL-2026-18130

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sudobility/wildduck_client/MAL-2026-18130.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18130
Published
2026-10-21T22:21:01Z
Modified
2026-10-21T22:45:05Z
Summary
Malicious code in @sudobility/wildduck_client (npm)
Details

-= Per source details. Do not edit below this line.=-

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 (), 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//, 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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021560",
            "import_time":  "2026-10-21T22:41:19.995896222Z",
            "modified_time":  "2026-10-21T22:21:01Z",
            "sha256":  "a4524dc6ef26909f4ddfaf83eae1ec13495a5b2aef57375c0a8d8ad4c0609637",
            "source":  "amazon-inspector",
            "versions":  [
                "2.3.102"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @sudobility/wildduck_client

Package

Name
@sudobility/wildduck_client
View open source insights on deps.dev
Purl
pkg:npm/%40sudobility/wildduck_client

Affected ranges

Affected versions

2.*
2.3.102

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "scripts/miner.sh",
            "sha256":  "50df05975352cfa4558892d0a9ab493744c8ddd40948efa6755bb11dc5050118",
            "tlsh":  "2371b7a5e4644b3471ac667d369e72815d92443f06213a61f0efef30ab2d46e20a81b7"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "wildduck_client-2.3.102.tgz",
            "hashes":  {
                "sha1":  "5439d124d9c5c1419c84e2ad7ef0ae92f6b07c7a",
                "sha512_sri":  "sha512-0vCnfS1b7IbXUr+CSeeIsf+QF/gZA7a+9EtJWm3Y/Q6WGmv47TTkaRr9G79CizcermIWrOWdIOcsf5I0X4ar2g=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sudobility/wildduck_client/MAL-2026-18130.json"