{"id":"MAL-2025-3278","summary":"Malicious code in subdomainer (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (be979ecd7261fc996ff3007675ba6e59cbdab8da999ab44c937adb5b1a609724)\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\n## Source: ossf-package-analysis (7a632d46c9cda2dc51b4f8dabb8860c8bed1f5c0250dc785770b881f6b88c4d6)\nThe OpenSSF Package Analysis project identified 'subdomainer' @ 1.0.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","modified":"2025-12-12T20:43:02.461631Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-04-22T07:06:27.427896318Z","modified_time":"2025-04-22T06:46:01Z","sha256":"7a632d46c9cda2dc51b4f8dabb8860c8bed1f5c0250dc785770b881f6b88c4d6","source":"ossf-package-analysis","versions":["1.0.0"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/subdomainer","import_time":"2025-12-02T22:30:56.420045753Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"10e784110ebc99ff34a43ff0a2752ba475df01d05d84712493cb73eee4f51e4c","source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/subdomainer","import_time":"2025-12-02T23:07:19.605483562Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"be979ecd7261fc996ff3007675ba6e59cbdab8da999ab44c937adb5b1a609724","source":"kam193"},{"source":"kam193","versions":["1.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/subdomainer","import_time":"2025-12-10T21:38:58.708757731Z","modified_time":"2024-07-26T16:53:30Z","sha256":"15b7a574f81766bc347b2505ab65a3fa20b6dbae3914ac38c3d0fb512f8d3505"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/subdomainer"}],"affected":[{"package":{"name":"subdomainer","ecosystem":"PyPI","purl":"pkg:pypi/subdomainer"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/subdomainer/MAL-2025-3278.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":"ANALYST"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}