Malicious code in logger-prefix-buffer-lexer (PyPI)
- GHSA-6rr6-px42-fhx3
Description
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose. --- Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: GENERIC-standard-pypi-install-pentest Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - The package overrides the install command in setup.py to execute malicious code during installation. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0badcb6af2bd72546bd3496f36f7174350855fbe/osv/malicious/pypi/logger-prefix-buffer-lexer/MAL-2026-20059.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
logger-prefix-buffer-lexerPyPI
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.