logguru (PyPI) · Malicious Code
Affects logguruSource GCVE Database
Malicious package : remove logguru and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:55 UTC
Malicious package
Published to PyPI · OSV MAL-2025-191783
What to do
Remove logguru 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 |
|---|---|---|
| PyPIlogguru | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A malicious PyPI package named 'logguru' is a clone of the legitimate 'loguru' package. It contains added code that downloads and executes a remote executable, with sandbox analysis showing attempts to steal browser data. This typosquatting campaign is designed to act as an infostealer.