Microsoft agent-framework PyPI Package Compromised
Microsoft's agent-framework PyPI package versions 1.26.1 and 1.26.2 compromised with credential-stealing payload.
Two malicious versions, 1.26.1 and 1.26.2, of Microsoft's agent-framework PyPI package were published on November 17, 2026, containing a payload that harvests cloud and CI/CD credentials. The payload acts as a Python startup hook, executing during Python startup without requiring the framework to be imported. PyPI has quarantined both versions, but the attacker managed to upload the second malicious release shortly after the first was quarantined, indicating continued publishing access.
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 lessonAttackers gained publishing access to Microsoft's agent-framework PyPI package and uploaded two malicious versions containing a Python startup hook that harvests cloud and CI/CD credentials without even requiring an explicit import of the package. The fact that a second malicious version was uploaded shortly after the first was quarantined reveals that the attacker retained publishing credentials throughout the incident, indicating a failure in access control revocation. This matters because developers who installed the package during the exposure window may have silently exfiltrated credentials powering their entire cloud and pipeline infrastructure. Supply chain attacks of this kind are particularly dangerous because they exploit implicit trust in legitimate, well-known packages.
What helps against this
How we list vendors- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- 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: 54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f
- hash_sha256: 3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9
- hash_sha256: 21f28e8517a10ffe431f8d68f5875c85eca4001ae6d118322b0a41873998eb5e
- hash_sha256: 39fa329f2a93f734b0bb8f5adb203ea3331d1ae479832a5015a54cb17aabd663
- hash_sha256: 325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93
- url: https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb
- hash_sha256: d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110