{"schema_version":"1.7.5","id":"MAL-2026-1140","published":"2026-03-02T18:48:28Z","modified":"2026-04-01T12:45:55.446109Z","summary":"Malicious code in heimdal-credentials (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c)\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":"heimdal-credentials","ecosystem":"PyPI","purl":"pkg:pypi/heimdal-credentials"},"versions":["2.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/heimdal-credentials/MAL-2026-1140.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/heimdal-credentials"}],"database_specific":{"iocs":{"ips":["77.91.65.24"]},"malicious-packages-origins":[{"id":"pypi/2026-02-amigapythonupdater/heimdal-credentials","import_time":"2026-03-02T19:19:23.804321686Z","modified_time":"2026-03-02T18:48:28.160683Z","sha256":"44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c","source":"kam193","versions":["2.1.0"]},{"id":"RLMA-2026-00380","import_time":"2026-03-19T12:18:17.802080885Z","modified_time":"2026-03-18T12:14:32Z","sha256":"dc5440468dbe195642a1ef1f836ec185cb211900197d3fb5219e1a87c117ab1b","source":"reversing-labs","versions":["2.1.0"]},{"id":"RLUA-2026-01682","import_time":"2026-04-01T12:26:13.120001298Z","modified_time":"2026-03-24T15:22:13Z","sha256":"7db4e676f3598bf9a1f85f1e89bbc991e18d0e7ef1636bf1606d835175c482af","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"}]}