pypi · Malicious package advisory
Malwareumap
MAL-2025-192992
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.
Compromised versions (3)
- 0.0.0
- 0.1.1
- 0.1.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.