MAL-2025-2981Malicious code in opengrep (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | opengrep | 0.0.1 |
| PyPI | opengrep | 0.0.2 |
| PyPI | opengrep | 0.0.3 |
| PyPI | opengrep | 0.0.4 |
| PyPI | opengrep | 0.0.5 |
| PyPI | opengrep | 0.0.6 |
| PyPI | opengrep | 0.0.7 |
| PyPI | opengrep | 0.0.8 |
{"modified":"2026-03-19T12:23:25Z","published":"2024-07-26T16:53:30Z","schema_version":"1.7.4","id":"MAL-2025-2981","summary":"Malicious code in opengrep (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8de001a262d51e9750f84bfa2f6d30f5798aca9d0614b5feb95215ed1ced0507)\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":"opengrep","purl":"pkg:pypi/opengrep"},"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/opengrep"}],"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":"12fb5927afd9ba0a8bc1d2b0f72af5e2eb2f0d8202e999da6f401ac3cca7f1b8","import_time":"2025-03-31T07:07:06.085278504Z","id":"RLMA-2025-01979","modified_time":"2025-03-28T13:05:56Z","versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8"]},{"source":"kam193","sha256":"9454f71a434109877ff922804db2d081c4f08af5b047b0ee7a651ea21a0cf0fd","import_time":"2025-12-02T22:30:56.274776127Z","id":"pypi/GENERIC-standard-pypi-install-pentest/opengrep","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"8de001a262d51e9750f84bfa2f6d30f5798aca9d0614b5feb95215ed1ced0507","import_time":"2025-12-02T23:07:19.461687632Z","id":"pypi/GENERIC-standard-pypi-install-pentest/opengrep","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"ff192c815669701bedb4d6ee5c22adacb91a9be0db1204710cd3e83b871cb9fd","import_time":"2025-12-10T21:38:58.575150501Z","id":"pypi/GENERIC-standard-pypi-install-pentest/opengrep","modified_time":"2024-07-26T16:53:30Z","versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8"]},{"source":"reversing-labs","sha256":"a7c4bbde4e0371dc055b22ffc8f525625c91f804b2f9aa9cb7af8d803efdd46c","import_time":"2026-03-19T12:20:09.499800287Z","id":"RLUA-2026-00568","modified_time":"2026-03-18T12:16:37Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0