{"id":"MAL-2025-6787","summary":"Malicious code in flatfox-api (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c1abb243ceb7b5b94ca2f950d7cf27838ad4c22bc9771a0ea878af5497bfebf2)\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\n## Source: ossf-package-analysis (429da42d718cc5f399915b0f5d2f25d3d86f9286a96be2f0661216bd13dc6f17)\nThe OpenSSF Package Analysis project identified 'flatfox-api' @ 999.999.99 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2025-12-31T02:53:48.775809Z","published":"2025-07-30T10:19:17Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2025-07-30T11:17:20Z","versions":["999.999.99"],"sha256":"429da42d718cc5f399915b0f5d2f25d3d86f9286a96be2f0661216bd13dc6f17","source":"ossf-package-analysis","import_time":"2025-08-05T06:46:13.938183227Z"},{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2025-07-30T10:19:17.278071Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flatfox-api","sha256":"99b775636f0a7f36ef5855cd9717205e2c37b6a439c92605fa00fb52aa48cdfb","source":"kam193","import_time":"2025-12-02T22:30:56.046696354Z"},{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2025-07-30T10:19:17.278071Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flatfox-api","sha256":"c1abb243ceb7b5b94ca2f950d7cf27838ad4c22bc9771a0ea878af5497bfebf2","source":"kam193","import_time":"2025-12-02T23:07:19.238197799Z"},{"versions":["99.99.99","99.99","9.9.9","9.9.99","999.999.99","9999.99"],"modified_time":"2025-07-30T10:19:17.278071Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flatfox-api","sha256":"bbc0888a3e36d7bba9af7c277fa3071aa4eb2009ceece0cb55f559c20742ee5d","source":"kam193","import_time":"2025-12-10T21:38:58.38121822Z"},{"versions":["9.9.9","9.9.99","99.99","99.99.99","999.999.99","9999.99"],"modified_time":"2025-07-30T10:19:17.278071Z","id":"pypi/GENERIC-standard-pypi-install-pentest/flatfox-api","sha256":"d42c9b2305ff878c3a0d2a7361edd675b3575b69e312f77837d53b2fe15481c0","source":"kam193","import_time":"2025-12-30T22:39:04.290536204Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/flatfox-api"}],"affected":[{"package":{"name":"flatfox-api","ecosystem":"PyPI","purl":"pkg:pypi/flatfox-api"},"versions":["999.999.99","99.99.99","99.99","9.9.9","9.9.99","9999.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flatfox-api/MAL-2025-6787.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":"REPORTER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}