{"id":"MAL-2024-12356","summary":"Malicious code in szn-search-mlops-common (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (062d7a1b66afdb645fe65b5cc0fbd6d24390d777892168de0b2f73c5e63f2320)\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:55:07.591997Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/szn-search-mlops-common","import_time":"2025-12-02T22:30:56.429333011Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"6c483c1dd374497f80c3d443fab6994a65cb6b376e6573e9f7b1547592c04f92"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/szn-search-mlops-common","import_time":"2025-12-02T23:07:19.613693131Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"062d7a1b66afdb645fe65b5cc0fbd6d24390d777892168de0b2f73c5e63f2320","source":"kam193"},{"modified_time":"2024-07-26T16:53:30Z","sha256":"9f9b7d8ffb0ab51cbe38c7e59072bb0f13eb85675dc713598ddfa854dd381ba5","source":"kam193","versions":["0.0.79","0.0.78"],"id":"pypi/GENERIC-standard-pypi-install-pentest/szn-search-mlops-common","import_time":"2025-12-10T21:38:58.717337541Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/szn-search-mlops-common","import_time":"2025-12-30T22:39:04.35310495Z","modified_time":"2024-07-26T16:53:30Z","sha256":"9307e2c92efb0bcc4e53e999d19d2deb709dad3cc402f0c1559eb76fffe7a901","source":"kam193","versions":["0.0.78","0.0.79"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/szn-search-mlops-common"}],"affected":[{"package":{"name":"szn-search-mlops-common","ecosystem":"PyPI","purl":"pkg:pypi/szn-search-mlops-common"},"versions":["0.0.79","0.0.78"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/szn-search-mlops-common/MAL-2024-12356.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"}]}