AI NEWS · SOURCE CHECKED
Microsoft Agent Framework PyPI compromise targeted cloud and CI secrets
Malicious agent-framework versions 1.26.1 and 1.26.2 appeared on PyPI with credential-stealing startup hooks. The payload could run whenever Python started, even without importing the framework. Both releases were quarantined.
The AgentenCode assessment
Our perspectiveOn November 17, two malicious versions of Microsoft's official `agent-framework` package were uploaded to PyPI. Wiz and Socket researchers documented credential-stealing code in versions 1.26.1 and 1.26.2. A Python `.pth` startup hook could trigger the payload whenever the affected interpreter environment started, even without importing the framework. The code targeted cloud credentials, CI/CD tokens and local configuration files. Both versions were quarantined later that evening.
This incident does not mean every Microsoft Agent Framework installation was compromised. Actual exposure depends on whether an affected version reached a development machine, container image or CI runner. Researchers identified 1.26.0 as the preceding known clean release. Teams must investigate individual systems to establish whether any data was exfiltrated; a malicious package publication alone does not prove that every user lost credentials.
Potentially affected organizations should audit package versions and build logs, rebuild untrusted environments from clean sources and rotate any secrets that might have been accessible. The incident highlights software supply-chain controls required around agent development, not a failure of the model itself.
Original source: Wiz Threat Research · Source dated 17 Nov 2026
EXPLORE
Relevant background
Independent guides for understanding this update.
Related agents, systems and context
Product links identify the subject of a report; ecosystem links provide context, not shared feature claims.
- Ecosystem contextMicrosoft · Copilot & Foundry
- Background guideAgent tool use