{"id":"MAL-2026-875","summary":"Malicious code in displaydoc (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c4ab5c0ca76295a578d62119bf6932953098ec9ecd0bb7f21b397da85b08d5b8)\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\n## Source: ossf-package-analysis (0a92fb7d81045a82240752c9122482082867f85a64640d5d56fd4f9a685f1425)\nThe OpenSSF Package Analysis project identified 'displaydoc' @ 1.0.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2026-02-13T12:34:53.080494Z","published":"2026-02-13T10:45:53Z","database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","versions":["1.0.0"],"import_time":"2026-02-13T10:47:36.997407543Z","modified_time":"2026-02-13T10:45:53Z","sha256":"0a92fb7d81045a82240752c9122482082867f85a64640d5d56fd4f9a685f1425"},{"versions":["1.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/displaydoc","import_time":"2026-02-13T11:44:08.08137474Z","modified_time":"2026-02-13T11:04:11.944005Z","sha256":"c4ab5c0ca76295a578d62119bf6932953098ec9ecd0bb7f21b397da85b08d5b8","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/displaydoc"}],"affected":[{"package":{"name":"displaydoc","ecosystem":"PyPI","purl":"pkg:pypi/displaydoc"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/displaydoc/MAL-2026-875.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}