{"id":"MAL-2025-964","summary":"Malicious code in qassabi (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3ed5e109142f6f718ce92b9e9e8e549ef2182b601cad597a729aae045d182a46)\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:56:10.553250Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-02-03T18:38:08.292783887Z","id":"RLMA-2025-00505","versions":["1.1.8"],"modified_time":"2025-02-03T17:07:45Z","sha256":"4c93f3a3a4e28974cf4aa3f18d96c9fe7ab1ddf905e942dac265b14faa552d47","source":"reversing-labs"},{"import_time":"2025-12-02T22:30:56.351742166Z","id":"pypi/GENERIC-standard-pypi-install-pentest/qassabi","source":"kam193","modified_time":"2024-07-26T16:53:30Z","sha256":"ce03a0580ac14adfacce7c7ce51d82d7f730e87456b42c239bf75b4c2f723b33","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"import_time":"2025-12-02T23:07:19.543400365Z","id":"pypi/GENERIC-standard-pypi-install-pentest/qassabi","source":"kam193","modified_time":"2024-07-26T16:53:30Z","sha256":"3ed5e109142f6f718ce92b9e9e8e549ef2182b601cad597a729aae045d182a46","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"import_time":"2025-12-10T21:38:58.645963001Z","id":"pypi/GENERIC-standard-pypi-install-pentest/qassabi","versions":["1.1.8"],"modified_time":"2024-07-26T16:53:30Z","sha256":"e5c0d3185e0387659979dcd370c7e8eabebe73d1daba2bb645c1c1939187a6b5","source":"kam193"},{"import_time":"2026-03-19T12:20:19.556032036Z","id":"RLUA-2026-00676","modified_time":"2026-03-18T12:17:55Z","sha256":"a070b7befab884cff5a7dcb4d373c7a2d753597b5a48aab1a947fb0a8fd0c8fb","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/qassabi"}],"affected":[{"package":{"name":"qassabi","ecosystem":"PyPI","purl":"pkg:pypi/qassabi"},"versions":["1.1.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/qassabi/MAL-2025-964.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"}]}