VYPR

pypi · Malicious package advisory

Malware

aiogram-types-v3

GHSA-wpp6-45c3-8gpx

Malicious code in aiogram-types-v3 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 3.0.1`

## 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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/aiogram-types-v3/MAL-2025-192953.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/aiogram-types-v3
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/aiogram-types-v3/MAL-2025-192953.json
- https://github.com/advisories/GHSA-wpp6-45c3-8gpx

Compromised versions (1)

  • = 3.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.