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

rainbowcolorsPyPI

Advisory published Updated

rainbowcolors is a confirmed malicious PyPI package (MAL-2026-18762) that steals credentials and exfiltrates sensitive data (malicious version 0.1.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in rainbowcolors (PyPI)

MAL-2026-18762
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall rainbowcolors

What this malware does

The package advertises itself as an ANSI-color helper but on Windows the first call to any Color method (print/paint/call) downloads an opaque executable (solace.exe) from an anonymous gofile.io file-share URL (https://store-eu-par-12.gofile.io/download/web/a2a60e90-dea4-4c6c-9a02-be5ede78dc08/solace.exe) into %TEMP%\SolaceRuntime and launches it with DETACHED_PROCESS. Before and after the download the module shells out to PowerShell (-NoProfile -ExecutionPolicy Bypass, with CREATE_NO_WINDOW) to call Add-MpPreference -ExclusionPath and -ExclusionProcess for the drop folder and executable, pre-registering Microsoft Defender exclusions to evade antivirus. The fetched binary bears no relation to the advertised color-printing functionality and is retrieved from a mutable anonymous host with no integrity check.

Package hides a code downloading and installing an infostealer.

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

Campaign: 2026-11-chromacli

Reasons (based on the campaign):

  • infostealer

  • Downloads and executes a remote executable.

  • action-hidden-in-lib-usage

  • malware

Malicious versions

1 flagged
0.1.0

Indicators of compromise (SHA-256)

c836e6786c8347157c05d664afcc653b445814cf73f36bc2a5157e41528ffbdd
07074e88a963713e68aac58354c373b9ef70d3de19b85d0c1f4a36e043b076da

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for rainbowcolors (version 0.1.0).

  2. If you installed it — respond

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

Campaign

IN-MAL-2026-0225622026-11-chromacli

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter

Detect & block this

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

rainbowcolors (PyPI) malicious package — MAL-2026-18762 | O3 Security