{"id":"MAL-2025-191653","summary":"Malicious code in ptxcompiler (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a157c2b8ad78e45eea0b8e20ef6d466cdefbd686ac62041c13580048283ba7a1)\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 & 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","modified":"2026-03-19T12:55:25.926946Z","published":"2025-10-17T15:20:16Z","database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","versions":["1.0.0"],"id":"RLMA-2025-05627","import_time":"2025-12-02T09:09:38.857857906Z","modified_time":"2025-12-01T12:54:51Z","sha256":"6fb09c12b606b89fa81f470dbafc45bd7f34911703a249749201f5592b14513d"},{"sha256":"fb5c12f1ed4ca2fcf145bd4049f95230aae78757b49e83998e5d4231b0a5017d","source":"kam193","versions":["1.0.0","0.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/ptxcompiler","import_time":"2025-12-02T22:30:56.318781715Z","modified_time":"2025-10-17T15:20:16.9017Z"},{"versions":["1.0.0","0.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/ptxcompiler","import_time":"2025-12-02T23:07:19.508859841Z","modified_time":"2025-10-17T15:20:16.9017Z","sha256":"a157c2b8ad78e45eea0b8e20ef6d466cdefbd686ac62041c13580048283ba7a1","source":"kam193"},{"import_time":"2025-12-30T22:39:04.331309399Z","modified_time":"2025-10-17T15:20:16.9017Z","sha256":"f50578824cb0ffc1ec403c3c7492f20f8dfb922b6beabe21362fbbd8c0ad69bb","source":"kam193","versions":["0.0.0","1.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/ptxcompiler"},{"id":"RLUA-2026-00614","import_time":"2026-03-19T12:20:13.859981539Z","modified_time":"2026-03-18T12:17:13Z","sha256":"b0f78fd5d03fddc46ccbdf8789c78ba31f4e2692cdb9b0393775ea871472dc78","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ptxcompiler"}],"affected":[{"package":{"name":"ptxcompiler","ecosystem":"PyPI","purl":"pkg:pypi/ptxcompiler"},"versions":["1.0.0","0.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ptxcompiler/MAL-2025-191653.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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}