MAL-2026-20276: Malicious code in @eryxenx/fca (npm)
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- @eryxenx/fca
https://osv.dev/vulnerability/MAL-2026-20276 ↗
Malicious code in @eryxenx/fca (npm) --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (dc1565a3c533cd9f801edea2505efe5a04f5da569e3be9ef33b4e1271e7a5266) The package is published as a Facebook Chat API client but its login flow (loginViaAPI in module/loginHelper.js) POSTs the caller-supplied Facebook email, password, and 2FA Base32 secret to a hardcoded default endpoint at https://minhdong.site/api/v1/facebook/login_ios. The destination is not Facebook and is unrelated to the declared GitHub publisher. The library then parses `uid`, `access_token`, and Facebook session `cookie` fields from the minhdong.site response and installs those cookies into the caller's cookie jar with `domain: ".facebook.com"` as the live Facebook session. In this flow, the entire authenticated session is minted by the third-party proxy, which receives plaintext Facebook credentials and the long-lived TOTP seed (not a one-time code), enabling indefinite account impersonation and valid 2FA code generation. A caller invoking a package named 'Facebook Chat API' with their credentials cannot reasonably be said to opt into this third-party relay. Affected: npm:@eryxenx/fca No fixed version published yet References: https://www.npmjs.com/package/@eryxenx/fca/v/1.3.2 https://www.npmjs.com/package/@eryxenx/fca/v/1.3.1 https://www.npmjs.com/package/@eryxenx/fca/v/1.3.0