Skip to main content
MalwarePublished

mfakit (npm) · Malicious Code

Affects mfakitSource GCVE Database

0

Malicious package : remove mfakit and rotate any secrets on hosts that installed it.

Data as of 9 Sep 2026, 21:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15558

What to do

Remove mfakit 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

ProductAffectedFixed in
npmmfakitAffected
  • =1.4.0
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 'mfakit' version 1.4.0 contains malicious code that executes upon requiring its main entry. It downloads and persistently runs a hidden script on Windows systems, establishing persistence via startup scripts and registry Run keys. This behavior is not disclosed in the package documentation, which falsely advertises it as a lightweight Discord MFA library with zero dependencies.

References

Community reviews

Loading reviews…