Wiz: Microsoft Agent Framework's Python package was implanted with malicious versions, attempting to steal Azure credentials
微軟Agent Framework套件遭植入惡意程式,鎖定Azure及CI/CD環境憑證
The Python package agent-framework of Microsoft's AI agent development framework Microsoft Agent Framework was implanted with malicious programs. According to analysis by security vendor Wiz, the attacker published malicious versions 1.26.1 and 1.26.2 on PyPI on November 17, attempting to steal authentication credentials for Azure cloud services and development and CI/CD environments such as Azure DevOps and GitHub Actions; both versions have been removed from PyPI, the latest safe version is 1.26.0, the actual scale of victims has not been confirmed, and the package has about 41,000 weekly downloads. Researchers did not find a release tag for 1.26.1 in Microsoft's GitHub project, and assess that the attacker may have bypassed the normal release process to upload directly to PyPI; how the publishing permissions were obtained remains unclear.
The malicious version executes automatically at Python startup and steals Azure and CI/CD credentials; environments that do not use the framework's features may also be affected.