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