{"id":"MAL-2026-842","summary":"Malicious code in amplify-python-logging (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2e12fee1c4154d81de6e4575af21aa6a760da4f5694746264a2de50e2c5782fe)\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-02-10T20:13:53.713910Z","published":"2026-02-10T19:22:57Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-02-10T19:54:11.880962204Z","versions":["0.0.0","0.1.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/amplify-python-logging","source":"kam193","modified_time":"2026-02-10T19:22:57.088379Z","sha256":"2e12fee1c4154d81de6e4575af21aa6a760da4f5694746264a2de50e2c5782fe"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/amplify-python-logging"}],"affected":[{"package":{"name":"amplify-python-logging","ecosystem":"PyPI","purl":"pkg:pypi/amplify-python-logging"},"versions":["0.0.0","0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/amplify-python-logging/MAL-2026-842.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}