We caught the agent-framework PyPI compromise six minutes after it published
ID: dbcba265-2362-53ca-9dfa-a4bab2b0de2f
STIX ID: report--dbcba265-2362-53ca-9dfa-a4bab2b0de2f
Feed Name: Elastic Security Labs
A malicious backdoor was introduced into the PyPI meta-package agent-framework (versions 1.26.1 and 1.26.2) via a .pth startup hook that executed a credential-stealing module on every Python process start; it harvested environment variables, process envs, CLI caches, credential/config files, Azure DevOps and GitHub Actions OIDC tokens, and managed identity tokens, then exfiltrated compressed data to a webhook.site endpoint. The packages were live briefly before PyPI removal; impacted hosts should be treated as fully compromised, secrets rotated, and detections deployed for provided IoCs (filenames, user-agents, and hashes).
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
