SecurityOnlineDo Son
Attackers Compromise Microsoft Agent Framework PyPI Packages
Part of the Microsoft Agent Framework story · since 17 Nov
- Tue 17 Nov, 22:39 UTC. cybersixt, first report. Microsoft Agent Framework on PyPI compromised to steal secrets.
- Wed 18 Nov, 03:00 UTC. StepSecurity, its first report on the story. Microsoft Agent Framework PyPI Releases Steal Credentials.
- Wed 18 Nov, 07:30 UTC. The Hacker News, its first report on the story. Attackers compromise Microsoft Agent Framework PyPI package.
- Wed 18 Nov, 11:30 UTC. SecurityWeek, its first report on the story. Malicious Microsoft Agent Framework Releases Steal Credentials.
- Wed 18 Nov, 13:01 UTC. SecurityOnline, its first report on the story. Attackers Compromise Microsoft Agent Framework PyPI Packages. This article, 5th of 5.
Threat actors compromised Microsoft’s Agent Framework project on the Python Package Index (PyPI), publishing two malicious releases, versions 1.26.1 and 1.26.2, that included a credential stealer designed to harvest cloud keys, local environment secrets and GitHub Actions tokens. The rogue packages were removed within about an hour, and Microsoft maintainers are investigating how the publishing pipeline was breached. The incident affected only PyPI distributions; Microsoft’s open‑source GitHub repositories and the .NET edition remained unaffected.
Forensic notes cited by Socket suggest the attackers abused publishing credentials as the entry vector, potentially via an exposed PyPI upload token, a misconfigured Trusted Publisher rule, or a compromised maintainer account. The releases lacked matching GitHub tags, release notes, or standard release manifests, which helped the intrusion bypass automated release workflows.
Wiz, a Google cloud security subsidiary, warned developers not to run a standard pip uninstall, as that would execute code embedded in the malicious package.
Instead, responders were advised to follow a manual remediation sequence: trigger the Kill Switch by setting the environment variable _AF_TEL=1 and deleting malicious startup files; reinstall the verified version agent-framework==1.26.0; purge 1.26.1 and 1.26.2 from caches and CI runners; rebuild environments; rotate all exposed credentials; and audit cloud and CI logs for activity after 20:35 UTC on 17 November 2026.
How the story developed
5 articles from 5 outlets since 17 Nov. Still developing; the latest report was 6 hours ago. This was the 5th report, 14 hours after the first.
- Tue 17 Nov, 22:39 UTC. cybersixt, first report. Microsoft Agent Framework on PyPI compromised to steal secrets.
- Wed 18 Nov, 03:00 UTC. StepSecurity, its first report on the story. Microsoft Agent Framework PyPI Releases Steal Credentials.
- Wed 18 Nov, 07:30 UTC. The Hacker News, its first report on the story. Attackers compromise Microsoft Agent Framework PyPI package.
- Wed 18 Nov, 11:30 UTC. SecurityWeek, its first report on the story. Malicious Microsoft Agent Framework Releases Steal Credentials.
- Wed 18 Nov, 13:01 UTC. SecurityOnline, its first report on the story. Attackers Compromise Microsoft Agent Framework PyPI Packages. This article, 5th of 5.
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 5 articles as a listHide the list
- Tue 17 NovDay 01
- Microsoft Agent Framework on PyPI compromised to steal secrets22:39 · cybersixt · First report
- Wed 18 NovDay 14
- Microsoft Agent Framework PyPI Releases Steal Credentials03:00 · StepSecurity
- Attackers compromise Microsoft Agent Framework PyPI package07:30 · The Hacker News
- Malicious Microsoft Agent Framework Releases Steal Credentials11:30 · SecurityWeek
- Attackers Compromise Microsoft Agent Framework PyPI Packages13:01 · SecurityOnline · This article, 5th of 5