Skip to main content
MalwarePublished

logger-libs (PyPI) · Malicious Code

Affects logger-libsSource GCVE Database

0

Malicious package : remove logger-libs and rotate any secrets on hosts that installed it.

Data as of 9 Nov 2026, 10:04 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-18778

What to do

Remove logger-libs 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

ProductAffectedFixed in
PyPIlogger-libsAffected
  • 0.4.1 – 0.4.6
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The logger-libs package on PyPI contains malicious code in versions 0.4.1, 0.4.2, 0.4.3, 0.4.5, and 0.4.6. The malware is obfuscated and spreads its payload across multiple files, reconstructing it at runtime. It downloads and executes remote malicious scripts and includes code to execute remote commands on the victim's machine, likely limited to specific commands.

References

Community reviews

Loading reviews…