pypi · Malicious package advisory
Malwaregmacpyutil
GHSA-m6j2-7v5m-mvr6
Malicious code in gmacpyutil (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 9999.0.0` ## Source: kam193 (7522b589abf570f1591bcd3eb29e4a900791d28901d30c5b57f151e899f94839) Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: GENERIC-questionable-pentest Reasons (based on the campaign): - exfiltration-env-variables - exfiltration-generic - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/gmacpyutil/MAL-2025-929.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/gmacpyutil - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/gmacpyutil/MAL-2025-929.json - https://github.com/advisories/GHSA-m6j2-7v5m-mvr6
Compromised versions (1)
- = 9999.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.