Malicious Code Vulnerability in prometheus-analysis Package

prometheus-analysis Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1907: Malicious code in prometheus-analysis (PyPI). Affects prometheus-analysis versions 0.1.0 – 0.1.2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The prometheus-analysis package is a Python library available on PyPI, designed for analyzing Prometheus metrics. It provides functionalities that help developers and data analysts to extract insights from monitoring data. However, this package has been identified to contain malicious code, posing significant security risks to users who integrate it into their applications.

Vulnerability Detail

The vulnerability originates from malicious code embedded within specific versions of the prometheus-analysis package (0.1.0, 0.1.1, 0.1.2). This code can lead to unauthorized access, data breaches, or system compromise. Users who have installed these versions may unknowingly expose their systems to attackers, resulting in potential data loss or manipulation.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall prometheus-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, users can remove the affected versions of the package from their environment. This can be done using the command: 'pip uninstall prometheus-analysis'. It is advisable to avoid using the package until a secure version is confirmed.

Conclusion

The discovery of malicious code in the prometheus-analysis package highlights the importance of monitoring open-source dependencies for vulnerabilities. Users are urged to take immediate action by updating or removing affected versions to safeguard their applications.

See every vulnerability recorded for prometheus-analysis →

Share this vulnerability

FAQ

prometheus-analysis is a Python library for analyzing Prometheus metrics, helping users extract insights from monitoring data.

The affected versions are 0.1.0, 0.1.1, and 0.1.2.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

You should uninstall the affected version and update to a patched version as soon as possible.

More information can be found on the GitHub repository of the Open Source Security Foundation or by checking the vulnerability details on Vulert.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall prometheus-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 →

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