MAL-2026-1140 Malicious code in heimdal-credentials (PyPI)

Malicious package Published
Package
heimdal-credentials
Registry
PyPI

What is MAL-2026-1140?

MAL-2026-1140 is a malicious package in heimdal-credentials, published on 2 Mar 2026.

Official description

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

What should I do about MAL-2026-1140?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-1140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free