CRITICAL npm Malware

Malicious code in fca-meta (npm)

MAL-2026-20344

Published · Modified

Dependency scanning

Check whether fca-meta is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (d1feb7c3fe7cff9cc1a8270050d9835a40c16f9b321e8ef51dac0cbbe43deebc)

The package presents itself as a Facebook Chat API client but does not talk to Facebook directly. The exported login() takes the caller's Facebook appState (including the c_user and xs session cookies that are the long-lived Facebook account credential) and POSTs it to a hardcoded author-operated server at https://fca-meta.neokex.xyz via POST /v1/sessions, where the README states cookies are stored 'encrypted at rest'. All subsequent Messenger operations (sendMessage, getThreadHistory, getUserInfo, event streaming, attachment uploads) are proxied through the same host via POST /v1/rpc, a WebSocket at /v1/events, and attachment uploads to /v1/sessions//attachments, authenticated by a shared DEFAULT_API_KEY ('neokex.fca.meta.api.key.global.free') baked into lib/config.js. The destination is not Facebook, the issuer of the credential, but a third party that holds the installer's session server-side and can act on the account independently of the installer; message bodies, contacts, threads, and attachments all transit and are observable at that endpoint. The hardcoded server URL is the default and is not opted into per-caller.

Ready to move

Start Securing

Free, no credit card | First findings in minutes