mal-2025-2952
Vulnerability from ossf_malicious_packages
Published
2025-03-02 17:05
Modified
2025-12-11 09:27
Summary
Malicious code in ctf-aio-tool (PyPI)
Details

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

Source: kam193 (1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a)

Installing the package starts a reverse shell. The remote server is, however, set as a local IP, so it's most probably testing


Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: 2025-03-marinff

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • obfuscation

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "ctf-aio-tool",
        "purl": "pkg:pypi/ctf-aio-tool"
      },
      "versions": [
        "0.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-01950",
        "import_time": "2025-03-31T07:07:05.17106029Z",
        "modified_time": "2025-03-28T13:05:31Z",
        "sha256": "15855052cac4115b769ad8f63158e9708ff24c0e4596a7174415ce0ed9fe0ac4",
        "source": "reversing-labs",
        "versions": [
          "0.1"
        ]
      },
      {
        "id": "pypi/2025-03-marinff/ctf-aio-tool",
        "import_time": "2025-12-02T22:30:55.968518393Z",
        "modified_time": "2025-03-02T17:05:55Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "8c915ca4b577d6380c63b138e4d426ed48dd2c496e89c608b416233b80f80511",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-marinff/ctf-aio-tool",
        "import_time": "2025-12-02T23:07:19.160162894Z",
        "modified_time": "2025-03-02T17:05:55Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-marinff/ctf-aio-tool",
        "import_time": "2025-12-10T21:38:58.298833364Z",
        "modified_time": "2025-03-02T17:05:55Z",
        "sha256": "d27c34e9826285dd4783352238d8239341528e2eaa4857cf573f60a4e4dbcc6c",
        "source": "kam193",
        "versions": [
          "0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a)\nInstalling the package starts a reverse shell. The remote server is, however, set as a local IP, so it\u0027s most probably testing\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: 2025-03-marinff\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\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",
  "id": "MAL-2025-2952",
  "modified": "2025-12-11T09:27:52Z",
  "published": "2025-03-02T17:05:55Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/ctf-aio-tool"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ctf-aio-tool (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…