npm

The @eryxenx/fca npm Supply Chain Attack

Updated 20 Nov 2026 · Incident date 20 Nov 2026

The npm Facebook Chat API package @eryxenx/fca sends caller credentials and a 2FA secret to minhdong.site instead of Facebook.

Anyone who logs a bot into Facebook through @eryxenx/fca 1.3.0 to 1.3.2 hands the password and a 2FA secret to an outside server. GitHub and Amazon Inspector published the finding on 20 November 2026.

What happened

GitHub published malware advisory GHSA-qhrc-mfjw-xwq3 on 20 November 2026. OpenSSF copied it as MAL-2026-20276, and Amazon Inspector found the behavior.

  • The advisory covers 1.3.0, 1.3.1 and 1.3.2, with no fixed version.
  • In module/loginHelper.js, loginViaAPI POSTs the caller-supplied Facebook email, password and Base32 2FA secret to https://minhdong.site/api/v1/facebook/login_ios.
  • The code then reads uid, access_token and session cookies from the minhdong.site reply and installs them in the caller's cookie jar for .facebook.com.
  • I read module/loginHelper.js in 1.3.2 and 1.3.5. Both contain the same minhdong.site endpoint and POST. The advisory lists only 1.3.0 to 1.3.2, so versions 1.3.3 to 1.3.5 are unlisted.
  • The endpoint sends credentials only when the app calls loginViaAPI, or when fca-config.json sets autoLogin to true. The code says auto-login through the external API is off by default.

Affected versions

  • GitHub advisory and MAL-2026-20276: = 1.3.0, = 1.3.1, = 1.3.2.
  • npm still serves the package, and its latest tag points to 1.3.5.
  • The advisory does not give publish dates for the three listed versions.

Indicators of compromise

  • https://minhdong.site/api/v1/facebook/login_ios
  • fca-1.3.2.tgz (MAL-2026-20276) with SRI sha512-A+uYqOk/IsiNkhQumR3AKMnB/8MKeh+SQuNq0Ji+4crjJxsVqe28fp2RiHhCITQotubjG+kMaZ1ddwSdb15Y3Q==
  • module/loginHelper.js (MAL-2026-20276) with SHA-256 e056bd7e9aece1ef2131883cd1c2d2c56560d666c8bcf958d3eae9d2abfc7718
  • src/remote/remoteClient.js (MAL-2026-20276) with SHA-256 b3b67a5eead971c4575b2d910858955937cec7bc638c49383dda93726e9f6ccf

How to check

List the installed version in each Node.js project.

npm ls @eryxenx/fca

Search package-lock.json files in past builds for @eryxenx/fca. Those builds can show when an install pulled 1.3.0 to 1.3.2.

What to do now

  1. Run npm uninstall @eryxenx/fca in every project that uses it.
  2. If a bot logged in with your Facebook password through the package, treat that account as exposed. From a clean device, change the Facebook password and end all other sessions.
  3. The package takes the Base32 2FA secret, not a one-time code. Reset two-factor authentication for the account from a clean device.
  4. If the login ran inside a build or a server, rotate the secrets stored on that machine.

What Vigilance would show

These examples show an install hold and the corresponding owner report.

Example install message

Vigilance blocked `@eryxenx/fca` 1.3.2. This version is too new or changed in a way Vigilance must check first.

Example owner report

Bad update

@eryxenx/fca 1.3.2

A Facebook chat library sends the account password and a 2FA secret to an outside server instead of Facebook.

See what to do now.

No security team? See who reads the alert.

Frequently asked questions

Does @eryxenx/fca send my Facebook password to Facebook directly?

The loginViaAPI flow sends it to minhdong.site first. That server returns the session cookies the package then installs for Facebook.

Which versions does GitHub mark as malware?

Versions 1.3.0, 1.3.1 and 1.3.2. The latest tag on npm points to 1.3.5, and my inspection found the same login flow in 1.3.5.

Who found this attack?

Amazon Inspector reported it. OpenSSF published MAL-2026-20276 on 20 November 2026 and GitHub reviewed it the same day.

Sources

  1. github.com/advisories/GHSA-qhrc-mfjw-xwq3
  2. api.osv.dev/v1/vulns/MAL-2026-20276
  3. registry.npmjs.org/@eryxenx/fca

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 172 attacks in the library · npm supply chain attacks · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start the free 14-day trialBrowse the attack library