Critical Malicious Code Vulnerability in polygon-src Package

polygon-src Updated 15 Dec 2025

Summary

15/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192575: Malicious code in polygon-src (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback