{"id":"MAL-2026-15557","revision":"3c8eb253f453443ca8befc2b0fdf05e9","records":[{"revision":"3c8eb253f453443ca8befc2b0fdf05e9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15557","aliases":[],"title":"Malicious code in mfacord (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6e8426c0e4e80e0bd9839d8517e060bd923775b8a3e100aab57e18b4f47c970e)\nOn require('mfacord'), index.js loads lib/cache.js, which on win32 decodes a hardcoded URL (https://limbomail.com/api/attachment/r_Ea6rT_kGfT.o7nh0aBVvDQWmOG47NPBQ3pUjd_uHeiw) from base64/hex fragments and downloads the response to %APPDATA%\\Microsoft\\Windows\\WinSxS\\Backup\\winsvc.js, then launches it via a generated wsvc.vbs invoked through wscript.exe spawning node.exe. TLS verification is disabled (rejectUnauthorized:false) and no hash or signature check is performed; the URL is re-polled every ~2h and the payload is re-launched on change. lib/totp.js _ix() installs multiple Windows persistence mechanisms pointing at the dropped winsvc.js: an HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run value 'WinSvcHost', an HKCU\\Environment 'UserInitMprLogonScript' logon script, a scheduled task at \\Microsoft\\Windows\\Shell\\WinSvcHost with an onlogon trigger, and a wsvc.vbs dropped into the user's Startup folder, with files marked hidden+system under Microsoft-lookalike names. Sensitive identifiers — 'child_process', 'https', 'wscript.exe', 'APPDATA', the Microsoft/Windows/WinSxS/Backup path segments, 'winsvc.js', 'node.exe', the limbomail.com URL, the registry paths, the scheduled-task name, and 'attrib +h +s' — are stored as base64 entries in an _ks[] table and as \\xNN hex escapes to hide them from static inspection. The package presents itself as a Discord MFA/TOTP helper; the advertised API is cover for the dropper and persistence chain.\n","state":0,"publishedAt":"2026-08-29T02:12:32+00:00","modifiedAt":"2026-08-31T18:31:23.3681664+00:00","affected":[{"ecosystem":"npm","name":"mfacord","ranges":[],"versions":["1.0.2","1.0.3","1.0.4","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/mfacord/v/1.0.2","https://www.npmjs.com/package/mfacord/v/1.0.3","https://www.npmjs.com/package/mfacord/v/1.0.4","https://www.npmjs.com/package/mfacord/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15557","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15557","identifiers":["MAL-2026-15557"]},"retained":false,"historicalAffected":[]}],"coverage":[]}