MAL-2024-12191

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/appsec-utils/MAL-2024-12191.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12191
Published
2024-07-26T16:53:30Z
Modified
2026-01-14T11:14:26.753500Z
Summary
Malicious code in appsec-utils (PyPI)
Details

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

Source: kam193 (c03052298655ba853abe857c8ebbdf21fbb59942800dd2e86aeffbd8ed2751bc)

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": "ed2a1e0078052761796b0e2dc5e143445a4fc592dca938ce28644d3988b55352",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/appsec-utils",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T22:30:55.835316838Z",
            "source": "kam193"
        },
        {
            "sha256": "c03052298655ba853abe857c8ebbdf21fbb59942800dd2e86aeffbd8ed2751bc",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/appsec-utils",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T23:07:19.01537268Z",
            "source": "kam193"
        },
        {
            "sha256": "f8fe6fca9c136ecc1bb38cffbecd1e04f53db4ea7021a919b7846d14ae3fd51d",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/appsec-utils",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "versions": [
                "1.99.106"
            ],
            "import_time": "2025-12-10T21:38:58.16090123Z"
        },
        {
            "sha256": "3d45043612d2ca9e7e96ec68366953860f604def0e53e572aa4ccac6e102abf1",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/appsec-utils",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "versions": [
                "1.99.106"
            ],
            "import_time": "2026-01-14T11:08:23.875896622Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / appsec-utils

Package

Affected ranges

Affected versions

1.*
1.99.106

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/appsec-utils/MAL-2024-12191.json"