{"id":"MAL-2024-12374","summary":"Malicious code in ci-metadata-python-logging (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (b2ec44231abe88a238f040c6ed291532c456a0f07e91b5966a76b5262526672d)\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-02-14T18:48:58Z","published":"2026-02-11T10:26:41Z","database_specific":{"malicious-packages-origins":[{"sha256":"b2ec44231abe88a238f040c6ed291532c456a0f07e91b5966a76b5262526672d","modified_time":"2026-02-11T10:26:41.242552Z","id":"pypi/GENERIC-standard-pypi-install-pentest/ci-metadata-python-logging","versions":["0.1.0"],"source":"kam193","import_time":"2026-02-11T10:49:21.814178236Z"},{"sha256":"9f5e56c822914fa3db2019ee1849d195522c8512d616fd193bced39db9f6bb52","modified_time":"2026-02-11T10:26:41.242552Z","id":"pypi/GENERIC-standard-pypi-install-pentest/ci-metadata-python-logging","versions":["0.1.0"],"source":"kam193","import_time":"2026-02-14T18:47:25.117116966Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ci-metadata-python-logging"}],"affected":[{"package":{"name":"ci-metadata-python-logging","ecosystem":"PyPI","purl":"pkg:pypi/ci-metadata-python-logging"},"versions":["0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ci-metadata-python-logging/MAL-2024-12374.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}