{"id":"MAL-2026-11048","summary":"Malicious code in karpatkit (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0a7a9ac195db3ed802d44e5d140f1425f53432c30aa0ddddfd46a91839fe8dff)\nDuring import, the package exfiltrates sensitive data (env variables, credential files, shell history, cryptocurrency wallet data etc.). It appears to be targeting users of kpk.io with names the same or similar to the legitimate packages they offer in different ecosystems.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-07-roles-royce\n\n\nReasons (based on the campaign):\n\n\n - dependency-confusion\n\n\n - targetted-attack\n\n\n - exfiltration-credentials\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-cloud-tokens\n\n\n - exfiltration-ssh-keys\n\n\n - exfiltration-crypto\n","modified":"2026-07-24T10:33:22.015877584Z","published":"2026-07-24T09:22:28Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-07-24T09:22:28.47825Z","sha256":"0a7a9ac195db3ed802d44e5d140f1425f53432c30aa0ddddfd46a91839fe8dff","source":"kam193","versions":["2.1.0","2.1.1"],"id":"pypi/2026-07-roles-royce/karpatkit","import_time":"2026-07-24T10:20:25.478052639Z"}],"iocs":{"ips":["185.158.107.189","151.247.22.13"],"urls":["http://185.158.107.189:8877","http://151.247.22.13:8877"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/karpatkit"}],"affected":[{"package":{"name":"karpatkit","ecosystem":"PyPI","purl":"pkg:pypi/karpatkit"},"versions":["2.1.0","2.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/karpatkit/MAL-2026-11048.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}