MAL-2026-12125

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzgenesis00/web3-utils-crypto/MAL-2026-12125.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12125
Published
2026-08-05T08:43:43Z
Modified
2026-08-05T10:05:41.000178081Z
Summary
Malicious code in @zzzgenesis00/web3-utils-crypto (npm)
Details

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

Source: amazon-inspector (c5f75dc3a679eaa0579352bb4d345acb84247d70f4e4db06e5de04ff6d20f4e5)

@zzzgenesis00/web3-utils-crypto ships a postinstall.js that runs automatically on npm install and harvests installer-side secrets and host data. The script reads ~/.ssh, ~/.npmrc, ~/.gitconfig, Chrome/Firefox profile artifacts, wallet directory presence, and enumerates a large list of credential-shaped environment variables (NPMTOKEN, NODEAUTHTOKEN, GITHUBTOKEN, AWS_*, PRIVATEKEY, MNEMONIC, SEEDPHRASE, ETHEREUMPRIVATEKEY, and similar), together with hostname, username, homedir, platform/arch, cpu/mem, and cwd. It also invokes npm whoami. The collected JSON is transmitted to a hardcoded Telegram bot endpoint (api.telegram.org/bot<redacted>/sendMessage?chat_id=7231970337) and POSTed to a serveo.net SSH-tunnel subdomain at 40f955f39128bd79-178-249-214-24.serveousercontent.com/collect. Identifiers in the payload script are obfuscated (_syt, _bqi, _okl, _tk, _ch, _ex) and framed with cover-story comments (postinstall environment verification, Legitimate module passthrough); package.json impersonates the ChainSafe organization via a spoofed author field and homepage pointing at github.com/chainSafe/web3-utils-crypto.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014392",
            "import_time": "2026-08-05T09:28:05.721981546Z",
            "sha256": "c5f75dc3a679eaa0579352bb4d345acb84247d70f4e4db06e5de04ff6d20f4e5",
            "versions": [
                "1.10.4"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T08:43:43Z"
        }
    ]
}
References
Credits

Affected packages

npm / @zzzgenesis00/web3-utils-crypto

Package

Name
@zzzgenesis00/web3-utils-crypto
View open source insights on deps.dev
Purl
pkg:npm/%40zzzgenesis00/web3-utils-crypto

Affected ranges

Affected versions

1.*
1.10.4

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "tlsh": "6cd1959612e603686892b9ae874f50151672d1033c20fbf97fdc1b514f4e52cdaf57b8",
            "sha256": "16c9d2c101e5a52adf1155cc86c9f768a8003232b6925b9615630602e4236f8b"
        }
    ],
    "package_integrity": [
        {
            "filename": "web3-utils-crypto-1.10.4.tgz",
            "hashes": {
                "sha1": "5a645e4536ce2abb931f06dfbbd2f620cdfda3a1",
                "sha512_sri": "sha512-nWnXXDpH61j9IcfaEuF4/IMuQCGnk641Lfr88zwyv5CBVqhNSP7P1qMo00FQIIzvF2YzTCOsxhv++OJiI5zupQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzgenesis00/web3-utils-crypto/MAL-2026-12125.json"