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.
- [● 2 SOURCES] The attack was carried out by exploiting admin credentials of Microsoft’s GitHub organization. www.newsbytesapp.com · www.developpez.net
- [● 4 SOURCES] PyPI has quarantined the malicious versions of the package. it-administrator.de · www.developpez.net · www.hwupgrade.it
- [● 5 SOURCES] The agent-framework package has approximately 200,000 monthly downloads. www.newsbytesapp.com · www.developpez.net · www.techenet.com · www.infoworld.com
- [● 10 SOURCES] Versions 1.26.1 and 1.26.2 of the Microsoft agent-framework package were compromised on PyPI. hipertextual.com · it-administrator.de · www.newsbytesapp.com · www.developpez.net · cybernoz.com · +4 more
- [● 5 SOURCES] The malicious versions were published on November 17, 2026. www.developpez.net · cybernoz.com · www.hwupgrade.it · www.infoworld.com
- [● 4 SOURCES] Version 1.26.2 requested new identity tokens from GitHub Actions and Azure DevOps. www.newsbytesapp.com · www.hwupgrade.it · www.techenet.com · www.infoworld.com
- [● 4 SOURCES] The malware steals credentials for Azure, AWS, GitHub, Docker, Hugging Face, and OpenAI. hipertextual.com · www.newsbytesapp.com · www.techenet.com · www.infoworld.com
- [● 4 SOURCES] The malware executes automatically via .pth files when the Python interpreter starts. it-administrator.de · cybernoz.com · www.infoworld.com