{"id":"MAL-2026-20349","summary":"Malicious code in fca-uzair-dev (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9ca6e39d7d9c9db4182e90ede8fab1e41c641cb8c459323cd9e61eef25788d84)\nThe 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.\n","modified":"2026-11-23T08:45:03.862400304Z","published":"2026-11-23T08:22:33Z","database_specific":{"malicious-packages-origins":[{"versions":["1.2.0"],"id":"IN-MAL-2026-023052","import_time":"2026-11-23T08:39:21.20026856Z","modified_time":"2026-11-23T08:22:33Z","sha256":"9ca6e39d7d9c9db4182e90ede8fab1e41c641cb8c459323cd9e61eef25788d84","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fca-uzair-dev/v/1.2.0"}],"affected":[{"package":{"name":"fca-uzair-dev","ecosystem":"npm","purl":"pkg:npm/fca-uzair-dev"},"versions":["1.2.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"module/loginHelper.js","sha256":"b58cf427ba1f2fee2af2bd62b7e0c946857b5334b6c553349d68849b29250462","tlsh":"b433b71d71fb1025057320b8678ba011756aa0533588cde9bb9ca3346f8552acebfbdb"},{"path":"func/checkUpdate.js","sha256":"93b72fc6163bc7539e8082f4ea26115df50908090cb268a4261063bd0be8d206","tlsh":"61e1829b16fb513303b7626e9a4fa51173e3d1032228ceb4b6dc63517f8242c56ae7a4"},{"path":"src/remote/remoteClient.js","sha256":"b3b67a5eead971c4575b2d910858955937cec7bc638c49383dda93726e9f6ccf","tlsh":"6c51ab5e94f3612243b3202e4b9bc4267122d153231eee907b8d83a0df696ec92e37d5"}],"package_integrity":[{"filename":"fca-uzair-dev-1.2.0.tgz","hashes":{"sha1":"4081bffbad93cc97af819fa98c0e52b9435cb14d","sha512_sri":"sha512-d93qbejbKz1I9XEbV70z1AYcOpoLG4z1fAkOz/8xhl+u5e2H+KHxTiaC+xbvBHT7/kxP7pyr5i9apGjeCb5/IQ=="}}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fca-uzair-dev/MAL-2026-20349.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}