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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | xerohub-discord-voice-v2 | = 1.8.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.7.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.1.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.3.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.6.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.5.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.6.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.2.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.4.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 2.7.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.2.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.9.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.3.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.0.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.5.0 | none recorded |
| npm | xerohub-discord-voice-v2 | = 1.4.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-3h72-42vm-wphp
- https://github.com/ossf/malicious-packages/blob/0c11afc7acc22b6ae6dcd1d9e05bf37368cc773e/osv/malicious/npm/xerohub-discord-voice-v2/MAL-2026-11154.json
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.8.0
- https://github.com/ossf/malicious-packages/blob/b41aabfe8f558a86ea4ee5161d362f4e75bb670d/osv/malicious/npm/xerohub-discord-voice-v2/MAL-2026-11154.json
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.0.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.2.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.3.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.4.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.5.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.6.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.7.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.9.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.1.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.2.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.3.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.4.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.5.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.6.0
- https://www.npmjs.com/package/xerohub-discord-voice-v2/v/2.7.0