mal-2025-192953
Vulnerability from ossf_malicious_packages
Published
2025-12-28 01:44
Modified
2025-12-28 20:09
Summary
Malicious code in aiogram-types-v3 (PyPI)
Details

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

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

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "aiogram-types-v3"
      },
      "versions": [
        "3.0.1",
        "3.0.2",
        "3.0.5",
        "3.1.0",
        "3.1.5",
        "3.3.1",
        "3.4.0",
        "3.9.7",
        "3.2.0",
        "4.2.0",
        "5.9.8",
        "3.9.8"
      ]
    }
  ],
  "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-types-v3",
        "import_time": "2025-12-28T02:51:24.382598089Z",
        "modified_time": "2025-12-28T01:44:36.367779Z",
        "sha256": "f6ba04e944f1dfda1aaa2d571fa79cd8ce4074a106bae228e582473226810baf",
        "source": "kam193",
        "versions": [
          "3.0.1"
        ]
      },
      {
        "id": "pypi/2025-12-aiogram-sever-patch/aiogram-types-v3",
        "import_time": "2025-12-28T18:09:33.818025525Z",
        "modified_time": "2025-12-28T17:55:37.689964Z",
        "sha256": "316e41d7996fbbce00672b313f1b120a2f308f2bc8a53f6b19eb0bd2c1029ac0",
        "source": "kam193",
        "versions": [
          "3.0.1",
          "3.0.2",
          "3.0.5",
          "3.1.0",
          "3.1.5"
        ]
      },
      {
        "id": "pypi/2025-12-aiogram-sever-patch/aiogram-types-v3",
        "import_time": "2025-12-28T19:06:12.246580866Z",
        "modified_time": "2025-12-28T18:53:54.171152Z",
        "sha256": "87996549737c8dd370e796339a3c31956da3de177920cbd16ab77f5d5d68afa2",
        "source": "kam193",
        "versions": [
          "3.0.1",
          "3.0.2",
          "3.0.5",
          "3.1.0",
          "3.1.5",
          "3.3.1",
          "3.4.0"
        ]
      },
      {
        "id": "pypi/2025-12-aiogram-sever-patch/aiogram-types-v3",
        "import_time": "2025-12-28T20:07:59.79231834Z",
        "modified_time": "2025-12-28T19:40:03.129019Z",
        "sha256": "46554d260857f5bf6b1492bb29e90938ef28d557cef06c930d786a9a2ac0b0f9",
        "source": "kam193",
        "versions": [
          "3.0.1",
          "3.0.2",
          "3.0.5",
          "3.1.0",
          "3.1.5",
          "3.3.1",
          "3.4.0",
          "3.9.7",
          "3.2.0",
          "4.2.0",
          "5.9.8",
          "3.9.8"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f6ba04e944f1dfda1aaa2d571fa79cd8ce4074a106bae228e582473226810baf)\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-192953",
  "modified": "2025-12-28T20:09:20Z",
  "published": "2025-12-28T01:44:36Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/aiogram-types-v3"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in aiogram-types-v3 (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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…