Microsoft's agent-framework package on PyPI was compromised to distribute info-stealing malware through versions 1.26.1 and later. The attack vector appears to be unauthorized access to an administrator account on Microsoft's GitHub organization, which allowed attackers to push malicious releases to the official package repository.
This is not a typosquatting attack or a dependency confusion exploit. This is a direct compromise of the upstream source, which means every standard supply chain defense (lock files, hash verification, SBOM generation) fails if you trust the publisher identity without verifying the artifact contents.
Attack Surface in Agent Frameworks
Agent frameworks sit at a privileged position in the execution stack.…