Malicious code in fca-uzair-dev (npm)
Description
Source: amazon-inspector (9ca6e39d7d9c9db4182e90ede8fab1e41c641cb8c459323cd9e61eef25788d84)
The package's public loginViaAPI() function POSTs caller-supplied Facebook email, password, and Base32 twoFactor seed to minhdong.site/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.
---