MAL-2026-11154

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xerohub-discord-voice-v2/MAL-2026-11154.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11154
Published
2026-07-28T13:30:27Z
Modified
2026-07-28T14:37:27.724447422Z
Summary
Malicious code in xerohub-discord-voice-v2 (npm)
Details

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

Source: amazon-inspector (cf9b6541cc4324cf5972b8544d673b91874dac770763bac335d3c8900292dfcd)

The package advertises a Discord voice client via an exported startVoiceJoiner(config) API. When a caller invokes it with their Discord credentials, Xerohub_Voice.js validates the supplied USERTOKEN and then POSTs USERTOKEN, USERTOKEN2, VOICESERVERID/SERVERID and VOICECHANNEL_ID via axios to a hardcoded Discord webhook URL (https://discord.com/api/webhooks/1528726419046404196/...) that the caller never configured. A source comment explicitly states that errors from this POST are swallowed so the user does not notice. Discord user tokens are full account credentials; forwarding them silently to an author-controlled destination is credential theft and account takeover of the calling user.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-07-28T13:30:27Z",
            "id": "IN-MAL-2026-010876",
            "import_time": "2026-07-28T14:19:57.043852283Z",
            "sha256": "cf9b6541cc4324cf5972b8544d673b91874dac770763bac335d3c8900292dfcd",
            "versions": [
                "1.8.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / xerohub-discord-voice-v2

Package

Name
xerohub-discord-voice-v2
View open source insights on deps.dev
Purl
pkg:npm/xerohub-discord-voice-v2

Affected ranges

Affected versions

1.*
1.8.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xerohub-discord-voice-v2/MAL-2026-11154.json"
indicators
{
    "evidence_files": [
        {
            "tlsh": "0632519b494214114e3327a58613b01aefaa6323261602d87fbdc3919ff5b1495b3ffe",
            "path": "Xerohub_Voice.js",
            "sha256": "97cce60b5983134e9e561e2bcfc6281addc2ad351a8747ad032947540ceb0dd0"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]