{"id":"MAL-2025-6519","summary":"Malicious code in greensadway (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c753b011ebd58b9c724b9078a09aa839bc2267e7828be5e90c1a33d5a4992149)\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:53:37.106383Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-03610","versions":["0.1"],"source":"reversing-labs","import_time":"2025-08-01T10:07:11.638473846Z","sha256":"fe716e903530bacd2ccc64e7393d12f0fa9d5d1e1fa1a0869abc22c9fcd95126","modified_time":"2025-07-31T19:15:13Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/greensadway","source":"kam193","sha256":"6a9700b5beb781c1fa2385b4127fc981ac18e0b2a0a6779752a3b85ebf3a1486","import_time":"2025-12-02T22:30:56.076527696Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/greensadway","source":"kam193","sha256":"c753b011ebd58b9c724b9078a09aa839bc2267e7828be5e90c1a33d5a4992149","import_time":"2025-12-02T23:07:19.266270416Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/greensadway","versions":["0.1"],"source":"kam193","import_time":"2025-12-10T21:38:58.406048008Z","sha256":"97a46aef581f6d71c0a59cbddecc4c97b795929d391abf8d7ef1f097385095be","modified_time":"2024-07-26T16:53:30Z"},{"id":"RLUA-2026-00368","source":"reversing-labs","import_time":"2026-03-19T12:19:49.721560469Z","sha256":"dd919c274b0f15686b442accf0e9775accc6a66b659e2dd3de30bae72d7e046b","modified_time":"2026-03-18T12:14:24Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/greensadway"}],"affected":[{"package":{"name":"greensadway","ecosystem":"PyPI","purl":"pkg:pypi/greensadway"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/greensadway/MAL-2025-6519.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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}