Malicious Code Detected in @mcp-use/inspector Package - Security Alert
Summary
MAL-2025-190868: Malicious code in @mcp-use/inspector (npm). Affects @mcp-use/inspector versions 0.6.2 – 0.6.3. 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 @mcp-use/inspector package is a Node.js library used for inspecting and analyzing various aspects of applications. It provides developers with tools to enhance their application's performance and security. However, recent findings have revealed that this package contains malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the @mcp-use/inspector package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code can lead to unauthorized access, data breaches, or other malicious activities. The issue was identified through a security scan by Amazon Inspector, which flagged the package due to its harmful content. Users of versions 0.6.2 and 0.6.3 are particularly at risk.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @mcp-use/inspector
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 @mcp-use/inspector package from your project until a secure version is confirmed. You can do this by running: npm uninstall @mcp-use/inspector.
Conclusion
The discovery of malicious code in the @mcp-use/inspector package highlights the importance of regularly monitoring and updating open-source dependencies. Users are urged to take immediate action to secure their applications by updating or removing the affected package.
See every vulnerability recorded for @mcp-use/inspector →
FAQ
It is a Node.js library designed for inspecting and analyzing application performance and security.
The malicious code was identified through a security scan conducted by Amazon Inspector.
The risks include unauthorized access to sensitive data, potential data breaches, and other malicious activities.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If immediate updates are not possible, consider removing the package as a temporary measure until a secure version is available.