Skip to content
OpenAdvisories
Malicious MAL-2025-192953

aiogram-types-v3

PyPI package · versions 3.0.1, 3.0.2, 3.0.5, 3.1.0, 3.1.5, 3.3.1, 3.4.0, 3.9.7, 3.2.0, 4.2.0, 5.9.8, 3.9.8

Reported Dec 28, 2025 · Updated Dec 31, 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 (f6ba04e944f1dfda1aaa2d571fa79cd8ce4074a106bae228e582473226810baf)
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

Indicators of compromise

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

IP addresses