Malicious Code Detected in fxa-auth-server Package
Summary
MAL-2025-6089: Malicious code in fxa-auth-server (npm). Affects fxa-auth-server versions >= 1.0.1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The fxa-auth-server package is a component of the Firefox Accounts authentication system, primarily used for managing user accounts and authentication processes in web applications. It is designed to facilitate secure user login and account management. However, this package has been identified to contain malicious code that communicates with a domain associated with harmful activities, posing a significant security risk to systems utilizing it.
Vulnerability Detail
The vulnerability in the fxa-auth-server package stems from the presence of embedded malicious code that can compromise the integrity of any system where the package is installed. This malicious code can lead to unauthorized access, data breaches, and potential control over the affected system. The vulnerability was introduced in version 1.0.1 and affects all versions from 0 onwards. Users are advised to treat any system with this package as fully compromised, necessitating immediate action to secure sensitive information.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fxa-auth-server
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, there are no specific workarounds to mitigate the effects of this vulnerability other than removing the package entirely. Users should ensure that their systems are secure and monitor for any unusual activity.
Conclusion
The fxa-auth-server package has been identified as containing malicious code that poses a significant security risk. Users must take immediate action to remove the package and secure their systems. Monitoring tools like Vulert can help keep your applications safe from future vulnerabilities.
See every vulnerability recorded for fxa-auth-server →
FAQ
fxa-auth-server is a package used for managing user authentication in web applications, specifically within the Firefox Accounts system.
The malicious code can lead to unauthorized access, data breaches, and potential control over your system, making it critical to act quickly.
You should immediately remove the fxa-auth-server package and rotate any sensitive information stored on the affected system.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.