Microsoft Agent Framework PyPI package compromise exfiltrates cloud credentials
What happened.Microsoft and PyPI administrators removed malicious versions of the official agent-framework Python package. Attackers compromised credentials to distribute packages that stole cloud tokens from developer machines and automated pipelines.
Why it matters.Language package registries are primary supply chain distribution vectors into enterprise build pipelines. When attacker payloads trigger automatically through interpreter startup hooks, standard code reviews miss the intrusion. Engineering leaders must enforce strict package hash pinning and audit environment variable access across build runners.
