Skip to content

MAL-2025-192992 Malicious code in umap (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= 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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi umap(PyPI) = 0.0.0; = 0.1.1; = 0.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi umap(PyPI) = 0.0.0 No fix listed
pypi umap(PyPI) = 0.1.1 No fix listed
pypi umap(PyPI) = 0.1.2 No fix listed

References