{"id":"MAL-2026-2836","summary":"Malicious code in restasv3 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8b1f1a7427290168b0acaa2bd682cb33a9d3384eb9f0ea95d2bbd295152bfff7)\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-04-17T08:49:17.792017Z","published":"2026-04-17T07:49:46Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-04-17T07:49:46.262928Z","sha256":"8b1f1a7427290168b0acaa2bd682cb33a9d3384eb9f0ea95d2bbd295152bfff7","source":"kam193","versions":["99.99.1","99.99.2","99.99.3","99.99.4"],"id":"pypi/GENERIC-standard-pypi-install-pentest/restasv3","import_time":"2026-04-17T08:40:36.210864082Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/restasv3"}],"affected":[{"package":{"name":"restasv3","ecosystem":"PyPI","purl":"pkg:pypi/restasv3"},"versions":["99.99.1","99.99.2","99.99.3","99.99.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/restasv3/MAL-2026-2836.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}