solana-py-utils (PyPI) · Malicious Code
Affects solana-py-utilsSource GCVE Database
Malicious package : remove solana-py-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-20135
What to do
Remove solana-py-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 |
|---|---|---|
| PyPIsolana-py-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 solana-py-utils package on PyPI contains malicious code that executes during installation. It runs a bundled script that steals sensitive data including AWS credentials, SSH keys, various configuration files, environment variables with secrets, and cryptocurrency wallet data from browser extensions. The stolen data is exfiltrated to a hardcoded remote server. The package name is a typosquat of legitimate Solana tooling, aiming to trick users into installing it.