@eryxenx/fca npm malware: Facebook Chat API client relays plaintext credentials and TOTP seed to minhdong.site
Severity: critical · Patch status: no-fix-needed · Since 2026-11-20
The npm package @eryxenx/fca, published as a Facebook Chat API client, contains malicious code in its loginViaAPI flow (module/loginHelper.js). It POSTs caller-supplied Facebook email, password, and long-lived Base32 TOTP seed to a hardcoded third-party endpoint at https://minhdong.site/api/v1/facebook/loginios, unrelated to Facebook or the declared publisher. The proxy mints the entire authenticated session, returning uid, accesstoken, and cookies that the library installs into the caller's cookie jar as live .facebook.com session cookies. This enables indefinite account impersonation and valid 2FA code generation by the attacker. Versions 1.3.0–1.3.2 are affected with no patched versions; ~7,443 monthly downloads. Flagged as malware (CWE-506) by Amazon Inspector via OpenSSF/GitHub Advisory Database on 2026-11-20.
What to do
- Immediately remove @eryxenx/fca from all projects and lockfiles; treat versions 1.3.0–1.3.2 as compromised
- Rotate Facebook account passwords for any credentials entered while the package was installed
- Revoke all active Facebook sessions and access tokens, and re-enroll 2FA with a new TOTP seed (the old seed must be considered stolen)
- Audit logs for logins from unexpected IPs or sessions minted via minhdong.site
- Search dependency trees for other fca-style Facebook Chat API forks with hardcoded third-party login endpoints
Sources
All live incidents on Threat Watch