apkeep (PyPI) · Malicious Code
Affects apkeepSource GCVE Database
Malicious package : remove apkeep and rotate any secrets on hosts that installed it.
Data as of 27 Oct 2026, 22:06 UTC
Malicious package
Published to PyPI · OSV MAL-2026-3431
What to do
Remove apkeep 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 |
|---|---|---|
| PyPIapkeep | 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 apkeep package on PyPI is a malicious package impersonating a legitimate Rust library. It contains obfuscated code that exfiltrates basic system information such as IP address and username to a typosquated domain. The package uses identity impersonation and hides its malicious actions within library usage.