Critical Malicious Code Vulnerability in polygon-src Package
Summary
MAL-2025-192575: Malicious code in polygon-src (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-src package is a JavaScript library available through npm, primarily used for various development tasks in Node.js environments. It is designed to facilitate specific functionalities within applications, but it has been identified as containing malicious code that compromises the security of any system it is installed on. This vulnerability poses a significant risk to developers and organizations relying on this package for their projects.
Vulnerability Detail
The vulnerability originates from the presence of malicious code embedded within the polygon-src 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 implications of this vulnerability are severe, as it can lead to data breaches and loss of control over affected systems. The malicious nature of the code is 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 polygon-src
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 available for this vulnerability other than complete removal of the package. It is crucial to monitor your system for any signs of compromise and take necessary actions to secure your environment.
Conclusion
The polygon-src package has been identified as containing malicious code that poses a serious security risk. Users are advised to uninstall the package immediately and take steps to secure their systems. Regular monitoring for vulnerabilities using tools like Vulert can help prevent future incidents.
See every vulnerability recorded for polygon-src →
FAQ
polygon-src is a JavaScript library available on npm, used for various development tasks in Node.js applications.
The vulnerability involves embedded malicious code that can compromise any system where the package is installed, leading to potential data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Immediately uninstall the polygon-src package using the command 'npm uninstall polygon-src' and rotate any sensitive information stored on the affected system.
No, there is currently no patched version available for the polygon-src package. The only course of action is to remove it from your system.