MAL-2025-192940 Malicious code in aiogram-3 (PyPI)

Malicious package Published
Package
aiogram-3
Registry
PyPI

What is MAL-2025-192940?

MAL-2025-192940 is a malicious package in aiogram-3, published on 26 Dec 2025.

Official description

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

What should I do about MAL-2025-192940?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-192940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free