pypi · Malicious package advisory
Malwarepretty-cli-logger
GHSA-frv7-67rx-fpw9
Malicious code in pretty-cli-logger (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (94cd11911ce2a0937d9e56087ce9487db18da5bb20df7f1f8948f8356d65c31d) Contains an obfuscated code that will download and run a remote script. At the time of the analysis, the remote URLs were delivering empty results --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-04-pretty-cli-logger Reasons (based on the campaign): - Downloads and executes a remote malicious script. - obfuscation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pretty-cli-logger/MAL-2025-191816.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pretty-cli-logger - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pretty-cli-logger/MAL-2025-191816.json - https://github.com/advisories/GHSA-frv7-67rx-fpw9
Compromised versions (1)
- = 1.0.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.