MAL-2024-9268

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/maxpatrol/MAL-2024-9268.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-9268
Published
2024-10-07T13:23:16Z
Modified
2025-12-12T20:42:41.322574Z
Summary
Malicious code in maxpatrol (PyPI)
Details

The package contains code to download and execute a reverse shell script.


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

Source: kam193 (e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1)

When imported, the package download and runs a remote stage - a reverse shell. To mask activity, the remote domain is made to mimic PyPI host: files[.]pythonhosted[.]ru


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-10-innostage

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.
Database specific
{
    "iocs": {
        "domains": [
            "files.pythonhosted.ru",
            "pythonhosted.ru",
            "files.inostage.ru"
        ],
        "urls": [
            "http://files.pythonhosted.ru/56788.txt",
            "http://files.pythonhosted.ru/56789.txt"
        ]
    },
    "malicious-packages-origins": [
        {
            "sha256": "3e28ae00cccb55b3fb5bbba7bf50ff5bee98d2870edb835523fa4dffa154990f",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193",
            "modified_time": "2024-10-07T13:23:16Z",
            "id": "pypi/2024-10-innostage/maxpatrol",
            "import_time": "2025-12-02T22:30:55.326822431Z"
        },
        {
            "sha256": "e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193",
            "modified_time": "2024-10-07T13:23:16Z",
            "id": "pypi/2024-10-innostage/maxpatrol",
            "import_time": "2025-12-02T23:07:18.354749244Z"
        },
        {
            "sha256": "492cb081cae92c5ca3c46a4a91fd67f313c4d34499a63feb7bd2273fb22a73a3",
            "source": "kam193",
            "modified_time": "2024-10-07T13:23:16Z",
            "id": "pypi/2024-10-innostage/maxpatrol",
            "import_time": "2025-12-10T21:38:57.587365931Z",
            "versions": [
                "7.0.6"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / maxpatrol

Package

Affected ranges

Affected versions

7.*
7.0.6

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/maxpatrol/MAL-2024-9268.json"