solblock (PyPI): malicious install-time code downloads and executes remote RAT payload
Severity: critical · Patch status: no-fix-needed · Since 2026-11-22
GitHub Advisory GHSA-f792-xx76-jpr6 (OpenSSF MAL-2026-20331) reports that the PyPI package solblock versions 0.2.2 and 0.2.3 is malicious. The package overrides the install command in setup.py to run code during installation, then downloads and executes a remote malicious script, with the campaign classified as delivering a RAT. The analyzed remote GitHub code was benign, but the same repository reportedly already held a RAT executable and had been used in prior attempts. No patched versions exist. Anyone who installed these versions in developer, CI, or production Python environments should treat the host as potentially compromised, remove the package, rotate exposed secrets, and hunt for remote-access-trojan activity. The advisory was published on 2026-11-22.
What to do
- Remove or quarantine solblock 0.2.2/0.2.3 from environments, dependency locks, and caches; block the package and versions in artifact/package-manager controls.
- Rebuild or redeploy any system where these versions were installed, using trusted sources.
- Rotate credentials, tokens, and secrets accessible on affected hosts.
- Hunt for RAT persistence, outbound command-and-control traffic, and suspicious install-time child processes.
- Review setup.py/install logs and CI caches for execution of remote scripts.
Sources
All live incidents on Threat Watch