pypi · Malicious package advisory
Malwarehangimani
GHSA-4rrw-8w2w-4293
Malicious code in hangimani (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (4eb1b67eac28a42f372ecaaca274a28d15972e3cc8e063492f977364538e6c41) During importing the module, package downloads a second-stage code from GitHub, which then runs an infostealer. After that, the downloaded code is removed --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-old-hangman Reasons (based on the campaign): - Downloads and executes a remote malicious script. - infostealer - covering-tracks --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/hangimani/MAL-2026-625.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/hangimani - https://github.com/Samantha0709/HangMan/blob/36397c0a3e5abffa884ca92515981b4af305c9c7/src/HangMan.py#L17 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/hangimani/MAL-2026-625.json - https://raw.githubusercontent.com/Samantha0709/Hang/main/browser.py - https://github.com/advisories/GHSA-4rrw-8w2w-4293
Compromised versions (1)
- = 1.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.