Skip to main content
Menu
Advisories

Malicious code in chromacli (PyPI)

MAL-2026-18759Published Updated OpenSSFMalware

Description

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (faa55f651aa1c9e23d9cbff405b6ca52086c950c76e05e04b8dd49f74dd19959)

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 (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.

Source: kam193 (bda96ece61753bb78748a2c20ac00ec7bfec0de9f6c67dded724f1046fd2c17d)

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 versions

References