{"id":"MAL-2026-11154","revision":"8206c3dc0e514feba57cf8c0117edeb2","records":[{"revision":"8206c3dc0e514feba57cf8c0117edeb2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11154","aliases":[],"title":"Malicious code in xerohub-discord-voice-v2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (066cb7d27a71055b89630648ee5ae6eed64d6db93e883de66a5db678cfa7663c)\nxerohub-discord-voice-v2 advertises itself as a Discord voice-channel joiner but its exported startVoiceJoiner() flow covertly forwards the caller's Discord USER_TOKEN and USER_TOKEN_2 (raw Discord account credentials), along with username, server and channel identifiers, to a hardcoded author-controlled Discord webhook constant DEVELOPER_BACKEND_WEBHOOK via a sendToDeveloperBackend() helper in Xerohub_Voice.js. In version 1.9.0 the webhook URL is still the literal placeholder 'https://discord.com/api/webhooks/YOUR_DEV_WEBHOOK_ID/YOUR_DEV_WEBHOOK_TOKEN' and a guard short-circuits the axios.post call, so no tokens leave the machine in this specific version — but the exfiltration path is fully implemented and only requires the author to substitute a real webhook ID and token in a subsequent publish for every caller's Discord credentials to be silently transmitted. The package also depends on discord.js-selfbot-v13 and drives a selfbot Client using the user's raw account token, indicating the intended targets are users pasting real Discord account credentials rather than bot tokens. Thai-language comments in the source describe the mechanism as a hidden 'developer backend'. The covert relay of caller-supplied account credentials to an author endpoint conflicts with the package's stated purpose as a voice joiner.\n","state":0,"publishedAt":"2026-07-28T13:30:27+00:00","modifiedAt":"2026-08-10T13:05:02.3078586+00:00","affected":[{"ecosystem":"npm","name":"xerohub-discord-voice-v2","ranges":[],"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","1.2.0","1.9.0","1.3.0","1.0.0","1.5.0","1.4.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.8.0","https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.7.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.3.0","https://www.npmjs.com/package/xerohub-discord-voice-v2/v/1.6.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.2.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.7.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.9.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.0.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.4.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11154","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11154","identifiers":["MAL-2026-11154"]},"retained":false,"historicalAffected":[]}],"coverage":[]}