pypi · Malicious package advisory
Malwarepydefender
MAL-2025-191833
Malicious code in pydefender (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
Compromised versions (1)
- 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.