MAL-2026-12058

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzgenesis00/spl-token-utils/MAL-2026-12058.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12058
Published
2026-08-05T01:41:29Z
Modified
2026-08-05T03:20:45.917974211Z
Summary
Malicious code in @zzzgenesis00/spl-token-utils (npm)
Details

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

Source: amazon-inspector (0ad6fd0f8ef16ee23b458b541d9cdfc73147e768ec9f8676ed50b30996231813)

postinstall.js runs unconditionally on npm install and harvests installer-side secrets before transmitting them off-host. Collected data includes host identifiers, contents/listings of ~/.ssh, ~/.npmrc, ~/.gitconfig, browser profile paths (Chrome/Firefox cookies, logins, key4.db), crypto wallet directory presence, output of npm whoami and git config, and a curated list of credential-shaped environment variables (NPMTOKEN, NODEAUTHTOKEN, GITHUBTOKEN, AWS_*, *PRIVATEKEY, MNEMONIC, SEEDPHRASE, APIKEY, etc.). The harvested JSON is exfiltrated over two channels: (1) the Telegram Bot API at api.telegram.org/bot<token>/sendMessage (bot id 7231970337, chat 7231970337), and (2) a POST to https://40f955f39128bd79-178-249-214-24.serveousercontent.com/collect. Execution is delayed 1.5–3.5s via randomized setTimeout, identifiers are obfuscated with random 3-letter prefixes, and the package ships a cover-story comment ("environment verification") plus a passthrough module.exports = require('./index.js') to appear as a benign SPL token utility. Neither exfiltration destination is related to the package's stated Solana SPL token purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T03:11:15.943627082Z",
            "sha256": "0ad6fd0f8ef16ee23b458b541d9cdfc73147e768ec9f8676ed50b30996231813",
            "modified_time": "2026-08-05T01:41:29Z",
            "id": "IN-MAL-2026-011512",
            "versions": [
                "1.4.2"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @zzzgenesis00/spl-token-utils

Package

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

Affected ranges

Affected versions

1.*
1.4.2

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-6K9FghaIbwAb2vrNyv5Pl/TOd2OKTwZdZzc21PteuufKt15N32U2TV7iXAwBYnl8PnTuF3qHVAyg54wGegCZmg==",
                "sha1": "62ecf71ead0c1caea5474359b943b4c260add434"
            },
            "filename": "spl-token-utils-1.4.2.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "9f017de2e1217bb439e1a6fa3ef9bd454200b9fd09927e7dcf02fe95c9708a04",
            "tlsh": "07d1649312e603186852b9ad874f00252772d5233824fbf93fdd5b111f5f62caaf57a8"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzgenesis00/spl-token-utils/MAL-2026-12058.json"