ghraphy (PyPI) · Malicious Code
Affects ghraphySource GCVE Database
Malicious package : remove ghraphy and rotate any secrets on hosts that installed it.
Data as of 3 Dec 2026, 11:17 UTC
Malicious package
Published to PyPI · OSV MAL-2026-21038
What to do
Remove ghraphy 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 |
|---|---|---|
| PyPIghraphy | 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 ghraphy package on PyPI is a malicious software package disguised as a math library. It delivers functionality that enables remote code execution and is a continuation of previously removed malicious packages. The campaign associated with this package uses obfuscation techniques and abuses Python path hooks (pth) to achieve its goals.