MAL-2025-41775

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpackageroietest2/MAL-2025-41775.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-41775
Published
2025-07-28T21:16:45Z
Modified
2026-03-19T12:57:22.325021Z
Summary
Malicious code in testpackageroietest2 (PyPI)
Details

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

Source: kam193 (540d9028178695a791b307758df0ac5dca1f6c77f19e12579e4b0745580f358d)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "0.0.1"
            ],
            "modified_time": "2025-08-28T07:12:04Z",
            "sha256": "5d6280bafd371680c1e4527f6b8cb8cc2ca15ba79a4972c50e57251e00b5bf11",
            "id": "RLMA-2025-04273",
            "source": "reversing-labs",
            "import_time": "2025-08-29T06:41:55.066972508Z"
        },
        {
            "source": "kam193",
            "modified_time": "2025-07-28T21:16:45.90015Z",
            "sha256": "4fac6ea416efdbdd66fdb6ce65d38b0f9d865821c5010df81da5b94e82fb2f49",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest2",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.444671386Z"
        },
        {
            "source": "kam193",
            "modified_time": "2025-07-28T21:16:45.90015Z",
            "sha256": "540d9028178695a791b307758df0ac5dca1f6c77f19e12579e4b0745580f358d",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest2",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.629024933Z"
        },
        {
            "versions": [
                "0.0.1"
            ],
            "modified_time": "2025-07-28T21:16:45.90015Z",
            "sha256": "f20f64c0ca3c64dbc9462db2d81e5b6e4215f48bd09d2582fbc7bee3a887ecae",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest2",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.732771645Z"
        },
        {
            "modified_time": "2026-03-18T12:19:22Z",
            "sha256": "0bfe4b80c6d7a40761bf2283c7c12464a5b732580ba3e18bb9691ce2dbb2a8b1",
            "id": "RLUA-2026-00809",
            "source": "reversing-labs",
            "import_time": "2026-03-19T12:20:32.514287517Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / testpackageroietest2

Package

Name
testpackageroietest2
View open source insights on deps.dev
Purl
pkg:pypi/testpackageroietest2

Affected ranges

Affected versions

0.*
0.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpackageroietest2/MAL-2025-41775.json"