{"id":"MAL-2025-191879","summary":"Malicious code in stubsout (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (288961ef642901bbbd1ecf1fee45702985e9691d3f2fdc95f5990a197df2782b)\nWhile described as telemetry, importing the package attempts to send out some basic info as well as quite sensitive environmental variables.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-06-stubsout\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 - exfiltration-env-variables\n","modified":"2025-12-12T20:43:01.907194Z","published":"2025-06-07T16:33:11Z","database_specific":{"iocs":{"domains":["api.diar.ai"],"urls":["https://api.diar.ai/pyvac"]},"malicious-packages-origins":[{"sha256":"1fedd64d9650a1fb76e6b6e504ee96e4dd2885025813fecf77888d33abc15c72","source":"kam193","id":"pypi/2025-06-stubsout/stubsout","import_time":"2025-12-02T22:30:55.613370188Z","modified_time":"2025-06-07T16:33:11Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"id":"pypi/2025-06-stubsout/stubsout","import_time":"2025-12-02T23:07:18.653489Z","modified_time":"2025-06-07T16:33:11Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"288961ef642901bbbd1ecf1fee45702985e9691d3f2fdc95f5990a197df2782b","source":"kam193"},{"sha256":"e9dcfff8a0bc41778581a79e2d0be0abe6271b868491b36eb1bc5affc28b395b","source":"kam193","versions":["0.0.1","0.0.2"],"id":"pypi/2025-06-stubsout/stubsout","import_time":"2025-12-10T21:38:57.843466261Z","modified_time":"2025-06-07T16:33:11Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/stubsout"}],"affected":[{"package":{"name":"stubsout","ecosystem":"PyPI","purl":"pkg:pypi/stubsout"},"versions":["0.0.1","0.0.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/stubsout/MAL-2025-191879.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"}]}