Skip to content
Kandaro
Book a demo
Security news

Microsoft's agent-framework package on PyPI hijacked to steal cloud credentials

·Supply chainHigh

On 17 November two malicious releases of agent-framework, Microsoft's Python package for building AI agents, appeared on PyPI 33 minutes apart: versions 1.26.1 and 1.26.2. According to Endor Labs, the added code ran every time Python started on the machine, even if the package was never used, and sent cloud, build pipeline and AI provider credentials to the attacker. The package has about 190,000 downloads a month. Both releases have been pulled, and how the attacker got publishing rights is not known. Version 1.26.0 is clean.

What defenders should do

If a machine, pipeline or container image installed 1.26.1 or 1.26.2, treat every credential it could reach as stolen and replace them, starting with cloud identities and pipeline tokens. Rebuild from a clean image instead of cleaning up in place, because each Python start runs the collector again. Then read your cloud audit logs from the time of the install.

Source: Endor Labs

See how Kandaro works, or browse more security news.