{"id":"MAL-2026-13708","revision":"2a5c228cdabc47b7add3bf675ee717ea","records":[{"revision":"2a5c228cdabc47b7add3bf675ee717ea","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13708","aliases":[],"title":"Malicious code in xerohub-discord-voice (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c1a9835e5102552e4f3787b7a957edd56441057093ee78e4da0acf48bc18bd32)\nxerohub-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.\n","state":0,"publishedAt":"2026-08-10T12:34:05+00:00","modifiedAt":"2026-08-10T13:05:02.9060376+00:00","affected":[{"ecosystem":"npm","name":"xerohub-discord-voice","ranges":[],"versions":["1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/xerohub-discord-voice/v/1.0.1","https://www.npmjs.com/package/xerohub-discord-voice/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13708","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13708","identifiers":["MAL-2026-13708"]},"retained":false,"historicalAffected":[]}],"coverage":[]}