Skip to content
ML2

Source: GitHub Advisory GHSA-764m-3ppc-5m73: Malicious code in agent-framework

Malicious agent-framework releases hit PyPI

Why it matters

Two releases of agent-framework, the PyPI package for Microsoft Agent Framework, carried a credential stealer: 1.26.1 (published 17 November 2026 at 20:35 UTC) and 1.26.2 (21:08 UTC). Both have been removed; 1.26.0 is the last clean release. Each wheel adds a .pth startup hook, so the stealer runs every time Python starts in that environment, even if you never import the package.

Per the advisory it collects secret-looking environment variables, other processes' environments, credential files (~/.azure, .npmrc, .netrc, .git-credentials, Docker config, Hugging Face token, .env files) and Azure DevOps, Azure managed-identity and, in 1.26.2, GitHub Actions OIDC tokens. What to do: search lockfiles, CI logs, virtualenvs and container images for 1.26.1 or 1.26.2; if you find either, remove it, pin agent-framework==1.26.0 and rotate every credential that host or CI job could reach. For agent stacks in general, pin exact versions and install with hashes (pip install --require-hashes) in CI.

Sources

All notes on This week →

Newsletter

Get the best new A.I. picks in your inbox

The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.

Free. No spam. Unsubscribe anytime.