API
< Back to all clusters
[TECHNOLOGY] · 12 sources

started · updated

Microsoft Agent Framework hijacked to distribute credential-stealing malware

Attackers compromised the official Microsoft agent-framework package on the Python Package Index (PyPI) to distribute malware designed to steal sensitive developer credentials and cloud tokens. The breach affected versions 1.26.1 and 1.26.2, which were published on November 17, 2026, approximately 33 minutes apart.

Security researchers discovered that the malware utilized Python .pth files to execute automatically whenever the Python interpreter started, even if the compromised package was never explicitly imported into a project. This allowed the stealer to run silently in the background while the legitimate framework continued to function, making the intrusion difficult to detect.

The malware targeted a wide array of developer secrets, including environment variables, configuration files, and credentials for services such as Azure, AWS, GitHub, Docker, Hugging Face, and OpenAI. Notably, the second malicious version actively requested new identity tokens from GitHub Actions and Azure DevOps to expand the scope of the theft into cloud build environments and CI/CD pipelines.

While PyPI has since quarantined the malicious versions, the last known safe version is 1.26.0. The exact method used by the attackers to gain administrative access to Microsoft’s GitHub organization or PyPI publishing account remains under investigation.

Entities

Agent Framework · Azure · GitHub · Microsoft · OX Security · PyPI · agent-framework

Claims

What the coverage asserts, and how many sources carry each claim.