{"id":"MAL-2025-192940","summary":"Malicious code in aiogram-3 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3d8dac0d1eb98dbfc0fe46cabeadb550699f5e41b5d033ded073f7572f450bf7)\nDuring installation or importing the module, the package starts a reverse shell to hardcoded locatiom\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-12-aiogram-sever-patch\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - dependency-confusion\n","modified":"2025-12-26T10:13:10.712243Z","published":"2025-12-26T04:33:18Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0"],"source":"kam193","modified_time":"2025-12-26T04:33:18.972265Z","import_time":"2025-12-26T05:08:59.328062055Z","id":"pypi/2025-12-aiogram-sever-patch/aiogram-3","sha256":"3d8dac0d1eb98dbfc0fe46cabeadb550699f5e41b5d033ded073f7572f450bf7"},{"versions":["1.0.0","10.0.0"],"source":"kam193","modified_time":"2025-12-26T09:19:46.582716Z","import_time":"2025-12-26T10:07:56.28258198Z","id":"pypi/2025-12-aiogram-sever-patch/aiogram-3","sha256":"6b5a631fb392aa1f6da062744c3e022197ccd3fa71cd3480d9dc401ba4ff8d3c"}],"iocs":{"ips":["147.45.124.42"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/aiogram-3"}],"affected":[{"package":{"name":"aiogram-3","ecosystem":"PyPI","purl":"pkg:pypi/aiogram-3"},"versions":["1.0.0","10.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/aiogram-3/MAL-2025-192940.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}