MAL-2026-20341

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/neokex-fca/MAL-2026-20341.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20341
Published
2026-11-23T06:00:46Z
Modified
2026-11-23T06:30:05Z
Summary
Malicious code in neokex-fca (npm)
Details

-= 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 (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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-023039",
            "import_time": "2026-11-23T06:27:44.44404548Z",
            "modified_time": "2026-11-23T06:00:46Z",
            "sha256": "40212ce7ca821c2edd2fe0506fb849b9a0a0da0e79cd37310673630e286487b0",
            "source": "amazon-inspector",
            "versions": [
                "5.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-023040",
            "import_time": "2026-11-23T06:27:44.579023131Z",
            "modified_time": "2026-11-23T06:00:54Z",
            "sha256": "76af539e23055640cc5b80d4896d925dc0bc8bb9f8abb6d166d66acdc7dab1e9",
            "source": "amazon-inspector",
            "versions": [
                "5.0.6"
            ]
        },
        {
            "id": "IN-MAL-2026-023041",
            "import_time": "2026-11-23T06:27:44.677871494Z",
            "modified_time": "2026-11-23T06:01:01Z",
            "sha256": "4f4d9337062ac8186d4dd27acbd6e5b6752a3bf5af38f0e833a0187f5990779e",
            "source": "amazon-inspector",
            "versions": [
                "5.0.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / neokex-fca

Package

Affected ranges

Affected versions

5.*
5.0.4
5.0.5
5.0.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/config.js",
            "sha256": "714b61383a78baea5d54f6edd6afc16cfd38b98dc72743d125db5f0e6095ae69",
            "tlsh": "9e21fe19a39e171009833fc1d779904337bff20a558ab1847a6d82c52f64a2ba3c7e88"
        },
        {
            "path": "lib/transport.js",
            "sha256": "a5064f5884e50751255f015cff96b85206a703846e50cdac88c8f4c2ee2a9559",
            "tlsh": "2732a98539b322374ab3b1b6ae5f9144b73690033564cc58bd9c8344af4587cdba6fe8"
        }
    ],
    "package_integrity": [
        {
            "filename": "neokex-fca-5.0.5.tgz",
            "hashes": {
                "sha1": "12ab1c6a2d58118dd37de8a1027d4088d970a90d",
                "sha512_sri": "sha512-iOEbhG/PSEJBfCpvexlLMrjjBMbfeMHrPNMHlAlTpp3DgVG7wmOnCL22ZMmhNKDtApfYOBRZ4cuAdK5w87OLCA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/neokex-fca/MAL-2026-20341.json"