Skip to content
OpenAdvisories
Malicious MAL-2024-11575

dftester-pip

PyPI package · versions 0.0.1

Reported Nov 27, 2024 · Updated Mar 19, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (2e23c327cc9243e5437e6b31224c6796b90399065b451269641911b1d1982483)
Example package with overwritten install command and the reverse shell

---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: 2024-11-dftester-pip

Reasons (based on the campaign):

- The package overrides the install command in setup.py to execute malicious code during installation.

- The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

Indicators of compromise

Shown defanged and not clickable. Search any indicator to find other packages using it.

URLs

  • hxxps://raw[.]githubusercontent[.]com/0xe2d0/evil-pip/main/scripts/linux[.]txt other packages →
  • hxxps://raw[.]githubusercontent[.]com/0xe2d0/evil-pip/main/scripts/windows[.]txt other packages →