{"id":"MAL-2024-12250","summary":"Malicious code in crunchie (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f26d858f791d6d12aab4d70b3f5494c2b675934ba0b13cffa405ecd0686cfa91)\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-12T20:38:48.380534Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/crunchie","import_time":"2025-12-02T22:30:55.964775618Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e2f69d299e63a1f2c4488b3ec48588c47d0aa74fc50ca582d17b6ea18427faf8","source":"kam193"},{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/crunchie","import_time":"2025-12-02T23:07:19.155124312Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"f26d858f791d6d12aab4d70b3f5494c2b675934ba0b13cffa405ecd0686cfa91"},{"modified_time":"2024-07-26T16:53:30Z","sha256":"3aa6ed6789228cf056ae4169190dd17d2a09a1bfea9e842e49b6a0155ccd80d1","source":"kam193","versions":["205.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/crunchie","import_time":"2025-12-10T21:38:58.294236667Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/crunchie"}],"affected":[{"package":{"name":"crunchie","ecosystem":"PyPI","purl":"pkg:pypi/crunchie"},"versions":["205.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/crunchie/MAL-2024-12250.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"}]}