{"id":"MAL-2024-12273","summary":"Malicious code in flashinfer (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8f37cdcaf6d8e49fa378d094adfdf1b38ea91cd3cf9fc2569db03e514c871a0d)\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":"2025-12-03T00:22:59.645152Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"978ef5cc631ee009344bab9a6627a407da02030314a40a7db0e77bd427d837a8","source":"kam193","modified_time":"2024-07-26T16:53:30Z","versions":["1.0.0"],"import_time":"2025-12-02T22:30:56.044837591Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flashinfer"},{"sha256":"8f37cdcaf6d8e49fa378d094adfdf1b38ea91cd3cf9fc2569db03e514c871a0d","source":"kam193","modified_time":"2024-07-26T16:53:30Z","versions":["1.0.0"],"import_time":"2025-12-02T23:07:19.236300385Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flashinfer"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/flashinfer"}],"affected":[{"package":{"name":"flashinfer","ecosystem":"PyPI","purl":"pkg:pypi/flashinfer"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flashinfer/MAL-2024-12273.json"}}],"schema_version":"1.7.3","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"}]}