Skip to content
NeoTeo·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention79

Wiz analysis finds malicious PyPI versions of Microsoft Agent Framework have caused 3 successful data exfiltrations

Microsoft Agent Framework PyPI breach response | NeoTeo

AI summary

Wiz reports that, among the 50 retained requests it analyzed, 17 correspond to 3 distinct successful data exfiltration cases, involving malicious versions 1.26.1 and 1.26.2 of the Microsoft agent-framework package published on PyPI on November 17; the finding applies only to this request sample, not to the total number of affected installations. The .pth startup hooks in both versions run at Python startup without the application importing them, and the payload collects environment variables, credential files, Azure DevOps OIDC tokens, managed identity tokens, etc.; 1.26.2 also collects GitHub Actions OIDC tokens and attempts to send them in compressed Base64-encoded HTTPS requests to a hardcoded webhook.site endpoint. PyPI quarantined 1.26.1 at 21:06:16 UTC on November 17, and 2 minutes 23 seconds later 1.26.2 was uploaded and quarantined at 21:16:44 UTC.

Why it was selected

The article explains that the malicious .pth startup hook runs without the application importing it, and recommends isolating the environment first before running Python or pip to avoid triggering it again.

Read originalneoteo.com