PyPI Quarantines Two Versions of Microsoft’s agent-framework Containing Data-Stealing Code

On November 18, security research firms Wiz and OX Security found credential-stealing code in versions 1.26.1 and 1.26.2 of agent-framework, Microsoft’s Python toolkit for building AI agents. PyPI has quarantined both versions. According to Wiz, after an affected version is installed, the malicious code can run the next time Python starts, even if the application does not import the package. The code collects environment variables and credentials from Azure CLI, Git and other sources, then attempts to send them to an attacker-controlled endpoint. Both firms recommend that affected developers remove the relevant versions and rotate exposed credentials. Wiz said it has not yet confirmed how the attacker obtained publishing privileges.
Source:AiCoin
Published on
Disclaimer: Investing involves risk. This article does not constitute investment advice.