mal-2025-6010
Vulnerability from ossf_malicious_packages
Published
2025-07-20 08:05
Modified
2025-12-31 02:45
Summary
Malicious code in ruamel-poc (PyPI)
Details

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

Source: kam193 (1381375ccfff8dc10b3416284ac4a9a91c69bb2d5e7b652a2df24a64f4c5d512)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


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-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

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

Source: ossf-package-analysis (8535b01286f7d33300d915d21bc5749c799fbac77f8bc63a9592c9e46afc1b3d)

The OpenSSF Package Analysis project identified 'ruamel-poc' @ 0.17.16 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "ruamel-poc"
      },
      "versions": [
        "0.17.16",
        "1.17.16"
      ]
    }
  ],
  "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://github.com/ossf/package-analysis",
        "https://openssf.slack.com/channels/package_analysis"
      ],
      "name": "OpenSSF: Package Analysis",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2025-07-20T08:07:51.568273542Z",
        "modified_time": "2025-07-20T08:05:43Z",
        "sha256": "8535b01286f7d33300d915d21bc5749c799fbac77f8bc63a9592c9e46afc1b3d",
        "source": "ossf-package-analysis",
        "versions": [
          "0.17.16"
        ]
      },
      {
        "import_time": "2025-07-20T08:07:51.629642054Z",
        "modified_time": "2025-07-20T08:05:47Z",
        "sha256": "cebb357392e162b1d4864a43cb98290e8e053c3c629bccf4e5956d4985b39275",
        "source": "ossf-package-analysis",
        "versions": [
          "1.17.16"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
        "import_time": "2025-12-02T22:30:56.383203079Z",
        "modified_time": "2025-07-20T12:06:40.28356Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "2035a1838e6e7355b22342eb1d9f34f68c2eead65a852b15806b2021478f4d83",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
        "import_time": "2025-12-02T23:07:19.570420076Z",
        "modified_time": "2025-07-20T12:06:40.28356Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "1381375ccfff8dc10b3416284ac4a9a91c69bb2d5e7b652a2df24a64f4c5d512",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
        "import_time": "2025-12-10T21:38:58.673712541Z",
        "modified_time": "2025-07-20T12:06:40.28356Z",
        "sha256": "99a4d31003b7e366ec2c24913976cb4622c234e345e7a7c32a1a5ee48ec0e3cc",
        "source": "kam193",
        "versions": [
          "1.17.16",
          "0.17.16"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
        "import_time": "2025-12-30T22:39:04.344694699Z",
        "modified_time": "2025-07-20T12:06:40.28356Z",
        "sha256": "36caea90ea40b08a55e0b66b70c46956b9f8e6981ffed3b19ece6e6a7ba776b2",
        "source": "kam193",
        "versions": [
          "0.17.16",
          "1.17.16"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1381375ccfff8dc10b3416284ac4a9a91c69bb2d5e7b652a2df24a64f4c5d512)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\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-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n## Source: ossf-package-analysis (8535b01286f7d33300d915d21bc5749c799fbac77f8bc63a9592c9e46afc1b3d)\nThe OpenSSF Package Analysis project identified \u0027ruamel-poc\u0027 @ 0.17.16 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n",
  "id": "MAL-2025-6010",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-07-20T08:05:43Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/ruamel-poc"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ruamel-poc (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…