Skip to main content
MalwarePublished Updated

prometheus-api-metrics (PyPI) · Malicious Code

Affects prometheus-api-metricsSource GCVE Database

0

Malicious package : remove prometheus-api-metrics and rotate any secrets on hosts that installed it.

Data as of 22 Nov 2026, 02:30 UTC

Classification

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

ProductAffectedFixed in
PyPIprometheus-api-metricspkg:pypi/prometheus-api-metricsOther threatsAffected
  • =1.0.0
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.

References

Community reviews

Loading reviews…