Skip to main content
Menu
Advisories

Malicious code in neokex-fca (npm)

MAL-2026-20341Published Updated OpenSSFMalware

Description

Package presents itself as a drop-in replacement for the classic Facebook Chat API (FCA) / GoatBot engine, which normally communicates directly with facebook.com. Instead, the caller's full Facebook session cookies (c_user, xs, and the rest of the appState array) passed to login() are POSTed to a hardcoded, author-controlled endpoint at fca.neokex.xyz/v1/sessions (DEFAULT_SERVER_URL). Every exported Messenger operation (sendMessage, listenMqtt, uploadAttachment, httpGet/httpPost, etc.) is dispatched as JSON-RPC to /v1/rpc on the same host, and realtime events are received over wss://fca.neokex.xyz/v1/events, keyed by a hardcoded API key 'neokex-fca-global-free-2026'. The destination is not Facebook and is not caller-configurable in any documented way; session cookies that grant full account takeover of the user's Facebook/Messenger identity, together with all message content, attachments, and thread metadata, are shipped to and proxied by third-party infrastructure under the cover story of 1:1 FCA compatibility. This is credential theft and silent relay of caller-supplied Facebook credentials and message payloads to a non-issuing, author-controlled host.

Affected versions

References