MAL-2025-192992

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/umap/MAL-2025-192992.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-192992
Published
2025-12-31T11:45:36Z
Modified
2026-01-15T22:21:07.006071Z
Summary
Malicious code in umap (PyPI)
Details

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

Source: kam193 (f6dd42f96f818641d94fd4a2085dfd1071b6ce3fa44a3f05b785245ab4d1c886)

Simple dependency confusion test. Versions before 0.1.2 do not perform any active action.

The original umap package existed in the past, but was removed by the author. The last version was 0.1.1 published as a source package. Years later, the same name was registered by another user, who managed to publish a wheel package of version 0.1.1 as it's not prohibited to upload alternative build packages for existing versions. This hijacked version was an empty package. In 0.1.2, a beacon webhook was added.

More context: https://github.com/kam193/package-campaigns/issues/5


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": [
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/umap",
            "sha256": "f9193e80107a3f7a1b0bb8b91f7414a47469e00dd7ce18638c519ab0130ae6f0",
            "modified_time": "2025-12-31T11:45:36.692132Z",
            "versions": [
                "0.0.0",
                "0.1.1",
                "0.1.2"
            ],
            "import_time": "2025-12-31T12:48:17.936750127Z",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/umap",
            "sha256": "9b53a7043e21a18b15d67f5ecd8419b2243dfbaf90b4015bdda60671bfdd2f09",
            "modified_time": "2025-12-31T11:45:36.692132Z",
            "versions": [
                "0.0.0",
                "0.1.1",
                "0.1.2"
            ],
            "import_time": "2026-01-15T17:45:22.349753131Z",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/umap",
            "sha256": "f6dd42f96f818641d94fd4a2085dfd1071b6ce3fa44a3f05b785245ab4d1c886",
            "modified_time": "2025-12-31T11:45:36.692132Z",
            "versions": [
                "0.0.0",
                "0.1.1",
                "0.1.2"
            ],
            "import_time": "2026-01-15T22:07:43.796062406Z",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / umap

Package

Affected ranges

Affected versions

0.*
0.0.0
0.1.1
0.1.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/umap/MAL-2025-192992.json"