{"id":"MAL-2025-191804","summary":"Malicious code in notary-client (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d6777fd3be7abdd8775b30e889a1bd66c4bef8af1794600867fc7292a8b9bcd0)\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:59.272333Z","published":"2025-08-28T22:33:58Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:56.254256348Z","modified_time":"2025-08-28T22:33:58.612618Z","sha256":"d8de45509e89902013530aa9a8b5af6caf7473d815fe252ce9fdba5129f78002","source":"kam193","versions":["3.6.0","3.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/notary-client"},{"import_time":"2025-12-02T23:07:19.439129223Z","modified_time":"2025-08-28T22:33:58.612618Z","sha256":"d6777fd3be7abdd8775b30e889a1bd66c4bef8af1794600867fc7292a8b9bcd0","source":"kam193","versions":["3.6.0","3.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/notary-client"},{"import_time":"2025-12-30T22:39:04.32201261Z","modified_time":"2025-08-28T22:33:58.612618Z","sha256":"ed9cf15bb00b00b63f43241da9e110044f146584ab6ade99af199c0801e41878","source":"kam193","versions":["3.0.0","3.6.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/notary-client"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/notary-client"}],"affected":[{"package":{"name":"notary-client","ecosystem":"PyPI","purl":"pkg:pypi/notary-client"},"versions":["3.6.0","3.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/notary-client/MAL-2025-191804.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"}]}