{"id":"MAL-2025-4225","summary":"Malicious code in merbe (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (dc6162eed3f18cfb9c42521df101775d64a0a1baa3e2b7de1254c19d48f27a27)\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-03-19T13:03:43.416039Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-05-22T14:06:36.257298732Z","id":"RLMA-2025-02580","modified_time":"2025-05-22T12:33:37Z","versions":["3.2.1"],"source":"reversing-labs","sha256":"e410d94932d940ef7d27f7cd618f6b76facb12cb14d4730a02ed76561f3df225"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/merbe","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","sha256":"8269da06c5d33843982b0066ae252f92cbdb88e5373d247d089883c188ce2e2a","import_time":"2025-12-02T22:30:56.208900613Z"},{"sha256":"dc6162eed3f18cfb9c42521df101775d64a0a1baa3e2b7de1254c19d48f27a27","import_time":"2025-12-02T23:07:19.391484746Z","id":"pypi/GENERIC-standard-pypi-install-pentest/merbe","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/merbe","modified_time":"2024-07-26T16:53:30Z","versions":["3.1.0","3.2.1"],"source":"kam193","sha256":"a000a8e1a41ef3f9e1f18d396d94f69284c70661a2c93f476961d683fd15547e","import_time":"2025-12-10T21:38:58.516009053Z"},{"source":"reversing-labs","sha256":"d3affd9e08d0c8cddbe548c7a39f455a62479ab063bedb40412b7589ec8df3fb","import_time":"2026-03-19T12:20:03.890774852Z","id":"RLUA-2026-00515","modified_time":"2026-03-18T12:16:03Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/merbe"}],"affected":[{"package":{"name":"merbe","ecosystem":"PyPI","purl":"pkg:pypi/merbe"},"versions":["3.2.1","3.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/merbe/MAL-2025-4225.json"}}],"schema_version":"1.9.0","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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}