Stole Cloud Keys: Microsoft Agent Framework
Description: Microsoft Agent Framework on PyPI was hit: versions 1.26.1 and 1.26.2 of agent-framework stole cloud keys and tokens. Here is how to check yours.
The two fake releases were uploaded without authorization and removed in under an hour. They added a hidden .pth startup file that runs on every Python start, even without an import, and sent tokens and credential files (.env, .npmrc, .git-credentials, cloud logins) to a webhook. The package gets about 41,000 downloads a week. Version 1.26.0 is not affected.
Check it: run pip show agent-framework. If you see 1.26.1 or 1.26.2, pin agent-framework==1.26.0, treat that machine or build job as compromised, and rotate every secret it could reach.
Sources:
https://osv.dev/vulnerability/PYSEC-2026-4388
https://osv.dev/vulnerability/MAL-2026-20101
https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi
Logo: PyPI's own logo from https://pypi.org/
Screen recording: our own capture of the PyPI project page: https://pypi.org/project/agent-framework/
Terminal: our own recording of pip index versions agent-framework
#python #cybersecurity #pypi Close description
The two fake releases were uploaded without authorization and removed in under an hour. They added a hidden .pth startup file that runs on every Python start, even without an import, and sent tokens and credential files (.env, .npmrc, .git-credentials, cloud logins) to a webhook. The package gets about 41,000 downloads a week. Version 1.26.0 is not affected.
Check it: run pip show agent-framework. If you see 1.26.1 or 1.26.2, pin agent-framework==1.26.0, treat that machine or build job as compromised, and rotate every secret it could reach.
Sources:
https://osv.dev/vulnerability/PYSEC-2026-4388
https://osv.dev/vulnerability/MAL-2026-20101
https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi
Logo: PyPI's own logo from https://pypi.org/
Screen recording: our own capture of the PyPI project page: https://pypi.org/project/agent-framework/
Terminal: our own recording of pip index versions agent-framework
#python #cybersecurity #pypi Close description
