MAL-2025-191844

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python3-autopep8/MAL-2025-191844.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191844
Published
2025-10-25T12:35:45Z
Modified
2025-12-03T00:31:26.118347Z
Summary
Malicious code in python3-autopep8 (PyPI)
Details

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

Source: kam193 (36e35b782ec2e15a96c4b7c9d9eb5bacbbf3ded26b6b3ee72f2f698b1622c241)

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": [
        {
            "sha256": "21b378c21f628a9a6054bbf033ea93f9b9056e01fe56a813342bae4bc63ab68a",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/python3-autopep8",
            "source": "kam193",
            "modified_time": "2025-10-25T12:35:45.829895Z",
            "import_time": "2025-12-02T22:30:56.348488172Z",
            "versions": [
                "0.0.0"
            ]
        },
        {
            "sha256": "36e35b782ec2e15a96c4b7c9d9eb5bacbbf3ded26b6b3ee72f2f698b1622c241",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/python3-autopep8",
            "source": "kam193",
            "modified_time": "2025-10-25T12:35:45.829895Z",
            "import_time": "2025-12-02T23:07:19.540398506Z",
            "versions": [
                "0.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / python3-autopep8

Package

Name
python3-autopep8
View open source insights on deps.dev
Purl
pkg:pypi/python3-autopep8

Affected ranges

Affected versions

0.*
0.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python3-autopep8/MAL-2025-191844.json"