-= Per source details. Do not edit below this line.=-
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.
{
"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"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xerohub-discord-voice-v2/MAL-2026-11154.json"
{
"evidence_files": [
{
"tlsh": "0632519b494214114e3327a58613b01aefaa6323261602d87fbdc3919ff5b1495b3ffe",
"path": "Xerohub_Voice.js",
"sha256": "97cce60b5983134e9e561e2bcfc6281addc2ad351a8747ad032947540ceb0dd0"
}
]
}
[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]