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

termcolourPyPI

Advisory published Updated

termcolour is a confirmed malicious PyPI package (MAL-2024-6103) that executes malicious code on install (malicious versions 0.0.1, 3.3.1, 3.3.3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in termcolour (PyPI)

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

Malicious versions

3 flagged
0.0.13.3.13.3.3

Indicators of compromise (SHA-256)

77c613c1d7ffe5cbff83deb07456de34588d5fd8e0411d6129e170129fc8a5ed
b153d0424e2fd8e0bd965b056e3b6baf311fc91b41c36dff6c850c1eea8f940c
f1e187f97ba67a5062023f8c6bfa03716caefaea4bdc18cd35857ba1728e92be

Detection & response playbook

Malicious package
  1. Find it

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

  2. If you installed it — respond

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

Campaign

RLMA-2024-04906RLUA-2024-09374RLUA-2025-06595

References

Credits

  • ReversingLabs · finder

Detect & block this

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

termcolour (PyPI) malicious package — MAL-2024-6103 | O3 Security