Microsoft Agent Framework PyPI Supply-Chain Credential Theft — Sentinel Hunts

Threat Overview

# Threat Overview On November 17, 2026, attackers published malicious versions 1.26.1 and 1.26.2 of the official Microsoft-associated agent-framework Python metapackage. Wiz, Chainguard and StepSecurity confirmed startup .pth hooks that execute a credential stealer whenever Python starts, without importing the framework. The malware targets environment secrets, Azure identities, GitHub Actions and Azure DevOps tokens, and exfiltrates to webhook.site. PyPI quarantined both versions within approximately one hour; publishing-account root cause and victim count remain unconfirmed.

References

Impacted Systems

Why this matters

Exploitation Status

What this hunt looks for

Required logs

Only the tables referenced in each query, where ingested into Microsoft Sentinel. Endpoint hunts require Defender for Endpoint advanced hunting telemetry; Syslog, SecurityEvent, CommonSecurityLog and Entra sign-in tables require corresponding connectors.

Hunting Queries

Detection Notes

Leave a Reply