pypi · Malicious package advisory
Malwareaiogram-sever-patch
MAL-2025-192931
Malicious code in aiogram-sever-patch (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (0be41c08090971a10e54930628353748c82ed55c0f9795b26a932f806852fd4f) During installation or importing the module, the package starts a reverse shell to hardcoded locatiom --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-12-aiogram-sever-patch Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - The package overrides the install command in setup.py to execute malicious code during installation. - dependency-confusion
Compromised versions (5)
- 3.3.8
- 3.3.7
- 3.3.9
- 3.5.0
- 3.6.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.