{"id":"MAL-2024-12316","summary":"Malicious code in oe-extract-ids (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (bebbe22a538c4b7b6688bd82facdd749052e801663cf523c8d9c1eb11f81ea57)\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-31T02:56:03.676697Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/oe-extract-ids","import_time":"2025-12-02T22:30:56.264374418Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e87fd99c50d754e4a0de0d4694123e2ea1c7cea2b3fe0e7cf38e4ca14847557a","source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/oe-extract-ids","import_time":"2025-12-02T23:07:19.449911565Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"bebbe22a538c4b7b6688bd82facdd749052e801663cf523c8d9c1eb11f81ea57","source":"kam193"},{"modified_time":"2024-07-26T16:53:30Z","sha256":"5e3a9da53a43e9f5f826582915787b7709a1fc06d85e816dff426da3a6f01feb","source":"kam193","versions":["0.1.40","0.1","0.1.50","1.5.0","1.5.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/oe-extract-ids","import_time":"2025-12-10T21:38:58.564013706Z"},{"versions":["0.1","0.1.40","0.1.50","1.5.0","1.5.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/oe-extract-ids","import_time":"2025-12-30T22:39:04.325075632Z","modified_time":"2024-07-26T16:53:30Z","sha256":"5fbe8e0c51aeab8ce5ba91e81cbd65171044eed3a45c701e312862fddfa26cf5","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/oe-extract-ids"}],"affected":[{"package":{"name":"oe-extract-ids","ecosystem":"PyPI","purl":"pkg:pypi/oe-extract-ids"},"versions":["0.1.40","0.1","0.1.50","1.5.0","1.5.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/oe-extract-ids/MAL-2024-12316.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"}]}