Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Microsoft's durabletask PyPI Package Compromised in Supply Chain Attack

Three malicious versions of Microsoft's durabletask Python package were published to PyPI on May 19, 2026, containing a 28 KB payload that steals credentials from cloud providers (AWS, Azure, GCP), Kubernetes, password managers, and developer tools. The attack has been attributed to the TeamPCP threat group and exhibits indicators of Eastern European cybercrime operations.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown number of Python developers and organizations using the affected durabletask package versions; potential for widespread credential theft and lateral movement in cloud environments.
Ecosystems
Attack vectors
Threat actor
Affected entities
  • durabletaskMicrosoft's official Python SDK; three malicious versions published to PyPI

On May 19, 2026, three malicious versions of Microsoft's official durabletask Python SDK were published to the PyPI package repository. The compromised package contained a 28 KB payload designed to steal credentials and sensitive data from multiple cloud and development platforms.\n\nThe malicious payload targeted credentials from AWS, Azure, Google Cloud Platform (GCP), Kubernetes, password managers, and over 90 developer tool configurations. Once executed, the payload would exfiltrate stolen data and attempt lateral movement through connected cloud infrastructure.\n\nThe attack exhibits a notable technical signature: the payload includes logic to skip execution on systems configured with Russian locale settings, a known indicator of Eastern European cybercriminal operations. The incident has been linked to the TeamPCP threat group, which was previously responsible for the Mini Shai-Hulud campaign.\n\nThis attack highlights the risk of compromised official package maintainer accounts and underscores the importance of supply chain security controls, including verification of package integrity and monitoring for unexpected package releases."

Indicators of compromise

Packages
  • durabletask

Remediation

  • Immediately identify and audit all systems that installed the affected durabletask versions from PyPI between May 19, 2026 and the malicious versions' removal
  • Rotate credentials for AWS, Azure, GCP, Kubernetes, password managers, and affected developer tools on potentially compromised systems
  • Monitor cloud infrastructure for signs of lateral movement and unauthorized access
  • Pin durabletask to a known-good version from before May 19, 2026 or wait for an official patched release from Microsoft
  • Review logs from compromised systems for data exfiltration and unauthorized API calls

Sources

  1. Microsoft's durabletask PyPI Package Compromised in Supply Chain Attack · StepSecurity

Cite this entry

"Microsoft's durabletask PyPI Package Compromised in Supply Chain Attack." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed May 19, 2026; last updated June 7, 2026. https://supplychainattack.org/incident/microsoft-s-durabletask-pypi-package-compromised-in-supply-chain-attack-vomlz6

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedcritical

    Malicious code in vtranalytic (PyPI)

    The vtranalytic package on PyPI contained malicious code implementing a Telegram-bot-driven remote administration tool that provides full system control to an attacker holding the configured bot token. The package exfiltrates credentials, SSH keys, and arbitrary files via Telegram API, and executes arbitrary shell commands through a documented `run` command.

    PyPICompromised packageMalicious maintainer
  2. containedcritical

    Malicious code in govapkg (PyPI)

    govapkg, a malicious PyPI package, downloads and executes a hidden binary on first use, establishing persistence via a systemd desktop autostart entry. The package obfuscates its malicious behavior through base64-encoded URLs and downloads from unverified external sources.

    PyPICompromised packageMalicious commit
  3. containedcritical

    Malicious code in dev-helper-bg (PyPI)

    The PyPI package dev-helper-bg contained malicious code that executed arbitrary commands on import. The package decrypted and executed remotely-controlled code fetched from an external endpoint, and spawned a Telegram bot for command and control.

    2026 07 Make HelperPyPICompromised packageMalicious commit
  4. containedcritical

    Malicious code in karpatkit (PyPI)

    The karpatkit package on PyPI contained malicious code that exfiltrated sensitive credentials and secrets on import. The package spawned a daemon thread collecting environment variables, cloud credentials, SSH keys, Kubernetes tokens, cryptocurrency wallets, and shell histories, then transmitted them via HTTP to hardcoded IP addresses.

    PyPICompromised packageMalicious commit