loguru-utf8 (PyPI) · Malicious Code
Affects loguru-utf8Source GCVE Database
Malicious package : remove loguru-utf8 and rotate any secrets on hosts that installed it.
Data as of 29 Nov 2026, 11:49 UTC
Malicious package
Published to PyPI · OSV MAL-2025-192435
What to do
Remove loguru-utf8 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIloguru-utf8 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The loguru-utf8 package on PyPI is a malicious typosquatting package that clones the legitimate loguru package but includes an obfuscated native binary loaded silently during import. Its exact behavior is unknown, but it is identified as having malicious intent consistent with infostealers.