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