NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

prometheus-api-metricsPyPI

Advisory published Updated

prometheus-api-metrics is a confirmed malicious PyPI package (MAL-2025-41719) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in prometheus-api-metrics (PyPI)

MAL-2025-41719
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall prometheus-api-metrics

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

699f6dcb24e4d605baf22f7213f799f520a1c6cfcafc4a3e296408f2eb1e06fe
a0a79e6f56595ff5e3f8c2ab936e7cec2fdefc1fb60a85208a92ac80e906415f
4d6fad96d400c0c4a33c79cdaf35d1232758fbfa2643cfe6e90febfa68413eb7

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for prometheus-api-metrics (version 1.0.0).

  2. If you installed it — respond

    Remove prometheus-api-metrics from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If prometheus-api-metrics was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. prometheus-api-metrics on PyPI has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2025-04214RLUA-2025-04800RLUA-2025-05626

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks prometheus-api-metrics-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

prometheus-api-metrics (PyPI) malicious package — MAL-2025-41719 | O3 Security