{"id":"MAL-2026-352","summary":"Malicious code in medifile (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5c005d95a9b1b91118e9306168ce69163190184714fe53c65b7ba716e867c8da)\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":"2026-01-21T23:20:12.259800Z","published":"2026-01-19T23:21:41Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-01-20T00:27:50.891403574Z","source":"kam193","versions":["2.1"],"sha256":"5c005d95a9b1b91118e9306168ce69163190184714fe53c65b7ba716e867c8da","modified_time":"2026-01-19T23:21:41.955538Z","id":"pypi/GENERIC-standard-pypi-install-pentest/medifile"},{"import_time":"2026-01-21T23:09:04.516266714Z","source":"kam193","versions":["2.1"],"sha256":"4e550042be325443f5119829a0a192a25ded0fc14234d36b3e72aca7fe0e8c21","modified_time":"2026-01-19T23:21:41.955538Z","id":"pypi/GENERIC-standard-pypi-install-pentest/medifile"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/medifile"}],"affected":[{"package":{"name":"medifile","ecosystem":"PyPI","purl":"pkg:pypi/medifile"},"versions":["2.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/medifile/MAL-2026-352.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}