{"id":"MAL-2024-11699","summary":"Malicious code in s4transfer (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (18c14c40902edbe0bd3c62c1b43d3074b28c6c717d6c2522e0df56ed88643fcb)\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:46.175443Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2024-11157","import_time":"2024-12-09T14:38:48.741719639Z","modified_time":"2024-12-09T06:51:05Z","sha256":"019d1080d3f7112dd28dccab107891d2825fdf8e62d06c037018a83eb46ed60d","source":"reversing-labs","versions":["0.3"]},{"import_time":"2025-12-02T22:30:56.386367163Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"4efcd735294f92c18d485f257e948a7a5db98f26a5c69d9ff37bf6ea581cde9d","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/s4transfer"},{"import_time":"2025-12-02T23:07:19.573451672Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"18c14c40902edbe0bd3c62c1b43d3074b28c6c717d6c2522e0df56ed88643fcb","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/s4transfer"},{"import_time":"2025-12-10T21:38:58.675909956Z","modified_time":"2024-07-26T16:53:30Z","sha256":"4dc0b3ee3f40f75c5d5316b72ce00849293d50cb6ce11c6ff4b70e55071fedaa","source":"kam193","versions":["0.3"],"id":"pypi/GENERIC-standard-pypi-install-pentest/s4transfer"},{"sha256":"4e5b54840e5613490d8dd81dcfbd225506417dc723b2b07f79fefe29a6cf874a","source":"reversing-labs","id":"RLUA-2026-00743","import_time":"2026-03-19T12:20:26.168338454Z","modified_time":"2026-03-18T12:18:37Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/s4transfer"}],"affected":[{"package":{"name":"s4transfer","ecosystem":"PyPI","purl":"pkg:pypi/s4transfer"},"versions":["0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/s4transfer/MAL-2024-11699.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"}]}