Date: 11/19/2026
Severity: High
Summary
Researchers uncovered a supply-chain compromise involving Microsoft's Agent Framework Python package, where malicious versions 1.26.1 and 1.26.2 were published to PyPI. The attackers abused malicious .pth startup hooks to execute a credential stealer automatically whenever Python launched, without requiring the package to be imported. The malware harvested environment variables, Azure CLI credentials, GitHub and Azure DevOps tokens, Hugging Face credentials, and cloud managed identity tokens, then exfiltrated the collected data to an attacker-controlled webhook[.]site endpoint. Researchers detected the first compromised release just six minutes after publication, and PyPI subsequently removed both malicious versions.
Indicators of Compromise (IOC) List
Domains/URLs | https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry |
Hash | d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110
3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9
39fa329f2a93f734b0bb8f5adb203ea3331d1ae479832a5015a54cb17aabd663
c275ccbe520ef3c0f02dc6a35389e427f9f1b4e0b12e140cd7bf7179ce143f02
21f28e8517a10ffe431f8d68f5875c85eca4001ae6d118322b0a41873998eb5e
54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f
325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93
|
Gurucul Threat Detection and Incident Response (TDIR) Queries for Detection
Detection Query 1 : | domainname like "https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry" or url like "https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry" or siteurl like "https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry" |
Detection Query 2 : | sha256hash IN ("325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93","21f28e8517a10ffe431f8d68f5875c85eca4001ae6d118322b0a41873998eb5e","39fa329f2a93f734b0bb8f5adb203ea3331d1ae479832a5015a54cb17aabd663","d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110","3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9","54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f","c275ccbe520ef3c0f02dc6a35389e427f9f1b4e0b12e140cd7bf7179ce143f02")
|
Reference:
Malicious Microsoft Agent Framework Python Releases Steal Developer and Cloud Credentials