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 (f8a30e991bd97073c50a9cdabb10842f2c5ae074c46fcd0aeff5d7917d4b56fa)
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 →