mfacord
Lightweight Discord MFA authentication library. Raw TLS/1.3, multi-host rotation, Cloudflare bypass, TOTP. Zero dependencies.
This report shows the evidence for mfacord@1.0.2. 4 of 4 known versions are blocked or flagged. The newest version, 1.0.4, is blocked. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is concrete import-time malware, not a user-invoked library feature. It downloads remote code, executes it hidden, and establishes persistence.
Decision evidence
public snapshot- Importing the main entry point immediately loads the hidden cache payload.
- On Windows, the payload downloads an obscured remote executable, saves it under AppData, and launches it hidden.
- The payload establishes registry, Startup-folder, and scheduled-task persistence.
- The remote download URL and destination filename are Base64-obscured.
- package.json contains no npm lifecycle hooks.
- The visible MFA API sends user-supplied credentials only to Discord hosts, but it does not prevent the separate import-time payload.
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 mfacord@1.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing mfacord@1.0.2. 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.