{"id":"MAL-2026-2522","summary":"Malicious code in st-payment (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5bcf8605142a71ab3977537d339f48dfc102fcb49ce37c8f6b74c6b8af38988d)\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-04-09T13:47:34.777729Z","published":"2026-04-09T13:30:26Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-04-09T13:38:19.211019024Z","id":"pypi/GENERIC-standard-pypi-install-pentest/st-payment","source":"kam193","modified_time":"2026-04-09T13:30:26.063758Z","sha256":"5bcf8605142a71ab3977537d339f48dfc102fcb49ce37c8f6b74c6b8af38988d","versions":["99.0.0"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/st-payment"}],"affected":[{"package":{"name":"st-payment","ecosystem":"PyPI","purl":"pkg:pypi/st-payment"},"versions":["99.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/st-payment/MAL-2026-2522.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}