MAL-2025-6010

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ruamel-poc/MAL-2025-6010.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-6010
Published
2025-07-20T08:05:43Z
Modified
2025-12-31T02:56:44.177402Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2025-07-20T08:07:51.568273542Z",
            "sha256": "8535b01286f7d33300d915d21bc5749c799fbac77f8bc63a9592c9e46afc1b3d",
            "source": "ossf-package-analysis",
            "modified_time": "2025-07-20T08:05:43Z",
            "versions": [
                "0.17.16"
            ]
        },
        {
            "import_time": "2025-07-20T08:07:51.629642054Z",
            "sha256": "cebb357392e162b1d4864a43cb98290e8e053c3c629bccf4e5956d4985b39275",
            "source": "ossf-package-analysis",
            "modified_time": "2025-07-20T08:05:47Z",
            "versions": [
                "1.17.16"
            ]
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.383203079Z",
            "sha256": "2035a1838e6e7355b22342eb1d9f34f68c2eead65a852b15806b2021478f4d83",
            "source": "kam193",
            "modified_time": "2025-07-20T12:06:40.28356Z"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.570420076Z",
            "sha256": "1381375ccfff8dc10b3416284ac4a9a91c69bb2d5e7b652a2df24a64f4c5d512",
            "source": "kam193",
            "modified_time": "2025-07-20T12:06:40.28356Z"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
            "import_time": "2025-12-10T21:38:58.673712541Z",
            "sha256": "99a4d31003b7e366ec2c24913976cb4622c234e345e7a7c32a1a5ee48ec0e3cc",
            "source": "kam193",
            "modified_time": "2025-07-20T12:06:40.28356Z",
            "versions": [
                "1.17.16",
                "0.17.16"
            ]
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/ruamel-poc",
            "import_time": "2025-12-30T22:39:04.344694699Z",
            "sha256": "36caea90ea40b08a55e0b66b70c46956b9f8e6981ffed3b19ece6e6a7ba776b2",
            "source": "kam193",
            "modified_time": "2025-07-20T12:06:40.28356Z",
            "versions": [
                "0.17.16",
                "1.17.16"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / ruamel-poc

Package

Affected ranges

Affected versions

0.*
0.17.16
1.*
1.17.16

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ruamel-poc/MAL-2025-6010.json"