Critical Malicious Code Vulnerability in mcp-polymarket Package
Summary
MAL-2025-191465: Malicious code in mcp-polymarket (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 mcp-polymarket package is an npm library designed for interacting with the Polymarket platform, which allows users to trade on the outcome of various events. This package is utilized in applications that require real-time data and interaction with the Polymarket API. However, it has been found to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the mcp-polymarket 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 origin of this malicious code is linked to a known malware source, and its ramifications include potential data breaches and complete control of the affected system by external entities. Users are advised to treat any system running this package as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mcp-polymarket
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 your system. It is essential to monitor your system for any signs of compromise after the removal.
Conclusion
The mcp-polymarket package contains malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any compromised systems. Users should remain vigilant and utilize tools like Vulert to monitor for future vulnerabilities.
See every vulnerability recorded for mcp-polymarket →
FAQ
You should immediately uninstall the package using the command 'npm uninstall mcp-polymarket' and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential exploitation of sensitive information.
No, there is currently no patch available for this package. The only solution is to uninstall it.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure that you only install packages from trusted sources.