Malicious Code Vulnerability in prometheus-fast-analysis Package
Summary
MAL-2026-1909: Malicious code in prometheus-fast-analysis (PyPI). Affects prometheus-fast-analysis versions 0.1.23. 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 prometheus-fast-analysis package is a Python library available on PyPI, designed for efficient analysis of Prometheus metrics. It offers features that simplify the processing and visualization of time-series data. However, this package has been identified as containing malicious code, which poses significant security risks to users who integrate it into their applications.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the prometheus-fast-analysis package. This code can potentially compromise the security of applications that utilize this library, leading to unauthorized access, data breaches, or other malicious activities. The specific version affected is 0.1.23, which has been flagged by security researchers for its harmful behavior.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall prometheus-fast-analysis
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 temporary workaround, consider removing the prometheus-fast-analysis package from your project until a secure version is released. You can uninstall it using the command: 'pip uninstall prometheus-fast-analysis'. Additionally, evaluate alternative packages that provide similar functionality without the associated risks.
Conclusion
The prometheus-fast-analysis package has been identified as containing malicious code, posing a significant security risk. Users are advised to update or remove the package to protect their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for prometheus-fast-analysis →
FAQ
It is a Python library designed for analyzing Prometheus metrics, facilitating the processing and visualization of time-series data.
The malicious code can compromise application security, potentially leading to unauthorized access and data breaches.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should immediately update the package to the latest version using 'pip install --upgrade prometheus-fast-analysis' or remove it from your project.
Detailed information can be found on the Open Source Vulnerability database or by visiting the GitHub repository of the malicious packages.