MAL-2026-352

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/medifile/MAL-2026-352.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-352
Published
2026-01-19T23:21:41Z
Modified
2026-01-21T23:20:12.259800Z
Summary
Malicious code in medifile (PyPI)
Details

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

Source: kam193 (5c005d95a9b1b91118e9306168ce69163190184714fe53c65b7ba716e867c8da)

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": "5c005d95a9b1b91118e9306168ce69163190184714fe53c65b7ba716e867c8da",
            "source": "kam193",
            "modified_time": "2026-01-19T23:21:41.955538Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/medifile",
            "import_time": "2026-01-20T00:27:50.891403574Z",
            "versions": [
                "2.1"
            ]
        },
        {
            "sha256": "4e550042be325443f5119829a0a192a25ded0fc14234d36b3e72aca7fe0e8c21",
            "source": "kam193",
            "modified_time": "2026-01-19T23:21:41.955538Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/medifile",
            "import_time": "2026-01-21T23:09:04.516266714Z",
            "versions": [
                "2.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / medifile

Package

Affected ranges

Affected versions

2.*
2.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/medifile/MAL-2026-352.json"