MAL-2026-20059

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/logger-prefix-buffer-lexer/MAL-2026-20059.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20059
Published
2026-11-17T09:15:31Z
Modified
2026-11-17T10:15:03Z
Summary
Malicious code in logger-prefix-buffer-lexer (PyPI)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "pypi/GENERIC-standard-pypi-install-pentest/logger-prefix-buffer-lexer",
            "import_time":  "2026-11-17T10:12:19.688132618Z",
            "modified_time":  "2026-11-17T09:15:31.175272Z",
            "sha256":  "4424dfbb8d52b8ba93a3c140178736d78dcd74238c52b7d861434b70b0314796",
            "source":  "kam193",
            "versions":  [
                "1.0.0",
                "1.0.0.post1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / logger-prefix-buffer-lexer

Package

Name
logger-prefix-buffer-lexer
View open source insights on deps.dev
Purl
pkg:pypi/logger-prefix-buffer-lexer

Affected ranges

Affected versions

1.*
1.0.0
1.0.0.post1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/logger-prefix-buffer-lexer/MAL-2026-20059.json"