{"id":"MAL-2025-5115","summary":"Malicious code in gwpythonsectt1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e725c704d6886238676ace905f16e6ad90eb00884187b18e2225bc66bf3a51cd)\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:40.373477Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-06-18T15:06:01.301941866Z","versions":["0.1"],"source":"reversing-labs","id":"RLMA-2025-03012","sha256":"de18c7840e01f9830cc8075ca81646ea67486948769fd58d6f99ae58071cd0fa","modified_time":"2025-06-18T10:15:10Z"},{"import_time":"2025-12-02T22:30:56.078558762Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/gwpythonsectt1","modified_time":"2024-07-26T16:53:30Z","sha256":"c805fffe3cc1fb619f0dec2139f2cffeb6b709e857f85f14d49d895457bfcbfd","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"import_time":"2025-12-02T23:07:19.268250205Z","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/gwpythonsectt1","modified_time":"2024-07-26T16:53:30Z","sha256":"e725c704d6886238676ace905f16e6ad90eb00884187b18e2225bc66bf3a51cd","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"import_time":"2025-12-10T21:38:58.408335621Z","versions":["0.1"],"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/gwpythonsectt1","sha256":"b6a9045d673f8b20e47ceaca2ce96738ce3dab0230afa7fb6c76506f84887ca6","modified_time":"2024-07-26T16:53:30Z"},{"import_time":"2026-03-19T12:19:49.811732268Z","source":"reversing-labs","id":"RLUA-2026-00369","sha256":"016e9298325f4270aa3ec054a4634495f03c92e6ee6a1f7b79a1001c45d1ea63","modified_time":"2026-03-18T12:14:25Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gwpythonsectt1"}],"affected":[{"package":{"name":"gwpythonsectt1","ecosystem":"PyPI","purl":"pkg:pypi/gwpythonsectt1"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gwpythonsectt1/MAL-2025-5115.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"}]}