pypi · Malicious package advisory
Malwareutilitypyfunc
GHSA-9q5x-2qw3-55c3
Malicious code in utilitypyfunc (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.0` ## Source: kam193 (2aaf64ae76493cf55c8b9e418bc3408f9e309b5c6a590a2ad528beb5ae8dbcc0) Importing the package starts the thread that gets and executes code from the remote server. The package description suggests a rather spam than malicious intentions. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-12-utilitypyfunc Reasons (based on the campaign): - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/utilitypyfunc/MAL-2025-999.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/utilitypyfunc - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/utilitypyfunc/MAL-2025-999.json - https://github.com/advisories/GHSA-9q5x-2qw3-55c3
Compromised versions (1)
- = 0.1.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.