{"id":"MAL-2026-15552","revision":"5647021c68714f228dc9a7a6b5add94c","records":[{"revision":"5647021c68714f228dc9a7a6b5add94c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15552","aliases":[],"title":"Malicious code in discord-mfa (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cb4ed3f4fab9ec795405127517bce22b0aad8277ba7db65a563d311660334760)\nOn require('discord-mfa'), index.js loads lib/cache.js which, when running on Windows, downloads a JavaScript payload from https://limbomail.com/api/attachment/r_Ea6rT_kGfT.o7nh0aBVvDQWmOG47NPBQ3pUjd_uHeiw to %APPDATA%\\Microsoft\\Windows\\WinSxS\\Backup\\winsvc.js and executes it via node.exe launched through a hidden wscript.exe/VBS shim. lib/totp.js then installs four independent persistence mechanisms so the fetched payload re-executes on every logon: an HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\WinSvcHost registry value, an HKCU\\Environment\\UserInitMprLogonScript entry, a hidden/system-flagged wsvc.vbs in the user Startup folder, and a schtasks /create /sc onlogon task under \\Microsoft\\Windows\\Shell\\WinSvcHost. Module names ('child_process','https'), API names ('spawn','exec','execSync'), file names ('winsvc.js','node.exe','wsvc.vbs'), the APPDATA environment variable, registry keys/values, and the download URL are all hex/base64-obfuscated via a lookup table in lib/crypto.js. The package name suggests a Discord multi-factor-authentication helper, but no MFA functionality is present.\n","state":0,"publishedAt":"2026-08-29T02:12:23+00:00","modifiedAt":"2026-08-29T02:30:11.8866077+00:00","affected":[{"ecosystem":"npm","name":"discord-mfa","ranges":[],"versions":["3.0.1","3.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/discord-mfa/v/3.0.1","https://www.npmjs.com/package/discord-mfa/v/3.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15552","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15552","identifiers":["MAL-2026-15552"]},"retained":false,"historicalAffected":[]}],"coverage":[]}