Facebook Chat API by EryXenX | Stable • Auto Re-login • Full E2EE Support — send messages, media, reactions & more in encrypted chats, hassle-free
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-20276 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-20276 confirms this npm version as malicious.
Advisory
MAL-2026-20276
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @eryxenx/fca (npm)
Details
The package is published as a Facebook Chat API client but its login flow (loginViaAPI in module/loginHelper.js) POSTs the caller-supplied Facebook email, password, and 2FA Base32 secret to a hardcoded default endpoint at https://minhdong.site/api/v1/facebook/login_ios. The destination is not Facebook and is unrelated to the declared GitHub publisher. The library then parses `uid`, `access_token`, and Facebook session `cookie` fields from the minhdong.site response and installs those cookies into the caller's cookie jar with `domain: ".facebook.com"` as the live Facebook session. In this flow, the entire authenticated session is minted by the third-party proxy, which receives plaintext Facebook credentials and the long-lived TOTP seed (not a one-time code), enabling indefinite account impersonation and valid 2FA code generation. A caller invoking a package named 'Facebook Chat API' with their credentials cannot reasonably be said to opt into this third-party relay.
LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The package implements Facebook login and messaging, and the external API credential flow is tied to its login function. Automatic re-login through that API is opt-in and disabled by default, so the reviewed behavior does not meet the blocking criteria.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
The package entry point loads login functionality; API-based re-login requires autoLogin to be explicitly enabled.
Impact
That server receives credentials when the user invokes the API login or enables automatic re-login; automatic re-login is off by default.
Mechanism
The optional API login sends credentials supplied for Facebook login to the configured server, defaulting to minhdong.site.
Network endpoints1
minhdong.site
Independent scan evidence
public snapshot
AI called this Clean at 87.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The package describes itself as a Facebook Chat API, matching its login and messaging behavior.
Automatic re-login is disabled by default and only runs when the user explicitly enables autoLogin.
Evidence against
The optional login API sends supplied Facebook credentials to the configured API server, defaulting to minhdong.site.
Avoid installing @eryxenx/fca@1.3.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.