{"id":"MAL-2024-12191","summary":"Malicious code in appsec-utils (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c03052298655ba853abe857c8ebbdf21fbb59942800dd2e86aeffbd8ed2751bc)\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-01-14T11:14:26.753500Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-utils","import_time":"2025-12-02T22:30:55.835316838Z","source":"kam193","sha256":"ed2a1e0078052761796b0e2dc5e143445a4fc592dca938ce28644d3988b55352","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-utils","import_time":"2025-12-02T23:07:19.01537268Z","source":"kam193","sha256":"c03052298655ba853abe857c8ebbdf21fbb59942800dd2e86aeffbd8ed2751bc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-utils","import_time":"2025-12-10T21:38:58.16090123Z","versions":["1.99.106"],"source":"kam193","sha256":"f8fe6fca9c136ecc1bb38cffbecd1e04f53db4ea7021a919b7846d14ae3fd51d","modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-utils","import_time":"2026-01-14T11:08:23.875896622Z","versions":["1.99.106"],"source":"kam193","sha256":"3d45043612d2ca9e7e96ec68366953860f604def0e53e572aa4ccac6e102abf1","modified_time":"2024-07-26T16:53:30Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/appsec-utils"}],"affected":[{"package":{"name":"appsec-utils","ecosystem":"PyPI","purl":"pkg:pypi/appsec-utils"},"versions":["1.99.106"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/appsec-utils/MAL-2024-12191.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":"ANALYST"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}