{"id":"MAL-2025-5116","summary":"Malicious code in gwpythonsectt2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (cbfa0f91f8c3bb4e7c3ebed7676d1e4c69546c214db5a69e216597ecc367c700)\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:53:31.691460Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2025-06-18T10:15:11Z","sha256":"b75156b36a2e4d482e878addc1747f4edbd5c23035a75765c55f027af340777e","import_time":"2025-06-18T15:06:01.392613953Z","id":"RLMA-2025-03013","versions":["0.1"],"source":"reversing-labs"},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T22:30:56.079351693Z","id":"pypi/GENERIC-standard-pypi-install-pentest/gwpythonsectt2","sha256":"06e6a07575cdefeb5a786ef452462b48acddb1b0a77343f5d98b74d56ce4cafa","source":"kam193"},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T23:07:19.269225286Z","id":"pypi/GENERIC-standard-pypi-install-pentest/gwpythonsectt2","sha256":"cbfa0f91f8c3bb4e7c3ebed7676d1e4c69546c214db5a69e216597ecc367c700","source":"kam193"},{"modified_time":"2024-07-26T16:53:30Z","sha256":"8a8294853a418584e26f2d5d6c41db1ae46b707d3f506bfc085e84812456d8de","import_time":"2025-12-10T21:38:58.409386079Z","id":"pypi/GENERIC-standard-pypi-install-pentest/gwpythonsectt2","versions":["0.1"],"source":"kam193"},{"modified_time":"2026-03-18T12:14:26Z","sha256":"f34893d530270348b5883e8d5b0552ef573912f9ea755e480d68eb0f9bf2ce5f","import_time":"2026-03-19T12:19:50.037916722Z","id":"RLUA-2026-00370","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gwpythonsectt2"}],"affected":[{"package":{"name":"gwpythonsectt2","ecosystem":"PyPI","purl":"pkg:pypi/gwpythonsectt2"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gwpythonsectt2/MAL-2025-5116.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"}]}