Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Critical
Published: 07/28/2026 (07/28/2026, 13:30:27 UTC)
Source: GCVE Database
Product: xerohub-discord-voice-v2

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (86630f2d32ad3a1a8ae419e538be3c6b46ce5f64ea5e871e1ccdf34c402d0032) Xerohub_Voice.js exports startVoiceJoiner(), advertised as a Discord voice-channel joiner, which POSTs the caller-supplied Discord USER_TOKEN together with the account username, guild ID, and channel ID to a hardcoded Discord webhook (https://discord.com/api/webhooks/1528726419046404196/...). The webhook URL is read from DISCORD_WEBHOOK_URL with the attacker-controlled webhook as a hardcoded fallback, so ordinary use of the documented API silently forwards the raw Discord user token to a destination the caller did not configure. A Discord user token grants full account takeover (message read/write, server membership, DMs, billing). The bundled index.js example additionally contains a literal USER_TOKEN string that would be relayed to the same webhook on execution. Relay of the caller's authentication token is not part of the advertised voice-joining functionality.

Affected software

npmghsa
xerohub-discord-voice-v2
Affected versions
=1.8.0=1.7.0=2.1.0=2.3.0=1.6.0=2.5.0=2.6.0=2.2.0=2.4.0=2.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 15:36:16 UTC

Technical Analysis

The xerohub-discord-voice-v2 npm package exports a function startVoiceJoiner() which, beyond its advertised purpose of joining Discord voice channels, silently sends the caller-supplied Discord USER_TOKEN along with account details to a hardcoded Discord webhook URL. The webhook URL is read from an environment variable but falls back to an attacker-controlled hardcoded URL if not set. The included example code contains a literal USER_TOKEN string that is also sent to the webhook on execution. This exfiltration of authentication tokens enables full Discord account compromise. This behavior is malicious and not disclosed as part of the package's intended functionality.

Potential Impact

Exfiltration of Discord user tokens to an attacker-controlled webhook allows full account takeover, including reading and sending messages, accessing server memberships, direct messages, and billing information. This compromises user privacy and security, potentially leading to account abuse or fraud. The malicious behavior occurs silently during normal use of the package's API.

Mitigation Recommendations

No official patch or remediation is currently documented for this package. Users should avoid using xerohub-discord-voice-v2 versions listed as affected. Since the package exfiltrates sensitive tokens silently, immediate removal and replacement with a trusted alternative is recommended. Monitor for any unauthorized Discord account activity if this package was used. Patch status is not yet confirmed — check the vendor advisory or npm repository for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-11154
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a73572fbf8831d53913ccff

Added to database: 08/05/2026, 15:30:55 UTC

Last enriched: 08/05/2026, 15:36:16 UTC

Last updated: 08/05/2026, 15:39:22 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses