prometheus-api-metrics (PyPI) · Malicious Code
Affects prometheus-api-metricsSource GCVE Database
Malicious package : remove prometheus-api-metrics and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:30 UTC
Malicious package
Published to PyPI · OSV MAL-2025-41719
What to do
Remove prometheus-api-metrics from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIprometheus-api-metricspkg:pypi/prometheus-api-metricsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The package prometheus-api-metrics version 1.0.0 on PyPI contains malicious code. This is identified as a malware incident involving a malicious package distributed through the Python Package Index.