{"id":"MAL-2024-12187","summary":"Malicious code in adafruit-display-text (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e23c09627673ad313852ef48f846b3ddd5a27a8eb53f0be5ce034a88f45c1a93)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2025-12-12T20:34:44.193804Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/adafruit-display-text","import_time":"2025-12-02T22:30:55.810301708Z","sha256":"9958acccefc7220c1f93f7a01f376a5170c4a9bd1b6213fe0feb848f38842587"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/adafruit-display-text","import_time":"2025-12-02T23:07:18.996519931Z","sha256":"e23c09627673ad313852ef48f846b3ddd5a27a8eb53f0be5ce034a88f45c1a93"},{"sha256":"642713724c9335391522225a3e723086802a2df26a7e3eeb4f03551e37bac8e9","modified_time":"2024-07-26T16:53:30Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/adafruit-display-text","versions":["1.0.0"],"import_time":"2025-12-10T21:38:58.144904903Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/adafruit-display-text"}],"affected":[{"package":{"name":"adafruit-display-text","ecosystem":"PyPI","purl":"pkg:pypi/adafruit-display-text"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/adafruit-display-text/MAL-2024-12187.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}