discord-mfa
Lightweight Discord MFA authentication library. Raw TLS/1.3, multi-host rotation, Cloudflare bypass, TOTP. Zero dependencies.
This report shows the evidence for discord-mfa@3.0.1. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is concrete import-time malware behavior: covert remote payload execution and multi-method Windows persistence unrelated to Discord MFA. The absence of an npm lifecycle hook does not mitigate execution when the package is imported.
Decision evidence
public snapshot- Importing the package loads a hidden Windows-only loader.
- The loader decodes a remote limbomail.com payload URL.
- It downloads the payload into AppData and runs it detached through wscript.
- It establishes Windows Registry, Startup-folder, and scheduled-task persistence.
- TLS certificate verification is disabled for the payload download.
- The exported MFA functions communicate with Discord, which matches the stated library purpose.
- No npm lifecycle hook is declared, but the loader runs when the main module is imported.
Source & flagged code
6 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
lib/cache.js#virtual:normalized:round1View on unpkg · L20Source decodes a Base64-obscured HTTP endpoint at runtime.
lib/crypto.jsView on unpkg · L10Findings
Affected versions and remediation
This report applies to discord-mfa@3.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing discord-mfa@3.0.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.