hookgantry (PyPI) · Malicious Code
Affects hookgantrySource GCVE Database
Malicious package : remove hookgantry and rotate any secrets on hosts that installed it.
Data as of 29 Oct 2026, 17:52 UTC
Malicious package
Published to PyPI · OSV MAL-2026-18153
What to do
Remove hookgantry 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 |
|---|---|---|
| PyPIhookgantry | 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 hookgantry 0.1.0 package on PyPI is part of a malicious campaign involving loader packages that execute code from remote URLs. Although the package itself does not contain the malicious payload, it is designed to download and run remote malicious scripts, indicating coordinated malicious intent. No installer-side harm or credential harvesting was detected during scanning, but the package facilitates executing potentially harmful code.