Microsoft’s agent-framework PyPI package Compromised with Credential Stealer
Microsoft agent-framework PyPI package compromised with credential stealer.
The Microsoft agent-framework PyPI package was compromised, affecting versions 1.26.1 and 1.26.2. These versions install Python startup hooks that collect credentials, environment data, and cloud identity tokens, exfiltrating them to a webhook.site endpoint. The malicious code inspects environment variables, credential files, and requests cloud/workflow identity tokens, including Azure and GitHub Actions OIDC.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Microsoft?
Get an email when a new story names Microsoft, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonThe Microsoft agent-framework PyPI package was tampered with in versions 1.26.1 and 1.26.2, introducing malicious Python startup hooks that silently harvested credentials, environment variables, and cloud identity tokens (including Azure and GitHub Actions OIDC) and exfiltrated them to an attacker-controlled webhook. This is a classic software supply chain attack: developers who installed these versions unknowingly granted attackers access to sensitive secrets baked into their environments. The impact is especially severe in CI/CD pipelines and cloud workloads, where stolen OIDC tokens can be used to impersonate services and access cloud resources without passwords. Organizations that do not pin dependency versions or verify package integrity are particularly exposed, as updates can silently introduce malicious code. This incident underscores that trusting a package's name or publisher history is not sufficient—continuous integrity verification of third-party dependencies is essential.
What helps against this
How we list vendors- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Threat intelligence
Attack campaigns reach your sector, suppliers or software before your team hears about them.
- Software supply chain security
Malicious and vulnerable open-source packages are caught before they ship.
Indicators of Compromise
Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works
- hash_sha256: c275ccbe520ef3c0f02dc6a35389e427f9f1b4e0b12e140cd7bf7179ce143f02
- hash_sha256: 54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f
- hash_sha256: 325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93
- url: https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb
- url: https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry
- hash_sha256: 3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9
- hash_sha256: 21f28e8517a10ffe431f8d68f5875c85eca4001ae6d118322b0a41873998eb5e
- hash_sha256: d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110
- hash_sha256: 39fa329f2a93f734b0bb8f5adb203ea3331d1ae479832a5015a54cb17aabd663