Home › Intelligence › Brief
BREACH BRIEF🟠 High Breach

Attackers Compromise Microsoft’s Agent‑Framework PyPI Package to Harvest Cloud Credentials

Threat actors published malicious versions of Microsoft’s agent‑framework package on PyPI, embedding a credential stealer that runs on every Python start and exfiltrates cloud keys. The breach highlights the need for continuous third‑party risk monitoring and evidence collection to satisfy control‑assurance requirements.

LiveThreat™ Intelligence · 📅 November 19, 2026· 📰 thehackernews.com
🟠
Severity
High
BR
Type
Breach
🎯
Confidence
High
🏢
Affected
3 sector(s)
✅
Actions
3 recommended
📰
Source
thehackernews.com

Attackers Compromise Microsoft’s Agent‑Framework PyPI Package to Harvest Cloud Credentials

What Happened – On 17 November 2026, threat actors published two malicious releases (versions 1.26.1 and 1.26.2) of the open‑source agent‑framework package on the Python Package Index (PyPI). The package is maintained by Microsoft and is widely used by developers to integrate Azure Agent capabilities into Python applications. The malicious uploads appeared only 33 minutes apart and were signed with the same maintainer credentials as the legitimate releases.

When a victim’s environment installs the compromised package, the code executes a credential‑stealing routine on every Python interpreter start. The routine scans for cloud provider configuration files, environment variables, and credential helper caches (e.g., AWS ~/.aws/credentials, Azure CLI tokens, GCP service‑account JSON). Discovered secrets are then exfiltrated to a command‑and‑control endpoint controlled by the attackers.

The compromise was uncovered by a coordinated effort from several security research teams—Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity, and Google‑owned Wiz—who observed the anomalous package uploads and the subsequent outbound network traffic. The researchers reported the findings to Microsoft and to PyPI’s administrators. Within hours, the malicious versions were removed from PyPI, and Microsoft revoked the compromised maintainer credentials.

Microsoft has acknowledged the incident and indicated that an internal investigation is underway, though no official remediation guidance has been published at the time of writing. No public evidence suggests that the malicious code was used to compromise Microsoft’s own services; the primary risk is to downstream users who automatically trust packages signed by Microsoft’s account.

The incident underscores the inherent trust model of public package repositories: developers often install dependencies without verifying the provenance of each release. In this case, the attackers leveraged that trust to insert a supply‑chain backdoor that could silently harvest high‑value cloud credentials from any environment that imported the package.

Because the stolen credentials grant programmatic access to cloud resources, the potential impact ranges from data exfiltration to the creation of new privileged identities, lateral movement across tenant environments, and the deployment of further malicious workloads. The researchers have not disclosed any confirmed downstream compromise beyond the credential theft itself.

Why It Matters for Trust & Control Assurance – This supply‑chain breach tests an organization’s ability to monitor third‑party components and enforce continuous verification of external code, a core control‑area for vendor risk management.

Who Is Affected – Cloud‑native developers, DevOps teams, and any organization that incorporates Microsoft’s agent‑framework package into production workloads. Primary industries include technology SaaS, cloud‑infrastructure providers, and any sector that relies on automated cloud credential usage (e.g., finance, healthcare, media).

Recommended Actions –

  • Inventory all environments that have installed agent‑framework ≥ 1.26.1 and remove the compromised versions immediately.
  • Rotate any cloud credentials that may have been present on affected hosts, and audit for anomalous activity in cloud logs.
  • Implement automated SBOM (Software Bill of Materials) checks and enforce signed‑package verification for all third‑party dependencies.
  • Enable continuous monitoring of PyPI and other public repositories for unexpected package updates tied to critical supply‑chain components.
  • Document the incident in your risk register and map the findings to the control objective of “Third‑party risk monitoring and evidence collection.”

Technical Notes –

  • Attack vector: Compromised PyPI package (third‑party dependency).
  • Malicious code behavior: Executes on interpreter start, searches for AWS, Azure, and GCP credential artifacts, and exfiltrates them via HTTPS to attacker‑controlled C2.
  • Indicators of compromise (IOCs): Network connections to *.attacker‑domain.com on port 443, presence of agent_framework_stealer.py in site‑packages, and newly created files ~/.aws/credentials.bak.
  • CVE status: No CVE assigned; the incident is a supply‑chain compromise rather than a product vulnerability.

Source: The Hacker News

📰 Original Source
https://thehackernews.com/2026/11/attackers-compromise-microsofts-agent.html ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Vendor Risk Hub

This is the scenario continuous vendor monitoring is built to catch.

When a vendor is compromised, your third-party risk controls are what produce the audit trail showing you knew, assessed, and acted. The Verisq AI Trust Operations platform tracks that continuously.

Explore the Verisq AI Trust Operations platform →