MAL-2025-192940

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/aiogram-3/MAL-2025-192940.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-192940
Published
2025-12-26T04:33:18Z
Modified
2025-12-26T10:13:10.712243Z
Summary
Malicious code in aiogram-3 (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (3d8dac0d1eb98dbfc0fe46cabeadb550699f5e41b5d033ded073f7572f450bf7)

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

Database specific
{
    "iocs": {
        "ips": [
            "147.45.124.42"
        ]
    },
    "malicious-packages-origins": [
        {
            "source": "kam193",
            "modified_time": "2025-12-26T04:33:18.972265Z",
            "sha256": "3d8dac0d1eb98dbfc0fe46cabeadb550699f5e41b5d033ded073f7572f450bf7",
            "import_time": "2025-12-26T05:08:59.328062055Z",
            "versions": [
                "1.0.0"
            ],
            "id": "pypi/2025-12-aiogram-sever-patch/aiogram-3"
        },
        {
            "source": "kam193",
            "modified_time": "2025-12-26T09:19:46.582716Z",
            "sha256": "6b5a631fb392aa1f6da062744c3e022197ccd3fa71cd3480d9dc401ba4ff8d3c",
            "import_time": "2025-12-26T10:07:56.28258198Z",
            "versions": [
                "1.0.0",
                "10.0.0"
            ],
            "id": "pypi/2025-12-aiogram-sever-patch/aiogram-3"
        }
    ]
}
References
Credits

Affected packages

PyPI / aiogram-3

Package

Affected ranges

Affected versions

1.*
1.0.0
10.*
10.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/aiogram-3/MAL-2025-192940.json"