{"id":"MAL-2025-959","summary":"Malicious code in pytc123 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (29916930efd9b23d2db0a812c00e77dcb672c494ae1d721e2201c1006625bf43)\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 & 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","modified":"2026-03-19T12:56:01.914030Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"versions":["3.1.0"],"source":"reversing-labs","sha256":"92b1f19fd3f423421c8ed225ad7d35b6112d2be68c4c2863354bbda02d17f2f8","import_time":"2025-02-03T18:38:07.998024134Z","id":"RLMA-2025-00500","modified_time":"2025-02-03T17:07:42Z"},{"sha256":"492a498d5e00e0da41b1e496c7ae5199c68f2b8d15630e865dab583c6df3666f","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T22:30:56.332577126Z","id":"pypi/GENERIC-simple-tests/pytc123","modified_time":"2024-08-23T22:55:41Z"},{"sha256":"29916930efd9b23d2db0a812c00e77dcb672c494ae1d721e2201c1006625bf43","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T23:07:19.522206753Z","id":"pypi/GENERIC-simple-tests/pytc123","modified_time":"2024-08-23T22:55:41Z"},{"versions":["3.1.0"],"source":"kam193","sha256":"55d207b25c5190930d1551e291a45379d4a850e9b79502679ac231d5d7d554ea","import_time":"2025-12-10T21:38:58.633521012Z","id":"pypi/GENERIC-simple-tests/pytc123","modified_time":"2024-08-23T22:55:41Z"},{"source":"reversing-labs","sha256":"749e03220e4ff640e9f75ca351af5c823d7987333643c89059a15c95c6188812","import_time":"2026-03-19T12:20:17.049702083Z","id":"RLUA-2026-00649","modified_time":"2026-03-18T12:17:39Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/pytc123"}],"affected":[{"package":{"name":"pytc123","ecosystem":"PyPI","purl":"pkg:pypi/pytc123"},"versions":["3.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pytc123/MAL-2025-959.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}