Critical Malicious Code Vulnerability in grafana-polystat-panel Package
Summary
MAL-2025-5778: Malicious code in grafana-polystat-panel (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 grafana-polystat-panel is an npm package designed to enhance Grafana dashboards by providing a visual representation of data in a polystat format. It allows users to create dynamic and informative displays for monitoring various metrics. However, this package has been identified to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from embedded malicious code within the grafana-polystat-panel package. This code can lead to a complete compromise of the affected system, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code poses significant risks, as it can facilitate further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall grafana-polystat-panel
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, if you cannot immediately remove the package, consider isolating the affected application from sensitive data and networks until the package can be safely removed. Additionally, rotate all secrets and keys stored on the compromised system from a secure environment.
Conclusion
The grafana-polystat-panel package contains embedded malicious code that poses a severe security risk. Immediate action is required to remove the package and secure any compromised systems. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for grafana-polystat-panel →
FAQ
It is an npm package used to create visual representations of data in Grafana dashboards.
The malicious code can compromise the system, allowing unauthorized access to sensitive information.
You can use Vulert's playground at Vulert Scanner to check for vulnerabilities without needing to sign up.
Remove the grafana-polystat-panel package immediately and rotate any sensitive information stored on the affected system.
Check the official npm repository for any updates or patches for the grafana-polystat-panel package.