Particle.news

Malicious Wheels Pushed to Microsoft Agent Framework on PyPI Steal Cloud and CI Credentials

Researchers warn the payload installs Python startup hooks that harvest secrets then exfiltrate them to a hard-coded webhook.

Overview

  • Security teams found two malicious agent-framework wheels, versions 1.26.1 and 1.26.2, uploaded to PyPI on Tuesday, November 17, 2026 and removed within hours.
  • The attacker-built wheels drop .pth files that run code on every Python interpreter start so any Python process in an affected environment can trigger the credential stealer.
  • The malware collects environment variables, credential and config files, other processes’ environments, Azure DevOps and GitHub Actions OIDC tokens, and Azure managed-identity tokens with 1.26.2 adding OIDC-focused logic.
  • Collected data was sent to a hard-coded webhook.site URL and Wiz captured up to about 50 requests on the free-tier endpoint which limits logging but does not rule out wider exfiltration or token reuse.
  • Researchers and vendors advise pinning to safe version 1.26.0, searching site-packages for .pth hooks and the webhook URL, isolating affected hosts and runners, rotating exposed credentials, and auditing federated identities while Microsoft investigates.