VYPR

pypi · Malicious package advisory

Malware

utf-cleaner

GHSA-43cx-6xm7-3f8r

Malicious code in utf-cleaner (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 3.4.1`

## Source: kam193 (09b9e5c5deafbf756df5201976fdbdc3c61c10e815234df9aeb32764a3cd9652)
During import, the package silently downloads and executes remote code. This code starts a web server in the separate process and listens for commands to execute from a C2 server, as well as periodically sends a beacon to C2 allowing discovery and finishing execution.

This package is closely related to Github repository https://github.com/xcummins/tg-outline-seller/ from the same author, where it's used as dependency effectively compromising its users.


---

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


Campaign: 2026-03-old-utf-cleaner


Reasons (based on the campaign):


 - Downloads and executes a remote malicious script.


 - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

## Source: ossf-package-analysis (2f3468ce127ee2c3a221f8b2331c633be1c43772101c4baeca6ab4e47710b9ac)
The OpenSSF Package Analysis project identified 'utf-cleaner' @ 3.4.1 (pypi) as malicious.

It is considered malicious because:

- The package executes one or more commands associated with malicious behavior.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/utf-cleaner/MAL-2025-73.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/utf-cleaner
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/utf-cleaner/MAL-2025-73.json
- https://github.com/xcummins/gits/blob/main/gits/__init__.py#L24-L32
- https://github.com/xcummins/tg-outline-seller/blob/66e1a1c348e830648d540903eda19518a5a3b8be/requirements.txt#L3
- https://github.com/advisories/GHSA-43cx-6xm7-3f8r

Compromised versions (1)

  • = 3.4.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.