# GHSA-6RR6-PX42-FHX3: Malicious code in logger-prefix-buffer-lexer (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-17
- Modified: 2026-11-17

## Affected versions

- logger-prefix-buffer-lexer (PyPI): 1.0.0
- logger-prefix-buffer-lexer (PyPI): 1.0.0.post1

## Description

## Source: kam193 (4424dfbb8d52b8ba93a3c140178736d78dcd74238c52b7d861434b70b0314796)
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))

## References

- https://bad-packages.kam193.eu/pypi/package/logger-prefix-buffer-lexer
- https://github.com/ossf/malicious-packages/blob/0badcb6af2bd72546bd3496f36f7174350855fbe/osv/malicious/pypi/logger-prefix-buffer-lexer/MAL-2026-20059.json
- https://github.com/advisories/GHSA-6rr6-px42-fhx3

Page: https://cve.now/GHSA-6RR6-PX42-FHX3

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
