Critical Malicious Code Vulnerability in xboxlive-auth Package
Summary
MAL-2025-192578: Malicious code in xboxlive-auth (npm). Affected versions are not published. 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 xboxlive-auth package is an npm library designed to facilitate authentication with Xbox Live services. It is commonly used in applications that require user authentication for Xbox Live accounts. However, this package has been compromised, embedding malicious code that poses significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the xboxlive-auth package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code is classified under CWE-506, indicating that it contains embedded malicious code. Users should be aware that simply removing the package may not eliminate all traces of the malicious software, as full control of the system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xboxlive-auth
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
There are no effective workarounds for this vulnerability other than removing the package and securing the system. It is recommended to monitor your application for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities without requiring code access.
Conclusion
The xboxlive-auth package has been compromised with malicious code, posing a significant threat to any system that has it installed. Immediate action is required to remove the package and secure sensitive information. Users are encouraged to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their applications.
See every vulnerability recorded for xboxlive-auth →
FAQ
xboxlive-auth is an npm package used for authenticating users with Xbox Live services in applications.
The malicious code can compromise the entire system, allowing unauthorized access to sensitive information.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.
Immediately remove the xboxlive-auth package and rotate any secrets or keys stored on the affected system.
Currently, there is no patched version available. Users should focus on removing the package and securing their systems.