MAL-2026-1140Malicious code in heimdal-credentials (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | heimdal-credentials | 2.1.0 |
{"modified":"2026-04-01T12:28:04Z","published":"2026-03-02T18:48:28Z","schema_version":"1.7.4","id":"MAL-2026-1140","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":{"ecosystem":"PyPI","name":"heimdal-credentials"},"versions":["2.1.0"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/heimdal-credentials"}],"credits":[{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"iocs":{"ips":["77.91.65.24"]},"malicious-packages-origins":[{"source":"kam193","sha256":"44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c","import_time":"2026-03-02T19:19:23.804321686Z","id":"pypi/2026-02-amigapythonupdater/heimdal-credentials","modified_time":"2026-03-02T18:48:28.160683Z","versions":["2.1.0"]},{"source":"reversing-labs","sha256":"dc5440468dbe195642a1ef1f836ec185cb211900197d3fb5219e1a87c117ab1b","import_time":"2026-03-19T12:18:17.802080885Z","id":"RLMA-2026-00380","modified_time":"2026-03-18T12:14:32Z","versions":["2.1.0"]},{"source":"reversing-labs","sha256":"7db4e676f3598bf9a1f85f1e89bbc991e18d0e7ef1636bf1606d835175c482af","import_time":"2026-04-01T12:26:13.120001298Z","id":"RLUA-2026-01682","modified_time":"2026-03-24T15:22:13Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0