Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

bettercolorPyPI

bettercolor is a confirmed malicious PyPI package (MAL-2024-4795) that executes malicious code on install (malicious versions 1, 2, 3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in bettercolor (PyPI)

MAL-2024-4795
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall bettercolor

Malicious versions

3 flagged
123

Indicators of compromise (SHA-256)

ab82f8fcff2f39f0903305b6e3f8dd15b4a1fa9d84a6e083a0fa50e3afdb2ece
f1ec4271cc6cd13936f5eaaff64ede671c26774461aa0f801edd9296b9581342

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for bettercolor (3 malicious versions).

  2. If you installed it — respond

    Remove bettercolor 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 bettercolor 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. bettercolor on PyPI has been identified as a malicious package (versions 1, 2, 3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-03575RLUA-2024-07854

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks bettercolor-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

bettercolor (PyPI) malicious package — MAL-2024-4795 | O3 Security