MAL-2024-12187

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

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

Source: kam193 (e23c09627673ad313852ef48f846b3ddd5a27a8eb53f0be5ce034a88f45c1a93)

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/adafruit-display-text",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "9958acccefc7220c1f93f7a01f376a5170c4a9bd1b6213fe0feb848f38842587",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.810301708Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/adafruit-display-text",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "e23c09627673ad313852ef48f846b3ddd5a27a8eb53f0be5ce034a88f45c1a93",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:18.996519931Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/adafruit-display-text",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "642713724c9335391522225a3e723086802a2df26a7e3eeb4f03551e37bac8e9",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2025-12-10T21:38:58.144904903Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / adafruit-display-text

Package

Name
adafruit-display-text
View open source insights on deps.dev
Purl
pkg:pypi/adafruit-display-text

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/adafruit-display-text/MAL-2024-12187.json"