Reports: Malicious Agent Framework PyPI Releases Steal Cloud Credentials

· Original article ↗

Summary

Multiple security firms report that PyPI versions 1.26.1 and 1.26.2 of Microsoft's agent-framework install startup hooks to steal credentials and cloud tokens. Both releases have been quarantined; the publishing-access route is unclear.

Key points

  • Reports from multiple security firms say versions 1.26.1 and 1.26.2 were published on November 17, 2026, 33 minutes apart.
  • The releases install a .pth file that runs the stealer whenever Python starts in an affected environment, even if the package is not imported.
  • The malware reportedly collects stored credentials, environment data, cloud identity tokens and instance metadata, then sends compressed data to a webhook[.]site endpoint.
  • Version 1.26.2 reportedly adds GitHub Actions OIDC token collection and expands searches for credential-related environment variables.
  • Both malicious releases have been quarantined on PyPI; how the attacker obtained publishing access remains unclear.
  • The article says the package attracts about 190,000 downloads per month.

Article Details

Event Type
Supply-chain compromise of Microsoft's agent-framework package on PyPI.
Impact
Versions 1.26.1 and 1.26.2 install Python startup hooks that run the credential stealer on every interpreter start. Reports say it collects credentials, environment data, cloud identity tokens, and instance metadata, then exfiltrates the collected information. Both versions had been quarantined on PyPI at the time of reporting; how the attacker obtained publishing access was unclear.

Threat Actors

Malware

Vendors

Products

Industries

Related Articles