MAL-2026-20345: Malicious code in abir-fca (npm)

Published Nov 23, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (510a368bbd81ff5e45328a9a5dd1e32a2d59bf625ba7801a212c4296587ee9da) 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 childprocess/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.

Affected Software

1 affected component
npm/abir-fca=0.0.25

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable the load-time package update check by setting checkUpdate.enabled to false.

    abir-fca checkUpdate.enabled = false

Event History

Nov 23, 2026
Advisory Published
via OSV·08:13 AM
Data Sourced
via OSV·08:13 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203