MAL-2025-959

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pytc123/MAL-2025-959.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-959
Published
2024-08-23T22:55:41Z
Modified
2026-03-19T12:56:01.914030Z
Summary
Malicious code in pytc123 (PyPI)
Details

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

Source: kam193 (29916930efd9b23d2db0a812c00e77dcb672c494ae1d721e2201c1006625bf43)

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.
Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "92b1f19fd3f423421c8ed225ad7d35b6112d2be68c4c2863354bbda02d17f2f8",
            "modified_time": "2025-02-03T17:07:42Z",
            "id": "RLMA-2025-00500",
            "versions": [
                "3.1.0"
            ],
            "import_time": "2025-02-03T18:38:07.998024134Z",
            "source": "reversing-labs"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-08-23T22:55:41Z",
            "id": "pypi/GENERIC-simple-tests/pytc123",
            "sha256": "492a498d5e00e0da41b1e496c7ae5199c68f2b8d15630e865dab583c6df3666f",
            "import_time": "2025-12-02T22:30:56.332577126Z",
            "source": "kam193"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-08-23T22:55:41Z",
            "id": "pypi/GENERIC-simple-tests/pytc123",
            "sha256": "29916930efd9b23d2db0a812c00e77dcb672c494ae1d721e2201c1006625bf43",
            "import_time": "2025-12-02T23:07:19.522206753Z",
            "source": "kam193"
        },
        {
            "sha256": "55d207b25c5190930d1551e291a45379d4a850e9b79502679ac231d5d7d554ea",
            "modified_time": "2024-08-23T22:55:41Z",
            "id": "pypi/GENERIC-simple-tests/pytc123",
            "versions": [
                "3.1.0"
            ],
            "import_time": "2025-12-10T21:38:58.633521012Z",
            "source": "kam193"
        },
        {
            "sha256": "749e03220e4ff640e9f75ca351af5c823d7987333643c89059a15c95c6188812",
            "modified_time": "2026-03-18T12:17:39Z",
            "id": "RLUA-2026-00649",
            "import_time": "2026-03-19T12:20:17.049702083Z",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / pytc123

Package

Affected ranges

Affected versions

3.*
3.1.0

Database specific

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