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

colorbytesPyPI

Advisory published Updated

colorbytes is a confirmed malicious PyPI package (MAL-2024-9962) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in colorbytes (PyPI)

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

What this malware does

Extremely obfuscated code starts when importing the module, and then downloads the next stages and configuration from pastebin. They include a whole range of infostealer activity, from exfiltrating browser files up to a keylogger and registering mouse clicks.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-08-old-colorbytes

Reasons (based on the campaign):

  • obfuscation

  • Downloads and executes a remote executable.

  • crypto-related

  • infostealer

Malicious versions

2 flagged
1.0.01.0.1

Indicators of compromise (SHA-256)

8a56539943a10b763ff4f1bc5a62dc4362fc4715f21e728c9c033e29ae5a11fb
d93e7f301249423b016f93f47615a5a403640cc069c10e29630dad381adacf2e
aa4677648d784f5460e80091c656719fc082e6ed9028940b407c97b0e78ff008
f450925ef3e67dbcddad18020f2d442ac8732fdd79d84a4ef60eb15d5091aaf9
157a22714107b31e25dc43e11905d416f8417e77fc8bd3fb52943840d74e2fd7
d0cc09f53bce466ffe28a700f8b7816355f51f603022a18dec203e3c7051c0c5

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for colorbytes (2 malicious versions).

  2. If you installed it — respond

    colorbytes is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

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

Campaign

RLMA-2024-080182024-08-old-colorbytesRLUA-2026-00212

References

Credits

  • Kamil Mańkowski (kam193)
  • ReversingLabs · finder

Detect & block this

O3 blocks colorbytes-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

colorbytes (PyPI) malicious package — MAL-2024-9962 | O3 Security