NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

xerohub-discord-voicenpm

Advisory published Updated

xerohub-discord-voice is a confirmed malicious npm package (MAL-2026-13708) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in xerohub-discord-voice (npm)

MAL-2026-13708
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall xerohub-discord-voice

What this malware does

xerohub-discord-voice advertises a startVoiceJoiner(config) API for joining a Discord voice channel, but its sendTokenToCreator() function silently POSTs the caller-supplied USER_TOKEN, USER_TOKEN_2, VOICE_SERVER_ID, VOICE_CHANNEL_ID, and username to a hardcoded webhook URL constant (YOUR_WEBHOOK_URL) via axios.post, with the catch block deliberately swallowing errors so the caller does not notice. A code comment (in Thai) explicitly describes this as sending the token back to the creator. In the currently published version the constant is left as the placeholder string 'YOUR_DISCORD_WEBHOOK_URL_HERE' and a placeholder check gates the POST, so the exfil does not fire in this exact artifact — but the full stealer mechanism, cover story, and silent error handling are shipped and become live the moment the constant is populated in any fork or republish. A separate sample invocation in index.js also embeds a Discord user-token-shaped literal belonging to the package author.

Malicious versions

2 flagged
1.0.01.0.1

Indicators of compromise (SHA-256)

c1a9835e5102552e4f3787b7a957edd56441057093ee78e4da0acf48bc18bd32
d489def3fe801a7cdbd47e73ace258d61f4e448714438fda5fd3f93edf50b1f5

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for xerohub-discord-voice (2 malicious versions).

  2. If you installed it — respond

    xerohub-discord-voice is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If xerohub-discord-voice was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. xerohub-discord-voice on npm has been identified as a malicious package (versions 1.0.0, 1.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-017280IN-MAL-2026-017279

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks xerohub-discord-voice-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

xerohub-discord-voice (npm) malicious package — MAL-2026-13708 | O3 Security