{"id":"MAL-2024-11655","summary":"Malicious code in pckaging (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (22d95e82784e0b931da5081722f930a6c3acedcaec6688e70859941b9f2963f4)\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-03-19T12:38:20.115292Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2024-11111","import_time":"2024-12-09T14:38:46.781690628Z","modified_time":"2024-12-09T06:50:46Z","sha256":"2461e29e9edaf24956f44e2901c32cbed8105766f3fa2a95b3b63270ded95583","source":"reversing-labs","versions":["0.3"]},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7a3cb0261412ccb8aa3b373e25bba261da48de3b11f28192de8bf36194e4c942","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/pckaging","import_time":"2025-12-02T22:30:56.290280653Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/pckaging","import_time":"2025-12-02T23:07:19.477720804Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"22d95e82784e0b931da5081722f930a6c3acedcaec6688e70859941b9f2963f4","source":"kam193"},{"modified_time":"2024-07-26T16:53:30Z","sha256":"f959c1ec877a42f40146857832e3ec5a5e5c4089457c99b38fb1ef1004632550","source":"kam193","versions":["0.3"],"id":"pypi/GENERIC-standard-pypi-install-pentest/pckaging","import_time":"2025-12-10T21:38:58.59495396Z"},{"source":"reversing-labs","id":"RLUA-2026-00583","import_time":"2026-03-19T12:20:11.324916597Z","modified_time":"2026-03-18T12:16:49Z","sha256":"3546769f88fe021224111ba7d536f77ecdd77701ccefa198bc0b03579411aacc"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/pckaging"}],"affected":[{"package":{"name":"pckaging","ecosystem":"PyPI","purl":"pkg:pypi/pckaging"},"versions":["0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pckaging/MAL-2024-11655.json"}}],"schema_version":"1.7.5","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"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}