{"id":"MAL-2025-191808","summary":"Malicious code in package-resources (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (ca5a9eea6d70ca2932b87cad82f57aa47d4ca38f9ba6c9d2f45d465b46c8358f)\nResearch packages targeting typosquatting and dependency confusions, without really harmful behaviour - just calling home through DNS resolver. \n\nRelated to 2025-06-stubsout (using the same remote domain), but without dangerous activity\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: 2025-06-diar-ai-basic\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 - typosquatting\n","modified":"2025-12-12T20:41:07.205554Z","published":"2025-06-10T20:26:30Z","database_specific":{"iocs":{"domains":["diar.ai"]},"malicious-packages-origins":[{"source":"kam193","id":"pypi/2025-06-diar-ai-basic/package-resources","import_time":"2025-12-02T22:30:56.28549539Z","modified_time":"2025-06-10T20:26:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"66a39eb6a99f6a3c82112d2bed26ef992a2fc406ba72a4678fced96168b4b088"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"ca5a9eea6d70ca2932b87cad82f57aa47d4ca38f9ba6c9d2f45d465b46c8358f","source":"kam193","id":"pypi/2025-06-diar-ai-basic/package-resources","import_time":"2025-12-02T23:07:19.472762327Z","modified_time":"2025-06-10T20:26:30Z"},{"import_time":"2025-12-10T21:38:58.588655171Z","modified_time":"2025-06-10T20:26:30Z","sha256":"58d9a45eed476652ad45860a9e7eeae7e75ad84658e4dd4bdca85f7ed1835782","source":"kam193","versions":["0.0.1"],"id":"pypi/2025-06-diar-ai-basic/package-resources"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/package-resources"}],"affected":[{"package":{"name":"package-resources","ecosystem":"PyPI","purl":"pkg:pypi/package-resources"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/package-resources/MAL-2025-191808.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"}]}