{"id":"MAL-2025-191851","summary":"Malicious code in r-irkernel (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0d34dbf9f927fd7d2e9b1b97bf72e0063bbccd6f536a9c2e9e40c2f9371abd8e)\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":"2025-12-31T02:56:28.439461Z","published":"2025-09-13T21:49:01Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","versions":["2.1.1","1.9.12"],"id":"pypi/GENERIC-standard-pypi-install-pentest/r-irkernel","import_time":"2025-12-02T22:30:56.353673435Z","modified_time":"2025-09-13T21:49:01.587723Z","sha256":"85ef8be37279139c446e671f7fd548ce6f964d04cd769fec42a9575f33c9da26"},{"sha256":"0d34dbf9f927fd7d2e9b1b97bf72e0063bbccd6f536a9c2e9e40c2f9371abd8e","source":"kam193","versions":["2.1.1","1.9.12"],"id":"pypi/GENERIC-standard-pypi-install-pentest/r-irkernel","import_time":"2025-12-02T23:07:19.545304801Z","modified_time":"2025-09-13T21:49:01.587723Z"},{"versions":["1.9.12","2.1.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/r-irkernel","import_time":"2025-12-30T22:39:04.340972087Z","modified_time":"2025-09-13T21:49:01.587723Z","sha256":"e555d033855ca625e2eaa718ecb27c579f60bfd7224101ebd048ee14cfba94d3","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/r-irkernel"}],"affected":[{"package":{"name":"r-irkernel","ecosystem":"PyPI","purl":"pkg:pypi/r-irkernel"},"versions":["2.1.1","1.9.12"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/r-irkernel/MAL-2025-191851.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"}]}