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 main behavior is a Facebook messaging client, and the reviewed network paths serve Facebook login recovery and E2EE registration. Although opt-in recovery sends configured Facebook credentials to an external API, the docs identify that API and source code disables auto-login by default.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Auto-login runs only after session authentication trouble when autoLogin is enabled and credentials are configured.
Impact
The API server receives credentials when the user enables auto-login; the source default is disabled and the docs identify the server and feature.
Mechanism
The login helper posts the configured Facebook credentials to the documented external login API to obtain session data.
Network endpoints2
minhdong.sitereg-e2ee.facebook.com
Independent scan evidence
public snapshot
AI called this Clean at 86.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The package entry point is index.js; package scripts contain only test and lint commands, with no install lifecycle hook.
The source defaults autoLogin to false.
The docs identify https://minhdong.site as the external login API and describe its use for session recovery.
The login helper sends the supplied login body to the configured API server's Facebook login endpoint.
Automatic re-login requires autoLogin to be explicitly enabled and email and password to be configured.
The E2EE registration client uses reg-e2ee.facebook.com, consistent with the package's Facebook messaging purpose.
Evidence against
When auto-login is enabled, Facebook credentials are sent to an external API server rather than directly to Facebook.
Avoid installing @eryxenx/fca@1.3.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.