{"id":"MAL-2026-5702","summary":"Malicious code in flexitest (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (17f4bae10d193f8128f50dd3010d283dc89016fa468fc8d9b428b5183c505b27)\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-06-12T19:00:56.185440652Z","published":"2026-06-12T17:49:11Z","database_specific":{"malicious-packages-origins":[{"versions":["2.2160.0"],"sha256":"17f4bae10d193f8128f50dd3010d283dc89016fa468fc8d9b428b5183c505b27","import_time":"2026-06-12T18:46:32.574703099Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flexitest","modified_time":"2026-06-12T17:49:49.429673Z","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/flexitest"}],"affected":[{"package":{"name":"flexitest","ecosystem":"PyPI","purl":"pkg:pypi/flexitest"},"versions":["2.2160.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flexitest/MAL-2026-5702.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}