durabletask 1.4.1, 1.4.2, and 1.4.3 contain malicious code distributed via a compromised maintainer account
durabletask versions 1.4.1, 1.4.2, and 1.4.3 were published on 2026-05-19 within a
35-minute window through a compromised PyPI maintainer account and contained
malicious code.
On import, the package fetched a remote payload (rope.pyz) from an
attacker-controlled host and executed it.
The payload was a credential-theft framework that interrogated cloud instance metadata
(AWS/Azure/GCP) and secret stores, harvested Kubernetes service-account tokens,
HashiCorp Vault tokens, and credentials from known filesystem paths,
attempted to brute-force password manager vaults.
Anything obtained was exfiltrated to command-and-control infrastructure
with a GitHub dead-drop fallback.
It established persistence via a systemd unit (pgsql-monitor.service)
and included a geo-targeted destructive wiper.
Indicators of compromise:
- Dropped payload: rope.pyz (sha256 069ac1dc7f7649b76bc72a11ac700f373804bfd81dab7e561157b703999f44ce)
- Primary C2: check.git-service[.]com (160.119.64.3)
- Secondary C2: t.m-kosche[.]com (185.95.159.32)
- Persistence unit: pgsql-monitor.service
The affected releases have been removed from PyPI.
The known-good versions remain available.
durabletask version 1.5.0 has been released by the maintainers.
This campaign is likely attributable to the threat actor tracked as TeamPCP, based on shared infrastructure and payload overlap with prior supply chain compromises (including the @antv and guardrails-ai waves).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | durabletask | = 1.4.1, = 1.4.2, = 1.4.3 | no fix |
References
- https://github.com/microsoft/durabletask-python/issues/137
- https://safedep.io/malicious-durabletask-pypi-supply-chain-attack
- https://bad-packages.kam193.eu/pypi/campaign/2026-05-compr-durabletask
- https://www.upwind.io/feed/newly-discovered-durabletask-malware-targeted-kubernetes-cloud-secrets-and-ci-cd-infrastructure
- https://www.aikido.dev/blog/durabletask-package-compromised-mini-shai-hulud
- https://www.wiz.io/blog/durabletask-teampcp-supply-chain-attack
- https://pypi.org/project/durabletask/
- Weakness (CWE)
-- Platform
- Python (PyPI)
- Package
durabletask- Disclosed
- 09.06.2026
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-207 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: durabletask
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.