# GHSA-GF52-82P4-XPX6: Malicious code in neokex-fca (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-23
- Modified: 2026-11-23

## Affected versions

- neokex-fca (npm): 5.0.5
- neokex-fca (npm): 5.0.6
- neokex-fca (npm): 5.0.4

## Description

## 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 (c_user, 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 (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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8dc3a6d39416b2842fdf3b703d98ecb9c36729a9/osv/malicious/npm/neokex-fca/MAL-2026-20341.json))

## References

- https://github.com/ossf/malicious-packages/blob/8dc3a6d39416b2842fdf3b703d98ecb9c36729a9/osv/malicious/npm/neokex-fca/MAL-2026-20341.json
- https://www.npmjs.com/package/neokex-fca/v/5.0.4
- https://www.npmjs.com/package/neokex-fca/v/5.0.5
- https://www.npmjs.com/package/neokex-fca/v/5.0.6
- https://github.com/advisories/GHSA-gf52-82p4-xpx6

Page: https://cve.now/GHSA-GF52-82P4-XPX6

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
