Tia N.List

CTI · reviewed · 2026-11-19

Microsoft agent-framework PyPI releases 1.26.1 and 1.26.2 compromised with malware

Full story & timeline

Actors

—

Malware / tools

agent-framework PyPI credential stealer

Campaigns

agent-framework PyPI supply-chain compromise (November 2026)

CVEs

—

Victim sectors

technology

Geography

—

MITRE ATT&CK

Indicators

No curated indicators tied to this case.

Detections

Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.

Sigma raw

title: Installation of Compromised agent-framework PyPI Releases 1.26.1 or 1.26.2
id: 5947ac2f-7e5d-486d-b67b-861f0b5db114
status: experimental
description: Detects package installer commands that pull the two agent-framework releases Microsoft published with a credential stealer on 17 November 2026. Versions 1.26.1 and 1.26.2 were live for about 33 minutes, dropped a .pth startup hook into site-packages so the stealer ran on every interpreter start, and harvested Azure, AWS, GitHub, Docker, Hugging Face and OpenAI secrets plus managed identity and GitHub Actions OIDC tokens. Any hit means the host or CI runner may already have leaked cloud credentials, so rotate secrets rather than only uninstalling the package.
references:
  - https://github.com/advisories/GHSA-764m-3ppc-5m73
  - https://www.securityweek.com/microsoft-agent-framework-releases-poisoned-with-credential-stealer/
  - https://thehackernews.com/2026/11/attackers-compromise-microsofts-agent.html
author: Tia N. List
date: 2026/11/19
tags:
  - attack.t1195
  - attack.t1546
  - attack.t1552
  - attack.t1528
logsource:
  product: linux
  category: process_creation
detection:
  selection_installer:
    Image|endswith:
      - '/pip'
      - '/pip3'
      - '/uv'
  selection_version:
    CommandLine|contains:
      - 'agent-framework==1.26.1'
      - 'agent-framework==1.26.2'
      - 'agent-framework 1.26.1'
      - 'agent-framework 1.26.2'
  condition: selection_installer and selection_version
falsepositives:
  - Pinned lockfiles or CI caches that still reference the withdrawn releases long after quarantine, which indicate legacy exposure rather than new installation
  - Security researchers pulling the quarantined artefacts into an isolated analysis environment
level: high

Splunk SPL raw

# microsoft-agent-framework-pypi-releases-1-26-1-and-1-26-2-compro — Splunk SPL variant (derived from microsoft-agent-framework-pypi-releases-1-26-1-and-1-26-2-compro.sigma via sigma convert)
# source-sha256: c769026b7b1194909e6597f72321b4dc29a10dcdd3f3f6a5ff2d7a5961c4c89f v1
Image IN ("*/pip", "*/pip3", "*/uv") CommandLine IN ("*agent-framework==1.26.1*", "*agent-framework==1.26.2*", "*agent-framework 1.26.1*", "*agent-framework 1.26.2*")

KQL (Sentinel / Defender) raw

# microsoft-agent-framework-pypi-releases-1-26-1-and-1-26-2-compro — KQL variant (derived from microsoft-agent-framework-pypi-releases-1-26-1-and-1-26-2-compro.sigma via sigma convert)
# source-sha256: c769026b7b1194909e6597f72321b4dc29a10dcdd3f3f6a5ff2d7a5961c4c89f v1
(Image endswith "/pip" or Image endswith "/pip3" or Image endswith "/uv") and (CommandLine contains "agent-framework==1.26.1" or CommandLine contains "agent-framework==1.26.2" or CommandLine contains "agent-framework 1.26.1" or CommandLine contains "agent-framework 1.26.2")

References

Source on GitHub