Skip to main content
MalwarePublished

ghraphy (PyPI) · Malicious Code

Affects ghraphySource GCVE Database

0

Malicious package : remove ghraphy and rotate any secrets on hosts that installed it.

Data as of 3 Dec 2026, 11:17 UTC

Classification

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

ProductAffectedFixed in
PyPIghraphyAffected
  • 1.0.1 – 1.0.5
4 affected builds
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.

References

Community reviews

Loading reviews…