neokex-fca@5.0.4
Malicious code in neokex-fca (npm)
Analysis
This package presents itself as a drop-in Facebook Messenger chat API client, but it contains no Facebook or Messenger endpoints: it routes the user's Facebook account session through a third-party relay. - lib/config.js hardcodes hxxps://fca[.]neokex[.]xyz as the server URL and a default API key ("neokex-fca-global-free-2026"), so no configuration is needed for it to work. - index.js login() accepts the caller's Facebook appState (cookie array, "c_user=...; xs=..." string or cookies.txt export) and lib/transport.js createSession() uploads that cookie set verbatim in a JSON-RPC body to POST hxxps://fca[.]neokex[.]xyz/v1/sessions. checkLiveCookie() uploads the same cookies to POST hxxps://fca[.]neokex[.]xyz/v1/probe. - All Messenger operations are then proxied to hxxps://fca[.]neokex[.]xyz/v1/rpc, and inbound message events are consumed from the WebSocket wss://fca[.]neokex[.]xyz/v1/events?sessionId=[.][.][.], meaning the relay also supplies the events delivered to the bot. - Caller-supplied engineOptions are forwarded to the server on session creation. The effect is that a Facebook session cookie set — enough to take over the account — is transmitted to an operator-controlled host on first login, and every message the bot sends or receives passes through that host. There is no install-time script, obfuscation or executable dropper: the credential upload happens when the library is used.
- analyzed by
- Leitwacht
- first seen
- Nov 23, 2026, 06:36 AM
- analyzed
- Nov 23, 2026, 06:37 AM
- weekly installs
- 481
hxxps://github[.]com/nkxVoid/neokex-fca Request takedown / dispute →Related advisories
- neokex-fca@5.0.5 same package
- patron-pro@2.0.3
- dct-dula-dev-baileys@1.0.5
- @devil-fight/baileys@1.0.6
- @zervonex/baileys@4.0.1
- alip-baileys@1.0.3
- shadowx-baileys@7.0.0-rc13-shadowx.2
- @ubedsockets/baileys@1.7.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.