Skip to content

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

Malware Published Jul 28, 2026 to the GitHub Advisory Database • Updated Jul 28, 2026

Package

npm xerohub-discord-voice-v2 (npm)

Affected versions

= 1.8.0

Patched versions

None

Description

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 (source)

References

Published to the GitHub Advisory Database Jul 28, 2026
Reviewed Jul 28, 2026
Last updated Jul 28, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-3h72-42vm-wphp

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.