MAL-2024-12274

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

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

Source: kam193 (03236867334bb1faf1e018f54b89046a0edf300be0152c00bf921dadaee600b0)

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": [
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/flexssl",
            "import_time": "2025-12-02T22:30:56.047501789Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "766695863729f53855514240c990d1cb9bcb42ab317cb3c1d49aad398f727ea3",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/flexssl",
            "import_time": "2025-12-02T23:07:19.239237462Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "03236867334bb1faf1e018f54b89046a0edf300be0152c00bf921dadaee600b0",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/flexssl",
            "import_time": "2025-12-10T21:38:58.382121486Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "8d7f8fa3d57d117b00f8726a3e941261662b602b3ce1ced55c9bd238a8eb54a2",
            "source": "kam193",
            "versions": [
                "2.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / flexssl

Package

Affected ranges

Affected versions

2.*
2.0.0

Database specific

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