Microsoft's agent-framework package on PyPI compromised: versions 1.26.1 and 1.26.2 carried a credential stealer that runs at Python startup, Socket and StepSecurity say
Socket said in a post dated 17 November 2026 that Microsoft's agent-framework PyPI package was compromised on 17 November, affecting versions 1.26.1 and 1.26.2, and that both versions install Python startup hooks (.pth files) that silently collect credentials, environment data and cloud identity tokens and send them to a webhook[.]site endpoint (source: Socket).
StepSecurity said on 18 November 2026 that 1.26.1 was uploaded at 20:35:20 UTC on 17 November (04:35 AWST 18 November) and quarantined at 21:06:16 UTC, and that 1.26.2 was uploaded at 21:08:39 UTC, after the first quarantine, and quarantined at 21:16:44 UTC (source: StepSecurity).
StepSecurity says the payload harvests environment variables and credential files, reads other processes' environments via /proc/*/environ and requests fresh identity tokens from GitHub Actions OIDC, Azure DevOps OIDC and Azure managed identity endpoints, and that the available evidence does not establish the initial access vector or the account or credential used (source: StepSecurity).
Socket says the payloads it reviewed do not download or execute additional code, and gives the exfiltration endpoint as https[://]webhook[.]site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb (source: Socket).
BleepingComputer reported that it had contacted Microsoft about the point of breach and had not received a response by publication time (source: BleepingComputer).
The PyPI project page showed 1.26.0 as the current release when the desk checked it on 19 November 2026.
- Product
- Microsoft Agent Framework for Python — agent-framework package on PyPI
- Versions
- 1.26.1 and 1.26.2 (malicious, quarantined by PyPI per StepSecurity); 1.26.0 is the last clean version per StepSecurity
- Exploited in Australia?
- unknown
- Patch to
- Per StepSecurity: if you installed 1.26.1 or 1.26.2, isolate the environment before starting Python or pip, rebuild from a clean base pinned to 1.26.0, treat credentials the payload could read or request as exposed and rotate them, and check egress logs for the webhook.site UUID path. Socket: remove the versions and rotate potentially exposed credentials.
- Primary: Socket — Microsoft’s agent-framework PyPI package Compromised with Credential Stealer (Socket Research Team, 17 Nov 2026)
- Vendor: PyPI — agent-framework project page (shows 1.26.0, checked 19 Nov 2026)
- Source: StepSecurity — Microsoft agent-framework PyPI Package Compromised (Rohan Prabhu, 18 Nov 2026)
- Source: BleepingComputer — Microsoft’s Agent Framework PyPI package compromised to steal credentials (Bill Toulas, 18 Nov 2026)
