Microsoft’s agent-framework package on PyPI was compromised to steal CI/CD credentials.
Two malicious versions of the agent-framework package (1.26.1 and 1.26.2) were uploaded to PyPI, utilizing Python startup hooks to exfiltrate sensitive credentials, including those for Azure and GitHub Actions. This incident highlights the ongoing risk of supply chain attacks targeting popular development tools and underscores the necessity of rigorous package verification and dependency management.
This is a stark reminder that even widely trusted ecosystems like PyPI are not immune to sophisticated supply chain attacks. By targeting CI/CD credentials directly, attackers aim for high-value access that can lead to deeper infrastructure compromise.
* Malicious versions (1.26.1 and 1.26.2) used Python startup hooks for stealthy credential theft.
* Targets included Azure and GitHub Actions tokens.
* Demonstrates the critical importance of monitoring dependency updates and auditing code for suspicious behaviors.
DISCOVERED
9m ago
2026-11-17
PUBLISHED
27m ago
2026-11-17
RELEVANCE
AUTHOR
SocketSecurity