{"id":"MAL-2025-47794","summary":"Malicious code in py-sys-utils (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0f9d0b03bfee3afe8585a595eb40b5bb3d9d59db389bc864641b19aadd6bb764)\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:27.239349Z","published":"2025-08-23T17:37:17Z","database_specific":{"malicious-packages-origins":[{"sha256":"2996d0ca23390a89d9cef8c29bf840293236cfd0b2f3925f1b70aa0dc6114b7a","modified_time":"2025-09-26T09:14:26Z","id":"RLMA-2025-04801","import_time":"2025-09-26T11:05:35.369301604Z","versions":["3.0.1"],"source":"reversing-labs"},{"sha256":"35d95f5426d289821cfffb82d4f55cf23c78e58a1f4ea2e4dc11ea09fea11a90","modified_time":"2025-08-23T19:23:24.150167Z","id":"pypi/GENERIC-standard-pypi-install-pentest/py-sys-utils","import_time":"2025-12-02T22:30:56.322561408Z","versions":["3.0.1","3.2.4"],"source":"kam193"},{"sha256":"0f9d0b03bfee3afe8585a595eb40b5bb3d9d59db389bc864641b19aadd6bb764","modified_time":"2025-08-23T19:23:24.150167Z","id":"pypi/GENERIC-standard-pypi-install-pentest/py-sys-utils","import_time":"2025-12-02T23:07:19.512811127Z","versions":["3.0.1","3.2.4"],"source":"kam193"},{"sha256":"7b206069b60b701f297970d529712bca200ad45f535c678a46cc3cc182c77027","modified_time":"2026-03-18T12:17:16Z","id":"RLUA-2026-00618","import_time":"2026-03-19T12:20:14.224144864Z","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/py-sys-utils"}],"affected":[{"package":{"name":"py-sys-utils","ecosystem":"PyPI","purl":"pkg:pypi/py-sys-utils"},"versions":["3.0.1","3.2.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/py-sys-utils/MAL-2025-47794.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"}]}