{"id":"MAL-2025-5132","summary":"Malicious code in saml-helper (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2b054dba9521b1260174fa01f3f7ba51d88bd51e53c481675ed967271304a63f)\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:56:57.371608Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-03029","versions":["2.3.1","2.5.3","2.5.4"],"modified_time":"2025-06-18T10:15:21Z","import_time":"2025-06-18T15:06:03.046207355Z","source":"reversing-labs","sha256":"2fd5325ea1bdab3a34b47c7e78f3c035f1479808c746c6e39b26c023ee517e1f"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/saml-helper","source":"kam193","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T22:30:56.388241666Z","sha256":"227adfac43512ee4f67aeb5913e27d86b6950e3f7dc888f850c03cb5e2c8d185"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/saml-helper","source":"kam193","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T23:07:19.575457828Z","sha256":"2b054dba9521b1260174fa01f3f7ba51d88bd51e53c481675ed967271304a63f"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/saml-helper","versions":["2.3.1","2.5.4"],"modified_time":"2024-07-26T16:53:30Z","import_time":"2025-12-10T21:38:58.677987137Z","source":"kam193","sha256":"53cae38df3fb11b7030ee7fe4f309882710fc79fe2375dd5f1e0e64b91853fbc"},{"id":"RLUA-2026-00744","source":"reversing-labs","modified_time":"2026-03-18T12:18:38Z","import_time":"2026-03-19T12:20:26.255819944Z","sha256":"9e7270cb0378022527e2712743992aef4cf5ed526770e35f6efb2d24d1866354"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/saml-helper"}],"affected":[{"package":{"name":"saml-helper","ecosystem":"PyPI","purl":"pkg:pypi/saml-helper"},"versions":["2.3.1","2.5.3","2.5.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/saml-helper/MAL-2025-5132.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"}]}