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

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

Source: kam193 (f3f9795022d3525ac5206d67f60906020987aabf1bf4580b48d7ac7c6429108c)

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-pkg1",
        "purl": "pkg:pypi/evil-pkg1"
      },
      "versions": [
        "0.2"
      ]
    }
  ],
  "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-01958",
        "import_time": "2025-03-31T07:07:05.490439241Z",
        "modified_time": "2025-03-28T13:05:37Z",
        "sha256": "cc9b70f736586afbe9b8333614541672998b5abc96bd4f31b05efef94bdae2f7",
        "source": "reversing-labs",
        "versions": [
          "0.2"
        ]
      },
      {
        "id": "pypi/GENERIC-simple-tests/evil-pkg1",
        "import_time": "2025-12-02T22:30:56.013092421Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "3f5e1a73b990d977aa2790b256d5af90a34e9362dc32122ac26d6b2a36a03811",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-simple-tests/evil-pkg1",
        "import_time": "2025-12-02T23:07:19.211706323Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "f3f9795022d3525ac5206d67f60906020987aabf1bf4580b48d7ac7c6429108c",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-simple-tests/evil-pkg1",
        "import_time": "2025-12-10T21:38:58.349616664Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "sha256": "72f0591ef3d8cfebf595e501f68ee135d5655d8e472c401dedff59717327fd50",
        "source": "kam193",
        "versions": [
          "0.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f3f9795022d3525ac5206d67f60906020987aabf1bf4580b48d7ac7c6429108c)\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-2960",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-08-23T22:55:41Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/evil-pkg1"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in evil-pkg1 (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…