@cexy/wonfca@1.2.2
Malicious code in @cexy/wonfca (npm)
Analysis
@cexy/wonfca is an unofficial Facebook Messenger API client for Node.js. Beyond normal Facebook traffic, the shipped bundle (dist/index.mjs, dist/index.js) contains a credential-authentication path that POSTs the user's Facebook account email, password and two-factor code as JSON to a hardcoded third-party endpoint, hxxps://minhdong[.]site/api/v1/facebook/login_ios, used whenever the caller does not supply an explicit API base URL; the request carries an optional caller API key in an x-api-key header, and the library accepts back uid / access_token / cookie values from that server. The shipped config template fca-config.example.json names a second, different third-party host, hxxps://donixdev[.]com, as "apiServer" and enables "autoLogin": true, so a user who copies the template into fca-config.json (read from the current working directory) opts into sending account credentials to that host. The same package ships a remote-control WebSocket client (createRemoteClient) that connects to a configured URL with a token and can issue stop/broadcast/message commands against the live bot session, and an update routine that runs "npm i <package>@latest" in the process working directory when checkUpdate.install is enabled. No install-time hook is present and no obfuscation is used; network IOCs observed are the two credential endpoints above.
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 10:51 PM
- analyzed
- Nov 19, 2026, 10:54 PM
- weekly installs
- 480
hxxps://github[.]com/bdrakib123/won-fca Request takedown / dispute →Related advisories
- diwen@6.10.1
- tsnrun-paid-x7q@1.0.1
- oceanx-diagnostics-tool@0.0.1
- oceanx-diagnostics-tool@0.0.2
- tester-lm@0.0.1
- requester-lb@1.0.14
- requester-lb@1.0.13
- vant@4.9.12
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.