MAL-2026-18759
Malicious code in chromacli (PyPI)
Impact
The package presents itself as a terminal color library, but its exported API (Color.paint / print / __call__) contains an import-reachable Windows code path that downloads an unsigned executable from the anonymous file-sharing host gofile.io (https://store-eu-par-12.gofile.io/download/web/a2a60e90-dea4-4c6c-9a02-be5ede78dc08/solace.exe), writes it to %TEMP%\SolaceRuntime\solace.exe, and launches it detached via subprocess.Popen with DETACHED_PROCESS. Immediately before the drop, the code invokes PowerShell with -NoProfile -ExecutionPolicy Bypass and CREATE_NO_WINDOW to call Add-MpPreference -ExclusionPath for the SolaceRuntime folder and -ExclusionProcess for solace.exe, suppressing Microsoft Defender detection of the staged binary. The behavior is gated by os.name == 'nt' and has no connection to the package's stated color-printing purpose. The payload is unsigned, unverified, hosted on an anonymous share, and the Defender-exclusion-before-execute pattern is characteristic of Windows malware droppers. 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): - Downloads and executes a remote executable. - malware - infostealer - action-hidden-in-lib-usage
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | chromacli | unknown | none recorded |
Weakness classification
References
- https://osv.dev/vulnerability/MAL-2026-18759
- https://pypi.org/project/chromacli/0.1.2/
- https://pypi.org/project/chromacli/0.1.0/
- https://bad-packages.kam193.eu/pypi/package/chromacli
- https://pypi.org/project/chromacli/0.1.1/
- https://pypi.org/project/chromacli/0.1.3/
- https://pypi.org/project/chromacli/0.1.4/