mal-2025-2961
Vulnerability from ossf_malicious_packages
Published
2024-08-23 22:55
Modified
2025-12-11 09:27
Summary
Malicious code in evil-pkg2 (PyPI)
Details

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

Source: kam193 (d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1)

Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.


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: GENERIC-simple-tests

Reasons (based on the campaign):

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

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "evil-pkg2",
        "purl": "pkg:pypi/evil-pkg2"
      },
      "versions": [
        "0.2",
        "0.3"
      ]
    }
  ],
  "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": "ANALYST"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-01959",
        "import_time": "2025-03-31T07:07:05.516676221Z",
        "modified_time": "2025-03-28T13:05:38Z",
        "sha256": "374453a4f6e085b592f8b244146b4f1f6f3ff6be667d4cb49f4cc89a72756c66",
        "source": "reversing-labs",
        "versions": [
          "0.2",
          "0.3"
        ]
      },
      {
        "id": "pypi/GENERIC-simple-tests/evil-pkg2",
        "import_time": "2025-12-02T22:30:56.013957458Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "0bc093a5b181fc098ac0340b3842eec0235c04ee470746759f25fb89ee30ec88",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-simple-tests/evil-pkg2",
        "import_time": "2025-12-02T23:07:19.212546351Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-simple-tests/evil-pkg2",
        "import_time": "2025-12-10T21:38:58.350964767Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "sha256": "76b237419286403d49ace6522d44ed518ec79d29ea6adea604b1869f42c2467d",
        "source": "kam193",
        "versions": [
          "0.2",
          "0.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1)\nPackages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.\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: GENERIC-simple-tests\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",
  "id": "MAL-2025-2961",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-08-23T22:55:41Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/evil-pkg2"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in evil-pkg2 (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…