MAL-2025-47749Malicious code in brotli-python (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | brotli-python | 1.0.9 |
| PyPI | brotli-python | 1.1.9 |
| PyPI | brotli-python | 1.2.9 |
| PyPI | brotli-python | 1.9.12 |
| PyPI | brotli-python | 100.99.0 |
| PyPI | brotli-python | 99.1.1 |
| PyPI | brotli-python | 99.2.1 |
| PyPI | brotli-python | 99.3.1 |
| PyPI | brotli-python | 99.5.1 |
| PyPI | brotli-python | 99.6.1 |
| PyPI | brotli-python | 99.99.1 |
{"modified":"2026-03-19T12:23:25Z","published":"2025-09-07T18:53:07Z","schema_version":"1.7.4","id":"MAL-2025-47749","summary":"Malicious code in brotli-python (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3750f9d493198c7607b7f1d5855b6e8726edb24618beeb216e5a86a4a9119e5f)\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":"brotli-python","purl":"pkg:pypi/brotli-python"},"versions":["99.3.1","99.6.1","99.99.1","99.5.1","99.2.1","99.1.1","1.9.12","100.99.0","1.0.9","1.1.9","1.2.9"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/brotli-python"}],"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/"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","sha256":"2ec570a3bde8f9312ed5f031fd3423750dc7b1f6ac99506dbac2b5f3767e8c2e","import_time":"2025-09-26T11:05:31.470267384Z","id":"RLMA-2025-04748","modified_time":"2025-09-26T09:13:46Z","versions":["99.3.1","99.6.1","99.99.1"]},{"source":"kam193","sha256":"65512240f27e9cf895a084968c506b54497be85127ec7d8da531eaf21fcb236a","import_time":"2025-12-02T22:30:55.892985621Z","id":"pypi/GENERIC-standard-pypi-install-pentest/brotli-python","modified_time":"2025-09-08T03:28:46.004831Z","versions":["99.5.1","99.3.1","99.2.1","99.1.1","1.9.12","100.99.0","1.0.9","1.1.9","1.2.9"]},{"source":"kam193","sha256":"3750f9d493198c7607b7f1d5855b6e8726edb24618beeb216e5a86a4a9119e5f","import_time":"2025-12-02T23:07:19.078977133Z","id":"pypi/GENERIC-standard-pypi-install-pentest/brotli-python","modified_time":"2025-09-08T03:28:46.004831Z","versions":["99.5.1","99.3.1","99.2.1","99.1.1","1.9.12","100.99.0","1.0.9","1.1.9","1.2.9"]},{"source":"kam193","sha256":"001d708d03d7eb0b5ceaed11cea3cfd3ff915e784393a872f5cf71d087dc04fd","import_time":"2025-12-30T22:39:04.268048231Z","id":"pypi/GENERIC-standard-pypi-install-pentest/brotli-python","modified_time":"2025-09-08T03:28:46.004831Z","versions":["1.0.9","1.1.9","1.2.9","1.9.12","99.1.1","99.2.1","99.3.1","99.5.1","100.99.0"]},{"source":"reversing-labs","sha256":"b407cfd27f26faa22ea6f8f13e5551e2ee666aef52e7af04b9ed8f8e5feda8cf","import_time":"2026-03-19T12:19:30.081772065Z","id":"RLUA-2026-00155","modified_time":"2026-03-18T12:12:01Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0