{"id":"MAL-2025-191844","summary":"Malicious code in python3-autopep8 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (36e35b782ec2e15a96c4b7c9d9eb5bacbbf3ded26b6b3ee72f2f698b1622c241)\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":"2025-12-03T00:31:26.118347Z","published":"2025-10-25T12:35:45Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2025-10-25T12:35:45.829895Z","source":"kam193","import_time":"2025-12-02T22:30:56.348488172Z","sha256":"21b378c21f628a9a6054bbf033ea93f9b9056e01fe56a813342bae4bc63ab68a","id":"pypi/GENERIC-standard-pypi-install-pentest/python3-autopep8","versions":["0.0.0"]},{"modified_time":"2025-10-25T12:35:45.829895Z","source":"kam193","import_time":"2025-12-02T23:07:19.540398506Z","sha256":"36e35b782ec2e15a96c4b7c9d9eb5bacbbf3ded26b6b3ee72f2f698b1622c241","id":"pypi/GENERIC-standard-pypi-install-pentest/python3-autopep8","versions":["0.0.0"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python3-autopep8"}],"affected":[{"package":{"name":"python3-autopep8","ecosystem":"PyPI","purl":"pkg:pypi/python3-autopep8"},"versions":["0.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python3-autopep8/MAL-2025-191844.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}