step-security · Crawled Nov 18, 2026

Microsoft agent-framework PyPI Package Compromised

13 IoCs
Read original article ↗

AI Summary

Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework PyPI package were compromised and distributed a credential-stealing payload via Python .pth startup hooks. The malicious code executes during Python interpreter startup without requiring an explicit import, harvesting cloud and CI/CD credentials, scraping process environments, and attempting to mint identity tokens from GitHub Actions OIDC, Azure DevOps OIDC, and Azure managed identity endpoints. Collected data is exfiltrated to a webhook.site endpoint. Both versions were quarantined by PyPI, but the attacker uploaded 1.26.2 shortly after the first was quarantined, indicating continued access.

AI-extracted · verify before operational use

Indicators of Compromise 13 extracted

Type Value Detail
Package agent-framework==1.26.1 Details →
Package agent-framework==1.26.2 Details →
SHA-256 d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110 Details →
SHA-256 3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9 Details →
Domain webhook[.]site Details →
Filename af_runtime_diag.py Details →
Filename af_runtime_diag.pth Details →
Filename agent_framework_meta/_telemetry.py Details →
Filename agent_framework_meta.pth Details →
SHA-256 54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f Details →
SHA-256 325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93 Details →
SHA-256 39fa329f2a93f734b0bb8f5adb203ea3331d1ae479832a5015a54cb17aabd663 Details →
SHA-256 21f28e8517a10ffe431f8d68f5875c85eca4001ae6d118322b0a41873998eb5e Details →