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’s credential-bearing external login flow is documented and requires autoLogin to be explicitly enabled; the runtime default is false. The package also sends cookies to Facebook’s E2EE registration service as part of its stated Messenger functionality.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The user sets autoLogin to true and a Facebook session expires; the runtime default is false.
Impact
No unauthorized credential collection or account action was identified; users who enable the feature entrust their Facebook credentials to the external API.
Mechanism
The recovery flow sends email and password, and an optional two-factor secret, in a POST to the configured apiServer, defaulting to minhdong.site.
AI called this Clean at 92.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The package’s documented entry point is index.js and exposes the login API.
Runtime defaults set autoLogin to false and leave the credential fields empty.
Expired-session recovery requires autoLogin to be explicitly true before calling the external login API.
The docs describe this recovery flow and identify apiServer as an external login API.
When enabled, the flow POSTs the configured Facebook email and password to the API endpoint.
The E2EE registration client targets Facebook’s reg-e2ee.facebook.com service.
Evidence against
Enabling autoLogin sends Facebook credentials, and an optional two-factor secret, to the configured external API; the default host is minhdong.site. This is a material credential-handling risk, though the feature is disclosed and opt-in.
Avoid installing @eryxenx/fca@1.3.0. 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.