{"id":"MAL-2026-4166","summary":"Malicious code in tarpackage (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (32df873f7d91846104a4637b94b2816fea2023260d81c2ecbc5f3c6d5b6a934a)\nThe package exfiltrates env variables during installation\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-05-tarpackage\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - exfiltration-env-variables\n","modified":"2026-05-19T11:01:39.301667291Z","published":"2026-05-19T09:26:44Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","id":"pypi/2026-05-tarpackage/tarpackage","import_time":"2026-05-19T10:43:24.118520895Z","versions":["1.0.0"],"modified_time":"2026-05-19T09:26:44.605498Z","sha256":"32df873f7d91846104a4637b94b2816fea2023260d81c2ecbc5f3c6d5b6a934a"}],"iocs":{"urls":["http://82.98.144.242:10443/tarpackage"],"ips":["82.98.144.242"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/tarpackage"}],"affected":[{"package":{"name":"tarpackage","ecosystem":"PyPI","purl":"pkg:pypi/tarpackage"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/tarpackage/MAL-2026-4166.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}