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

comp-colorsPyPI

Advisory published Updated

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

Malicious code in comp-colors (PyPI)

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

What this malware does

The package presents itself as a local color-palette toolkit but exports a public colors() function in remote.py that POSTs to the hardcoded endpoint https://www.fastsyncapi.com/v1/colors, writes the returned bytes to a NamedTemporaryFile with a server-controlled filename/extension, and executes them without any hash or signature verification. On Windows the code silently installs.msi responses via msiexec.exe /i /qn /norestart and then launches a fixed binary path; on other platforms it invokes os.startfile / xdg-open / open on the dropped file. A companion update() function collects the installer's hostname, a SHA-256 HWID derived from hostname and MAC address (uuid.getnode()), and locale-derived country code and POSTs them along with a caller-supplied activation key to https://www.fastsyncapi.com/v1/update; the response token is persisted at ~/.config/npm-packages/vtoken.json (Linux) or %LOCALAPPDATA%/npm-packages/vtoken.json (Windows) and reused by the dropper. All classes, functions, parameters, and locals across src/pycolored/* are renamed to random tokens (e.g. _LBOfQSgdKR5ic9eT, _ji0wfcMCs1P5dOqg), and the undocumented colors and update symbols are exported in __all__ while the README only advertises a benign colorsv1 helper. The npm-packages token directory inside a Python package indicates cross-registry actor infrastructure reuse.

The package hides code to download and execute a remote executable from a newly created fastsyncapi[.]com domain. It is disguised as a remote 'fast color helper,' as opposed to the local helper, also included in the code, that only mimics any functionality. The malicious part is not immediately active: to download the binary, a key is required, which was not included in the analyzed versions. The downloaded binary is executed, and at least in one case disguised as 'AppHostRegistrationVerifier'. The package is likely prepared for multi-stage infection, but the trigger code using it was not identified.

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

Campaign: 2026-07-colorstack

Reasons (based on the campaign):

  • Downloads and executes a remote executable.

  • action-hidden-in-lib-usage

Malicious versions

1 flagged
0.1.5

Indicators of compromise (SHA-256)

1aad1b8a73afbe28c708c4e19a1495793d1214980f72357a13d07b98f1f9a060
7ac2a6fc7368c6b3ed1bfac9a3a9ea25e9a54ba5d980a48767c811e03fc72566

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for comp-colors (version 0.1.5).

  2. If you installed it — respond

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

Campaign

2026-07-colorstackIN-MAL-2026-011182

References

Credits

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

Detect & block this

O3 blocks comp-colors-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

comp-colors (PyPI) malicious package — MAL-2026-10986 | O3 Security