Critical Malicious Code Vulnerability in polymarket-provider Package
Summary
MAL-2026-1205: Malicious code in polymarket-provider (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-provider package is an npm library designed for interacting with the Polymarket platform, which allows users to trade on the outcome of future events. This package is utilized for its ability to facilitate market transactions and provide users with access to market data. However, it has been found to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the polymarket-provider 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 ramifications of this vulnerability are severe, as it may lead to data breaches and unauthorized control over affected systems. The malicious nature of the code has been classified under CWE-506, indicating that it contains embedded malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymarket-provider
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 workaround, users should ensure that the polymarket-provider package is uninstalled from their systems. This can be done using the command: npm uninstall polymarket-provider. Additionally, users should monitor their systems for any unusual activity and consider using security tools to scan for remaining threats.
Conclusion
The polymarket-provider package has been identified as containing malicious code that poses a significant security risk. Users are urged to uninstall the package immediately and take necessary precautions to secure their systems. Regular monitoring and the use of security tools are recommended to mitigate potential threats.
See every vulnerability recorded for polymarket-provider →
FAQ
The polymarket-provider package is an npm library that allows users to interact with the Polymarket platform for trading on future event outcomes.
A package containing malicious code can compromise the security of a system, allowing unauthorized access to sensitive information and control over the affected machine.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.
You should immediately uninstall the polymarket-provider package and rotate any secrets or keys stored on the affected computer.
Currently, there is no patched version available. Users are advised to uninstall the package and monitor their systems for any malicious activity.