agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines
Source AlienVault OTX General
Description
On November 17, 2026, two malicious versions (1.26.1 and 1.26.2) of Microsoft's agent-framework Python package were briefly published on PyPI before removal. These compromised packages deployed credential-stealing malware via Python .pth files that executed automatically on interpreter startup. The malware targeted Azure and CI/CD environments, extracting secrets from environment variables, credential files, and tokens including Azure managed-identity and OIDC tokens. Version 1.26.2 added the ability to steal GitHub Actions OIDC tokens from workflows with federated credential access. Stolen data was exfiltrated through a hardcoded webhook.site URL. The root cause appears to be unauthorized direct upload to PyPI outside the normal release process, though this remains unconfirmed.
Indicators of compromise
URLs 1
- https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb