Two releases of Microsoft’s agent-framework package stole credentials when Python started.
PyPI removed both releases on 17 November 2026. Developer computers and CI runners that installed either release were at risk.
What happened
Both releases added a file that starts the credential stealer when Python opens. It can run before your application starts.
- Both releases read environment variables, credential files and Azure tokens.
- Version 1.26.2 also collected GitHub Actions tokens.
- Both releases sent the stolen data to an external server.
Vigilance caught version 1.26.1 at 20:37 UTC on 17 November 2026, 1 minute 40 seconds after it appeared on PyPI.
Affected versions
1.26.1appeared at 20:35 UTC on 17 November 2026.1.26.2appeared at 21:08 UTC on 17 November 2026.1.26.0was the last clean release.
Indicators of compromise
- In
1.26.1, look foragent_framework_meta.pthandagent_framework_meta/_telemetry.py. - In
1.26.2, look foraf_runtime_diag.pthandaf_runtime_diag.py.
How to check
Use a shell outside the affected environment. Replace the path with the location of that environment.
find /path/to/environment -type d -name 'agent_framework-*.dist-info' -print
The directory name includes the installed package version.
Check your CI build logs and lockfile history for either affected version. A clean install today cannot rule out earlier exposure.
What to do now
- If you find either affected version, stop the affected workload.
- Use a clean machine to revoke exposed tokens and rotate credentials available to the workload.
- Rebuild the Python environment from a clean package set.
- Review cloud and CI logs for use of the exposed credentials.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `agent-framework` 1.26.1. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
agent-framework 1.26.1
Reads saved credentials and cloud tokens. Sends them to an external server when Python starts.
No security team? See who reads the alert.
Sources
Send this page to the person who looks after AI at your company.