{"id":"MAL-2026-2540","summary":"Malicious code in gd-auth (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (baa9851d66a8d40c23baf029f186e4f8f5366381dadb2d3ecc8cb9420e5e3997)\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-10T19:03:22.224955Z","published":"2026-04-10T18:22:48Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","versions":["99.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/gd-auth","import_time":"2026-04-10T18:49:29.585224333Z","modified_time":"2026-04-10T18:22:48.971275Z","sha256":"baa9851d66a8d40c23baf029f186e4f8f5366381dadb2d3ecc8cb9420e5e3997"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gd-auth"}],"affected":[{"package":{"name":"gd-auth","ecosystem":"PyPI","purl":"pkg:pypi/gd-auth"},"versions":["99.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gd-auth/MAL-2026-2540.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}