Description

The ongoing TeamPCP software supply chain campaign has compromised the official Microsoft DurableTask Python client hosted on PyPI. Researchers identified malicious versions of the durabletask package — 1.4.1, 1.4.2, and 1.4.3 — containing malware designed to steal cloud credentials and propagate across enterprise environments. The malicious packages were later quarantined by PyPI following an investigation by Wiz researchers. The compromise reportedly originated from a hijacked GitHub account associated with the microsoft/durabletask-python repository. Attackers leveraged access to GitHub Actions secrets to extract a valid PyPI publishing token and upload trojanized package versions directly to the Python package index. The incident is linked to the broader TeamPCP campaign previously observed targeting the @antv ecosystem and other developer-focused repositories. The injected malware was embedded through a rope.pyz payload and modified several package modules, including __init__.py and task.py. Once executed on Linux systems, the malware attempted to harvest credentials and tokens from AWS, Azure, Google Cloud Platform, Kubernetes, HashiCorp Vault, and local configuration files. Researchers also observed attempts to extract passwords from shell history files such as .bash_history and .zsh_history. The malware additionally included worm-like propagation mechanisms using AWS Systems Manager (SSM) and Kubernetes APIs to laterally spread to other accessible systems. Command-and-control communication reportedly utilized domains including check.git-service.com and backup infrastructure hosted at t.m-kosche.com.