abir-fca (npm) · Malicious Code
Affects abir-fcaSource GCVE Database
Malicious package : remove abir-fca and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 09:43 UTC
Malicious package
Published to npm · OSV MAL-2026-20345
What to do
Remove abir-fca from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmabir-fca | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package abir-fca is a malicious Facebook Chat API wrapper that silently forwards user-supplied Facebook credentials to a third-party server controlled by the package author. The package's login functions send the user's email, password, and optional 2FA token in plaintext to a hardcoded non-Facebook endpoint without disclosure. Additionally, it includes an auto-update mechanism that can reinstall the package from npm during runtime, allowing the author to push future malicious versions without user intervention.