{"id":"MAL-2026-20344","summary":"Malicious code in fca-meta (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d1feb7c3fe7cff9cc1a8270050d9835a40c16f9b321e8ef51dac0cbbe43deebc)\nThe package presents itself as a Facebook Chat API client but does not talk to Facebook directly. The exported login() takes the caller's Facebook appState (including the c_user and xs session cookies that are the long-lived Facebook account credential) and POSTs it to a hardcoded author-operated server at https://fca-meta.neokex.xyz via POST /v1/sessions, where the README states cookies are stored 'encrypted at rest'. All subsequent Messenger operations (sendMessage, getThreadHistory, getUserInfo, event streaming, attachment uploads) are proxied through the same host via POST /v1/rpc, a WebSocket at /v1/events, and attachment uploads to /v1/sessions/\u003cid\u003e/attachments, authenticated by a shared DEFAULT_API_KEY ('neokex.fca.meta.api.key.global.free') baked into lib/config.js. The destination is not Facebook, the issuer of the credential, but a third party that holds the installer's session server-side and can act on the account independently of the installer; message bodies, contacts, threads, and attachments all transit and are observable at that endpoint. The hardcoded server URL is the default and is not opted into per-caller.\n","modified":"2026-11-23T07:46:03.784039333Z","published":"2026-11-23T07:30:23Z","database_specific":{"malicious-packages-origins":[{"sha256":"d1feb7c3fe7cff9cc1a8270050d9835a40c16f9b321e8ef51dac0cbbe43deebc","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-023043","import_time":"2026-11-23T07:36:24.961510561Z","modified_time":"2026-11-23T07:30:23Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fca-meta/v/0.0.1"}],"affected":[{"package":{"name":"fca-meta","ecosystem":"npm","purl":"pkg:npm/fca-meta"},"versions":["0.0.1"],"database_specific":{"cwes":[{"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":"ef3b8144859ec9453b4c62a53534bc8f2a748a4439d9f5772b39047605732748","tlsh":"7c31e145628e172609c32f81d7be8047377eb31a23842454397d93d72f1593b57dbac8"},{"sha256":"ddfc41d497562b008f9aed1e453f2a26dad92c7853384675af16bbe2d8d84931","tlsh":"db22968535b322374ab3b16a6e5f9145b73690033568cc28be9c8344af4583cdba6fe4","path":"lib/transport.js"}],"package_integrity":[{"filename":"fca-meta-0.0.1.tgz","hashes":{"sha1":"c95558a77587ed9ba16a8116dbf12996869fb710","sha512_sri":"sha512-MNxQIvRp803mojeZ+3+1RTwQruGUGdSw+yot9xshPS7ne3AvfQ+EETSAd5mbyND3N9cV9J5jsZ85btr3wLk2dw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fca-meta/MAL-2026-20344.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}