anchorpy-utils (PyPI) · Malicious Code
Affects anchorpy-utilsSource GCVE Database
Malicious package : remove anchorpy-utils and rotate any secrets on hosts that installed it.
Data as of 18 Nov 2026, 21:37 UTC
Malicious package
Published to PyPI · OSV MAL-2026-20134
What to do
Remove anchorpy-utils 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 |
|---|---|---|
| PyPIanchorpy-utils | 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 anchorpy-utils package on PyPI is a malicious typosquatting package that executes harmful code during installation. It exfiltrates sensitive data including SSH keys, AWS credentials, npm configuration, Solana wallet files, environment variables containing secrets, and browser extension data related to cryptocurrency wallets. The stolen data is sent to a hardcoded external server. The package falsely claims to be related to the Solana Python client but provides no legitimate functionality.