MAL-2026-1140

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/heimdal-credentials/MAL-2026-1140.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-1140
Published
2026-03-02T18:48:28Z
Modified
2026-03-02T19:43:48.525774Z
Summary
Malicious code in heimdal-credentials (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c)

During 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


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-02-amigapythonupdater

Reasons (based on the campaign):

  • exfiltration-generic

  • exfiltration-env-variables

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • dependency-confusion

Database specific
{
    "iocs": {
        "ips": [
            "77.91.65.24"
        ]
    },
    "malicious-packages-origins": [
        {
            "source": "kam193",
            "import_time": "2026-03-02T19:19:23.804321686Z",
            "sha256": "44b549b64558430b61d35bb2eb2cfcf8ec15d75bacb38af8f34deafe5d6add2c",
            "id": "pypi/2026-02-amigapythonupdater/heimdal-credentials",
            "modified_time": "2026-03-02T18:48:28.160683Z",
            "versions": [
                "2.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / heimdal-credentials

Package

Name
heimdal-credentials
View open source insights on deps.dev
Purl
pkg:pypi/heimdal-credentials

Affected ranges

Affected versions

2.*
2.1.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/heimdal-credentials/MAL-2026-1140.json"