Critical Malicious Code Vulnerability in polygon-bitquery-api Package
Summary
MAL-2026-1204: Malicious code in polygon-bitquery-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 polygon-bitquery-api is an npm package designed to facilitate interactions with the Bitquery API, allowing developers to access blockchain data efficiently. However, this package has been identified as containing malicious code that compromises the security of any system it is installed on. Users of this package should be aware of its potential risks and take immediate action to safeguard their systems.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the polygon-bitquery-api package. This code can fully compromise any computer that has the package installed, leading to unauthorized access to sensitive information, including secrets and keys. The origin of this malicious code has been traced back to a known malware source, making it imperative for users to treat any system running this package as compromised. The ramifications of this vulnerability are severe, as it can lead to data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polygon-bitquery-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
There are no effective workarounds for this vulnerability other than removing the package and securing your system. Ensure that you monitor your system for any signs of compromise.
Conclusion
The discovery of malicious code within the polygon-bitquery-api package poses a serious threat to users and their systems. Immediate action is required to remove the package and secure any compromised information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for polygon-bitquery-api →
FAQ
You should remove the package immediately and rotate any secrets or keys stored on your system.
Look for unusual activity, unauthorized access attempts, or changes to your files and configurations.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you to issues in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities using just your package-lock.json.
If not addressed, this vulnerability can lead to significant data breaches, loss of sensitive information, and potential legal ramifications.