pypi · Malicious package advisory
Malwareloguru-utf8
GHSA-3vvq-gj6w-7mhw
Malicious code in loguru-utf8 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.7.3` ## Source: kam193 (e20933ac001bbe12fd7962f9e12208f3224c836f3deba7669a649165232e0b78) Package clones a popular package (loguru, jsonschema, ...). While it claims to have some additional features, the real change is an added compiled native library which is silently loaded in the background during the importing of the module. The exact behavior is unknown, but the binary is obfuscated --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-12-loguru-utf8 Reasons (based on the campaign): - clones-real-package - obfuscation - typosquatting - native-extension --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/loguru-utf8/MAL-2025-192435.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/loguru-utf8 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/loguru-utf8/MAL-2025-192435.json - https://www.virustotal.com/gui/file/da48508c771e9a12a4a235660800683f1df40d90b814df9c6e35a8713017f363/detection - https://github.com/advisories/GHSA-3vvq-gj6w-7mhw
Compromised versions (1)
- = 0.7.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.