logo

Official Microsoft agent-framework PyPI package compromised

ID: 7693695f-fcb3-5deb-b60f-3ea4bc8e582f

STIX ID: report--7693695f-fcb3-5deb-b60f-3ea4bc8e582f

Feed Name: OpenSourceMalware Blog

Threat Score
85/100

Date Published: 2026-11-18

Date Updated: 2026-11-18

Author: c0a15726-c5b1-4b0d-85e6-fe15553df9e2

...
...

The OpenSourceMalware team found that two official-looking Microsoft agent-framework PyPI releases (1.26.1 and 1.26.2) were malicious: they deploy a .pth startup hook that executes a credential stealer which harvests environment variables, credential files and /proc environments, requests fresh OIDC and managed identity tokens (GitHub Actions, Azure DevOps, Azure), and exfiltrates compressed Base64 data to a webhook.site endpoint; PyPI quarantined the publisher but publishing access is believed to remain compromised, and the report includes IOCs and remediation guidance.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.