{"id":"MAL-2025-191740","summary":"Malicious code in gnosis-py (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (42112b8b2e7c96d9c3a5a188bebf3539cba140ccfdcc721ea9952259b8893721)\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":"2025-12-31T02:53:52.761702Z","published":"2025-10-06T10:53:16Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","sha256":"b25d4492e774b757fd9157b4197035c47081be2e6921d1814e8dfcb37ea71455","modified_time":"2025-10-06T10:53:16.173504Z","versions":["2.4.7","0.0.0"],"import_time":"2025-12-02T22:30:56.062314854Z","id":"pypi/GENERIC-standard-pypi-install-pentest/gnosis-py"},{"source":"kam193","sha256":"42112b8b2e7c96d9c3a5a188bebf3539cba140ccfdcc721ea9952259b8893721","modified_time":"2025-10-06T10:53:16.173504Z","versions":["2.4.7","0.0.0"],"import_time":"2025-12-02T23:07:19.252961388Z","id":"pypi/GENERIC-standard-pypi-install-pentest/gnosis-py"},{"source":"kam193","sha256":"36a27d3a38c90d566c58b46a90efa9c5e88e78d10c5bb7b41da758b2243f370b","modified_time":"2025-10-06T10:53:16.173504Z","versions":["0.0.0","2.4.7"],"import_time":"2025-12-30T22:39:04.291308524Z","id":"pypi/GENERIC-standard-pypi-install-pentest/gnosis-py"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gnosis-py"}],"affected":[{"package":{"name":"gnosis-py","ecosystem":"PyPI","purl":"pkg:pypi/gnosis-py"},"versions":["2.4.7","0.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gnosis-py/MAL-2025-191740.json"}}],"schema_version":"1.7.3","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"}]}