MAL-2024-12310

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/myhexsender/MAL-2024-12310.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12310
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:42:52.892637Z
Summary
Malicious code in myhexsender (PyPI)
Details

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

Source: kam193 (551ca9f26ea50e6190623b0bc30ab6836e3d0746d1982d5c28c1b5e0daf914db)

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": [
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/myhexsender",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T22:30:56.232092302Z",
            "sha256": "d2515c34bd9ca9ed0b658fd5247aee4d851383e00c6954e02077c581a6f2fe5e",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/myhexsender",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T23:07:19.417284785Z",
            "sha256": "551ca9f26ea50e6190623b0bc30ab6836e3d0746d1982d5c28c1b5e0daf914db",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/myhexsender",
            "versions": [
                "0.1.0"
            ],
            "import_time": "2025-12-10T21:38:58.537926893Z",
            "sha256": "25e8e6d55820114610d420834fa3db9a18e49cb568ee71781fba1bcb7f0e9e56",
            "modified_time": "2024-07-26T16:53:30Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / myhexsender

Package

Affected ranges

Affected versions

0.*
0.1.0

Database specific

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