{"id":"MAL-2025-191935","summary":"Malicious code in win32str (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (afe91149c788d349c6c0d31487fb417ce5fabc059b447dc4289b1e74f2cd161c)\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:23.031619Z","published":"2025-06-10T20:26:30Z","database_specific":{"iocs":{"domains":["diar.ai"]},"malicious-packages-origins":[{"id":"pypi/2025-06-diar-ai-basic/win32str","import_time":"2025-12-02T22:30:56.511504548Z","modified_time":"2025-06-10T20:26:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e9b5d89e0cc5767028cd5d6f066235807536f7703fc98e6a170bf9a3b8ccd469","source":"kam193"},{"sha256":"afe91149c788d349c6c0d31487fb417ce5fabc059b447dc4289b1e74f2cd161c","source":"kam193","id":"pypi/2025-06-diar-ai-basic/win32str","import_time":"2025-12-02T23:07:19.695296309Z","modified_time":"2025-06-10T20:26:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"modified_time":"2025-06-10T20:26:30Z","sha256":"8c4720f3198db33b3696ad46cbc055de45a0500b0dfd1d2a8171b1781650b0c9","source":"kam193","versions":["0.0.1","0.0.3"],"id":"pypi/2025-06-diar-ai-basic/win32str","import_time":"2025-12-10T21:38:58.783121539Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/win32str"}],"affected":[{"package":{"name":"win32str","ecosystem":"PyPI","purl":"pkg:pypi/win32str"},"versions":["0.0.1","0.0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/win32str/MAL-2025-191935.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"}]}