graphalgo (PyPI) · Malicious Code
Affects graphalgoSource GCVE Database
Malicious package : remove graphalgo and rotate any secrets on hosts that installed it.
Data as of 27 Nov 2026, 02:04 UTC
Malicious package
Published to PyPI · OSV MAL-2025-6514
What to do
Remove graphalgo 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 |
|---|---|---|
PyPIgraphalgopkg:pypi/graphalgoOther threats | 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 graphalgo package on PyPI is part of a malicious campaign involving versions 3.5.1rc0.dev0, 3.5.2, 3.5.3, 3.5.5, and 3.5.6. It impersonates a legitimate package and downloads and executes a remote malicious script. This behavior indicates clear malicious intent, such as infostealing.