Malicious Code Detected in auth0-mcp-server Package
Summary
MAL-2025-15093: Malicious code in auth0-mcp-server (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 auth0-mcp-server package is an npm module designed to facilitate server-side authentication for applications using Auth0. It provides developers with tools to manage user sessions and secure APIs. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the auth0-mcp-server package. This code can potentially compromise the security of applications, allowing unauthorized access to sensitive data or enabling other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall auth0-mcp-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
As a temporary workaround, consider removing the auth0-mcp-server package from your project until a secure version is available. You can do this by running: npm uninstall auth0-mcp-server. This will help mitigate the risk of exploitation while you seek a safer alternative.
Conclusion
The discovery of malicious code in the auth0-mcp-server package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are urged to take immediate action to mitigate potential risks by updating or removing the affected package.
See every vulnerability recorded for auth0-mcp-server →
FAQ
The auth0-mcp-server package is an npm module that provides server-side authentication tools for applications using Auth0.
The malicious code can compromise application security, potentially allowing unauthorized access to sensitive information.
You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your package-lock.json file to check for vulnerabilities.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities without requiring code access or installation.
If you cannot update the package, consider removing it from your project as a temporary measure to reduce security risks.