{"schema_version":"1.7.5","id":"MAL-2026-1141","published":"2026-03-02T18:47:02Z","modified":"2026-04-01T12:33:41.712648Z","summary":"Malicious code in identityapi (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (45946e31faffbed940c8acb3656be0d5f25de7db36f58766cdac44a1e7d6150b)\nDuring import, only in specific environments, a module containing code disguised as telemetry is imported. This code then exfiltrates sensitive environment variables and cloud tokens to a hardcoded location, as well as starts a job listening for commands to execute. Likely dependency confusion attempts\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-02-amigapythonupdater\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - exfiltration-env-variables\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - dependency-confusion\n","affected":[{"package":{"name":"identityapi","ecosystem":"PyPI","purl":"pkg:pypi/identityapi"},"versions":["3.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/identityapi/MAL-2026-1141.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/identityapi"}],"database_specific":{"iocs":{"ips":["77.91.65.24"]},"malicious-packages-origins":[{"id":"pypi/2026-02-amigapythonupdater/identityapi","import_time":"2026-03-02T19:19:23.805006019Z","modified_time":"2026-03-02T18:47:03.02372Z","sha256":"45946e31faffbed940c8acb3656be0d5f25de7db36f58766cdac44a1e7d6150b","source":"kam193","versions":["3.0.0"]},{"id":"RLMA-2026-00419","import_time":"2026-03-19T12:18:18.048526538Z","modified_time":"2026-03-18T12:14:57Z","sha256":"c55c631299437a327e3a9b7ec27602874a0888250e7c108490dfbe9be2822262","source":"reversing-labs","versions":["3.0.0"]},{"id":"RLUA-2026-01684","import_time":"2026-04-01T12:26:13.145676706Z","modified_time":"2026-03-24T15:22:16Z","sha256":"117eeae76b1aab00a4cab7a416ef6a1fc9ddb87e58bd5b01bdb82394a5075b39","source":"reversing-labs"}]},"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}