mfacord (npm) · Malicious Code
Affects mfacordSource GCVE Database
Malicious package : remove mfacord and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-15557
What to do
Remove mfacord from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmfacord | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'mfacord' versions 1.0.2 and 1.0.3 contains malicious code that downloads and executes a remote payload on Windows systems. It decodes a hardcoded URL to fetch a script which is saved in the user's AppData directory and executed via a VBScript launcher. The package disables TLS verification and does not verify the downloaded payload's integrity. It establishes multiple persistence mechanisms including registry run keys, scheduled tasks, and startup folder scripts, all obfuscated to evade detection. The package masquerades as a Discord MFA/TOTP helper but functions as a dropper and persistence tool for malicious code.