Critical Malicious Code Vulnerability in polymarket-trade-bot-api Package
Summary
MAL-2026-1206: Malicious code in polymarket-trade-bot-api (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 polymarket-trade-bot-api is an npm package designed for interacting with the Polymarket trading platform. It allows users to automate trades and manage their trading strategies effectively. However, this package has been compromised, leading to severe security risks for any system utilizing it. The malicious code embedded within can grant unauthorized access to sensitive information and system controls.
Vulnerability Detail
This vulnerability stems from the presence of malicious code within the polymarket-trade-bot-api package. It has been identified as a significant threat, as any computer running this package is considered fully compromised. The malicious code can expose all secrets and keys stored on the affected system, potentially allowing attackers to gain complete control. The origin of this vulnerability is linked to the package's inclusion of harmful code that violates security protocols, classified under CWE-506, which pertains to embedded malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymarket-trade-bot-api
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 effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely. Users should ensure that their systems are secure and monitor for any unauthorized access.
Conclusion
The polymarket-trade-bot-api package has been compromised with malicious code, posing a significant security threat to any system using it. Immediate action is required to remove the package and secure sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for polymarket-trade-bot-api →
FAQ
Immediately uninstall the package using 'npm uninstall polymarket-trade-bot-api' and rotate all sensitive keys and secrets.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
Failing to address this vulnerability can lead to unauthorized access to sensitive information and complete control over your system by malicious actors.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
While many npm packages are safe, it is essential to conduct thorough reviews and use monitoring tools to ensure the security of your dependencies.