solblock (PyPI) · Malicious Code
Affects solblockSource GCVE Database
Malicious package : remove solblock and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 19:43 UTC
Malicious package
Published to PyPI · OSV MAL-2026-20331
What to do
Remove solblock 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 |
|---|---|---|
| PyPIsolblock | 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 solblock package on PyPI versions 0.2.2 and 0.2.3 contains malicious code that executes during installation. It overrides the install command in setup.py to download and run a remote malicious script. The remote repository linked to this package has previously hosted a remote access trojan (RAT) executable and was involved in earlier malicious attempts.