hooktest3 (PyPI) · Malicious Code
Affects hooktest3Source GCVE Database
Malicious package : remove hooktest3 and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:54 UTC
Malicious package
Published to PyPI · OSV MAL-2025-191761
What to do
Remove hooktest3 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIhooktest3 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The hooktest3 package on PyPI version 0.1.1 contains malicious code that executes during installation. It overrides the install command in setup.py to run code that retrieves and executes commands from Discord, effectively acting as a remote access trojan (RAT). This behavior allows an attacker to execute remote commands on the victim's machine.