boogipoper / boogishell PyPI packages: malicious setup.py spawns reverse shell to 114.116.119.253:7777 on install
Severity: critical · Patch status: no-fix-needed · Since 2026-11-30
Four PyPI packages — boogipoper, boogishell, boogishell2 and boogishell4 — were published on 2023-05-15 as version 0.1.0 and later removed from PyPI. Each overrides the setuptools install command in setup.py so that after a normal install it runs a bash reverse-shell one-liner connecting to 114.116.119.253:7777, handing an interactive shell on the installing host to whoever is listening. The same payload and C2 host were previously seen in the myshellcode package (MAL-2024-5391), indicating a repeated campaign. Anyone who pip-installed any of these versions was compromised. GitHub advisories GHSA-57mh-fwgj-362x, GHSA-hg3x-fffq-wg2r, GHSA-hpfj-5j2j-f46p and GHSA-h3w4-3fjw-2429 (CWE-506) were published 2026-11-30; there are no patched versions — the only remediation is to never install these packages and to rebuild any host where they were installed.
What to do
- Check install logs and dependency locks for boogipoper, boogishell, boogishell2 or boogishell4 0.1.0; treat any host that installed them as compromised
- Rebuild affected hosts from trusted images and rotate credentials, keys and tokens accessible from those hosts
- Inspect for and block outbound connections to 114.116.119.253:7777 and hunt for related C2 traffic
- Audit CI/CD and developer environments for unexpected pip installs of unknown packages; pin and verify dependencies
- Enable PyPI/GitHub malware advisories and dependency scanning to catch similar typosquat/malware packages
Sources
All live incidents on Threat Watch