abir-fcanpm
Advisory published Updated
abir-fca is a confirmed malicious npm package (MAL-2026-20345) that steals credentials and exfiltrates sensitive data (malicious version 0.0.25). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in abir-fca (npm)
What this malware does
abir-fca is an unofficial Facebook Chat API wrapper whose login path silently relays caller-supplied Facebook credentials to an author-operated third-party server. The exported loginViaAPI / tokensViaAPI functions accept the user's Facebook email, password, and optional 2FA token and POST them to the configured apiServer, whose hardcoded default is https://minhdong.site (shipped fca-config.example.json uses https://donixdev.com). Facebook authentication would normally go directly to Facebook's own endpoints; here the plaintext account password is sent to a non-Facebook, non-first-party host before any Facebook session is established. The README presents the package as a local Facebook client and does not disclose that credentials transit a third-party proxy, so callers using the advertised login API have no indication their Facebook account password is being handed to the package author. The destination is hardcoded in the shipped bundle at dist/index.js (around lines 15593 and 25624) and is author-controlled rather than caller-configured by default. In addition, the package ships a load-time auto-update path (checkForPackageUpdate / runConfiguredUpdateCheck) enabled by default in the example config (checkUpdate.enabled: true, install: true) that uses child_process/execFile to re-install abir-fca from npm while the host process is running, so any future version the author publishes is pulled and executed without the installer re-running npm install.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for abir-fca (version 0.0.25).
If you installed it — respond
abir-fca is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If abir-fca was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks abir-fca-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.