theregister.com·18 november 2026

Microsoft's official Python agent framework hijacked to distribute malware

Image for the article: Microsoft's official Python agent framework hijacked to distribute malware
Image via theregister.com

Microsoft's official Python agent-framework package on PyPI was hijacked to distribute info-stealing malware in versions 1.26.1 and 1.26.2. The malware exfiltrates credentials and tokens from Azure, Git, Docker, and other services without requiring the package to be imported. Microsoft has made some repositories private while investigating the incident, prioritizing customer and ecosystem protection. The malware is not persistent but actively requests new identity tokens, making it particularly dangerous in cloud build environments.