VYPR

pypi · Malicious package advisory

Malware

hooktest1

GHSA-rcwf-v9q5-mqrg

Malicious code in hooktest1 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.1`

## Source: kam193 (b3e91d71ab21e3575f1354593a314d50bc188b0db7b3851040e522426a765417)
During installation, the package starts a code to retrieve and execute commands from Discord


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2025-11-hooktest1


Reasons (based on the campaign):


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.


 - rat

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/hooktest1/MAL-2025-191760.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/hooktest1
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/hooktest1/MAL-2025-191760.json
- https://github.com/advisories/GHSA-rcwf-v9q5-mqrg

Compromised versions (1)

  • = 0.1.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.