Malicious Agent Framework PyPI releases stole cloud credentials
Original title: Microsoft’s Agent Framework PyPI package compromised to steal credentials
Versions 1.26.1 and 1.26.2 ran a stealer at Python startup on November 17; the safe release named is 1.26.0.
Attackers published two malicious versions of Microsoft's official Agent Framework package on PyPI to steal cloud credentials and other secrets. Versions 1.26.1 and 1.26.2, published November 17, 2026, executed during normal Python startup even when the package was not imported, while depending on legitimate agent-framework-core 1.26.0. They collected environment variables, configuration files, process data, and cloud tokens, then sent them to a webhook.site address. PyPI quarantined both releases, but the publishing-access path remains unknown.
Unconfirmed: How the attacker gained publishing access to Microsoft's official PyPI project is unknown, and Microsoft had not responded.
- The package has roughly 200,000 monthly downloads on PyPI.
- Targets included Azure, AWS, GitHub, Docker, Hugging Face, and OpenAI secrets.
- Version 1.26.2 added GitHub Actions OIDC requests and runner-directory searches.
- The second malicious release appeared about 2.5 minutes after the first quarantine.
- Both releases sent collected data to the same webhook.site endpoint.
Impact: Theft of cloud credentials, tokens, and other developer secrets
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft Agent Framework | 1.26.1 and 1.26.2 | 1.26.0 |
- 1.Isolate affected environments and rebuild from the safe 1.26.0 release.
- 2.Rotate credentials reachable from any compromised environment.
- 3.Search egress logs for the named webhook.site path.
- ATT&CK
- T1195.001 Compromise Software Dependencies and Development ToolsT1552.001 Credentials In FilesT1552.005 Cloud Instance Metadata APIT1567 Exfiltration Over Web Service
- Vendors
- Microsoft
- Organizations
- PyPISocketStep SecurityOx Security
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| domain | webhook.site | cted data to the same attacker-controlled endpoint, https://webhook[.]site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb . Collecting data fr |
From the original article
2 min read at bleepingcomputer.com
Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions designed to steal cloud credentials and other sensitive information from developers' systems. [...]
By Bill Toulas · bleepingcomputer.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.