MAL-2026-20341: Malicious code in neokex-fca (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (40212ce7ca821c2edd2fe0506fb849b9a0a0da0e79cd37310673630e286487b0) 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 (cuser, xs, and the rest of the appState array) passed to login() are POSTed to a hardcoded, author-controlled endpoint at https://fca.neokex.xyz/v1/sessions (DEFAULTSERVERURL). 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.