NetSight
criticalMalware report

GHSA-3h72-42vm-wphp

Malicious code in xerohub-discord-voice-v2 (npm)

Impact

## 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 USER_TOKEN and then POSTs USER_TOKEN, USER_TOKEN_2, VOICE_SERVER_ID/SERVER_ID and VOICE_CHANNEL_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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0c11afc7acc22b6ae6dcd1d9e05bf37368cc773e/osv/malicious/npm/xerohub-discord-voice-v2/MAL-2026-11154.json))

Affected packages

EcosystemPackageAffectedFixed in
npmxerohub-discord-voice-v2= 1.8.0none recorded
npmxerohub-discord-voice-v2= 1.7.0none recorded
npmxerohub-discord-voice-v2= 2.1.0none recorded
npmxerohub-discord-voice-v2= 2.3.0none recorded
npmxerohub-discord-voice-v2= 1.6.0none recorded
npmxerohub-discord-voice-v2= 2.5.0none recorded
npmxerohub-discord-voice-v2= 2.6.0none recorded
npmxerohub-discord-voice-v2= 2.2.0none recorded
npmxerohub-discord-voice-v2= 2.4.0none recorded
npmxerohub-discord-voice-v2= 2.7.0none recorded
npmxerohub-discord-voice-v2= 1.2.0none recorded
npmxerohub-discord-voice-v2= 1.9.0none recorded
npmxerohub-discord-voice-v2= 1.3.0none recorded
npmxerohub-discord-voice-v2= 1.0.0none recorded
npmxerohub-discord-voice-v2= 1.5.0none recorded
npmxerohub-discord-voice-v2= 1.4.0none recorded

Weakness classification

References