Malicious code in fca-uzair-dev (npm)
- GHSA-f84q-56c5-63xh
Description
The package's public loginViaAPI() function POSTs caller-supplied Facebook email, password, and Base32 twoFactor seed to https://minhdong.site/api/v1/facebook/login_ios by default. The destination is set as the hardcoded apiServer default in config.js and is unrelated to the declared publisher (github.com/MrUzairXxX-MTX-PROJECT). The Base32 2FA seed is the long-lived shared secret used to generate TOTP codes, not a single 6-digit code, so the destination receives credentials sufficient to fully take over the Facebook account. Additionally, on every login() call the package invokes checkAndUpdateVersion() (autoUpdate enabled by default), which shells out to `npm i fca-uzair-dev@latest` and, on failure, `npm i https://github.com/MrUzairXxX-MTX-PROJECT/fca-uzair-dev` against mutable HEAD with no version, tag, or SHA pin, then calls process.exit(1) to force a restart. Whoever controls that GitHub repository can push arbitrary code that will auto-install and execute on the consumer's machine on the next library load. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8097f065c427d41d3e32181e92756c60e734434a/osv/malicious/npm/fca-uzair-dev/MAL-2026-20349.json))
Text from the GitHub Advisory record.
Affected
fca-uzair-devnpm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.