mal-2025-192931
Vulnerability from ossf_malicious_packages
Published
2025-12-25 14:18
Modified
2025-12-25 16:09
Summary
Malicious code in aiogram-sever-patch (PyPI)
Details

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

Source: kam193 (0be41c08090971a10e54930628353748c82ed55c0f9795b26a932f806852fd4f)

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




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "aiogram-sever-patch"
      },
      "versions": [
        "3.3.8",
        "3.3.7",
        "3.3.9",
        "3.5.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "ips": [
        "147.45.124.42"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-12-aiogram-sever-patch/aiogram-sever-patch",
        "import_time": "2025-12-25T15:07:34.090338025Z",
        "modified_time": "2025-12-25T14:47:00.746403Z",
        "sha256": "0be41c08090971a10e54930628353748c82ed55c0f9795b26a932f806852fd4f",
        "source": "kam193",
        "versions": [
          "3.3.8",
          "3.3.7",
          "3.3.9"
        ]
      },
      {
        "id": "pypi/2025-12-aiogram-sever-patch/aiogram-sever-patch",
        "import_time": "2025-12-25T16:08:11.040317764Z",
        "modified_time": "2025-12-25T15:14:07.246518Z",
        "sha256": "b023a030405c79b4e6de1792f36c9b141be617f58207f4457b9387ff71eeaf69",
        "source": "kam193",
        "versions": [
          "3.3.8",
          "3.3.7",
          "3.3.9",
          "3.5.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0be41c08090971a10e54930628353748c82ed55c0f9795b26a932f806852fd4f)\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\u0027s 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",
  "id": "MAL-2025-192931",
  "modified": "2025-12-25T16:09:43Z",
  "published": "2025-12-25T14:18:44Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/aiogram-sever-patch"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in aiogram-sever-patch (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…