MAL-2025-191878Malicious code in statsapi (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | statsapi | 0.0.0 |
| PyPI | statsapi | 1.7.2 |
{"modified":"2025-12-31T02:45:16Z","published":"2025-10-25T09:07:56Z","schema_version":"1.7.4","id":"MAL-2025-191878","summary":"Malicious code in statsapi (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5c59dd2732ec529321670e500c8b732a5641b361029fd435277a6f110d4c5286)\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","affected":[{"package":{"ecosystem":"PyPI","name":"statsapi"},"versions":["1.7.2","0.0.0"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/statsapi"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"malicious-packages-origins":[{"source":"kam193","sha256":"04e14cd45bac0a624b8670a6c17581313e44b06dfe9bb093a9669707043b664e","import_time":"2025-12-02T22:30:56.41778437Z","id":"pypi/GENERIC-standard-pypi-install-pentest/statsapi","modified_time":"2025-10-25T09:07:56.480045Z","versions":["1.7.2","0.0.0"]},{"source":"kam193","sha256":"5c59dd2732ec529321670e500c8b732a5641b361029fd435277a6f110d4c5286","import_time":"2025-12-02T23:07:19.603658845Z","id":"pypi/GENERIC-standard-pypi-install-pentest/statsapi","modified_time":"2025-10-25T09:07:56.480045Z","versions":["1.7.2","0.0.0"]},{"source":"kam193","sha256":"9338efa2d7acf30248aab808d95b13edd309fc32cdec85a6947812df488091d5","import_time":"2025-12-30T22:39:04.350540799Z","id":"pypi/GENERIC-standard-pypi-install-pentest/statsapi","modified_time":"2025-10-25T09:07:56.480045Z","versions":["0.0.0","1.7.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0