Skip to content
OpenAdvisories
Malicious MAL-2025-191833

pydefender

PyPI package · versions 0.0.1

Reported Mar 1, 2025 · Updated Dec 12, 2025

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 (a1e2cc2d94eff74e302118c35c34f87e76175fe507facbe21c29883960c8223e)
setup.py is prepared to download and run an obfuscated batch script. While the script is not detected by any AV currently, in the sandbox analysis it reveals behaviour like adding exclusions to Windows Defender

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-02-pydefender

Reasons (based on the campaign):

- Downloads and executes a remote malicious script.

- malware

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

Indicators of compromise

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

URLs

  • hxxps://raw[.]githubusercontent[.]com/baledreamer/payload/refs/heads/main/smegma[.]bat other packages →