{"id":"MAL-2026-20059","summary":"Malicious code in logger-prefix-buffer-lexer (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4424dfbb8d52b8ba93a3c140178736d78dcd74238c52b7d861434b70b0314796)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-11-17T10:15:03.209526262Z","published":"2026-11-17T09:15:31Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0","1.0.0.post1"],"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"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/logger-prefix-buffer-lexer"}],"affected":[{"package":{"name":"logger-prefix-buffer-lexer","ecosystem":"PyPI","purl":"pkg:pypi/logger-prefix-buffer-lexer"},"versions":["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"}}],"schema_version":"1.9.2","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}