agent-framework · Exploitation confirmed

Microsoft confirms removal of malicious agent-framework versions from PyPI

· 2 min read

Attackers published versions 1.26.1 and 1.26.2 of Microsoft's agent-framework PyPI package on November 17, 2026, carrying a credential stealer that ran on every Python startup. PyPI quarantined both versions, a Microsoft maintainer confirmed the removal in a GitHub discussion, and an investigation is underway; 1.26.0 is the latest clean release, but caches, mirrors, and prebuilt images may retain copies. Check environments and pipelines, rebuild from clean artifacts, and rotate reachable credentials including Azure, Azure DevOps, and GitHub Actions tokens.

Illustration: Microsoft confirms removal of malicious agent-framework versions from PyPI
WhatsApp LinkedIn X
HighSupply chainExploitation confirmedPatched

In 30 seconds

thehackernews.com
Observed

PyPI has removed versions 1.26.1 and 1.26.2 of Microsoft's agent-framework package, the two releases that researchers flagged as malicious, and 1.26.0 stands as the prior clean version. Word of the takedown comes from a public summary of the Aikido and Endor Labs analysis. The bad versions had been live on November 17, 2026.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listAttackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source list

Alleged

Those releases, pushed 33 minutes apart, were built to run a credential stealer every time Python starts in an affected environment, according to the security firms that analyzed them. The first aimed at cloud credentials, developer secrets and CI tokens. The second widened the net to include GitHub Actions OIDC tokens.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listMicrosoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rssOpen original sourceSee in source list

Observed

The guidance from researchers is blunt: hunt for the two versions in environments and pipelines, rebuild from clean artifacts, and rotate every secret that could have been reached, including Azure, Azure DevOps and GitHub Actions credentials.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

What happened

Observed

On November 17, 2026, two new versions of Microsoft's agent-framework package appeared on PyPI: 1.26.1 first, then 1.26.2 exactly 33 minutes later.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source listDailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Alleged

Researchers describe both releases as carrying a credential stealer designed to fire on every Python start. The Hacker News credits eight firms with the findings: Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity and Google-owned Wiz. SecurityWeek reports the haul included Azure, Azure DevOps and GitHub Actions credentials.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source listMicrosoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rssOpen original sourceSee in source list

Alleged

The delivery trick, per the public analysis, is a .pth file, a Python startup hook that runs code when the interpreter boots. That means the stealer executed even in environments where the app never imported agent-framework.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Observed

PyPI has since removed both releases. Version 1.26.0, published before the tampering, is the last clean release.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Why it matters

Inferred

This is a supply-chain hit on a package that trades on Microsoft's name. Developers pull agent-framework trusting the publisher, so malicious versions inherit that trust and slip past the usual gut checks.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source list

Inferred

The execution model raises the stakes. Because the hook fires on any Python start in the environment, CI jobs, build images and developer machines could run the stealer without the application itself ever touching the package.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Inferred

And the exposure does not end at takedown. Copies can linger in package caches, mirrors and already-built container images, which is why researchers push rebuilds from clean artifacts rather than a simple upgrade.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

What to do

Observed

Start by checking environments, pipelines and images for agent-framework 1.26.1 and 1.26.2. If you find them, rebuild from clean artifacts instead of trusting cached copies, mirrors or images that may still hold the bad releases.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Observed

Then treat reachable secrets as exposed. Rotate Azure, Azure DevOps and GitHub Actions credentials, and pay attention to the short-lived OIDC tokens CI jobs use, since the second release reportedly collected those too.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listMicrosoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rssOpen original sourceSee in source list

Confirmed and still uncertain

Observed

Established so far: the two versions and their 33-minute publication gap, the removal from PyPI, and the behavior of the packages as described by eight security firms.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source listDailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Inferred

Still open: how the attackers obtained publishing access, a point the public analyses say is not established. Nothing in the reviewed material shows Microsoft confirming the incident, and there is no word yet on whether any credentials were actually harvested in the wild.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listAttackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source list

What people are saying

Alleged

The Hacker News frames the incident as threat actors compromising Microsoft's package, and credits Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity and Wiz for the findings.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source list

Observed

On X, TheHackersNews pushed an alert urging followers to check immediately, stressing that the theft would happen silently on every Python startup.TheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Observed

DailyDarkWeb posted the summary many people are quoting, walking through the .pth hook, the OIDC addition in 1.26.2, and the rebuild-and-rotate advice.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Evolution

Observed

The first public write-up came from Aikido on November 18, centered on the two releases hitting PyPI in 33 minutes, with Endor Labs analysis cited alongside.aikido.devaikido.dev · rssOpen original sourceSee in source listDailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Observed

Hours later, The Hacker News aggregated the vendor reports and SecurityWeek ran its own story, both focused on the credential stealer behavior.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source listMicrosoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rssOpen original sourceSee in source list

Inferred

The picture has strengthened from one firm's analysis to eight firms converging, but every account still traces back to researcher review of the packages. No platform-side or Microsoft confirmation appears in what has circulated.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source list

Reach

Observed

3 independent groups, 4 updates, and 17 engagements.

Technical detail

Alleged

The mechanism, as described by analysts, is a .pth startup hook: a file Python executes automatically when the interpreter boots. Once installed, the stealer ran on every Python start in the environment, even if the application never imported agent-framework.DailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source listAttackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source list

Alleged

Targets, per SecurityWeek and the public summaries: Azure, Azure DevOps and GitHub Actions credentials, plus developer secrets and CI tokens. Version 1.26.2 went further and added GitHub Actions OIDC tokens, the short-lived identity tokens CI jobs exchange for cloud access.Microsoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rssOpen original sourceSee in source listDailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Sources and evidence

Observed

This briefing draws on Aikido's original write-up, The Hacker News article crediting eight vendors, SecurityWeek's report, and two X posts from TheHackersNews and DailyDarkWeb that summarize and amplify the findings.aikido.devaikido.dev · rssOpen original sourceSee in source listAttackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source listMicrosoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rssOpen original sourceSee in source list

Inferred

Two caveats sit on top. All behavior claims come from vendor analysis of the packages, not from a confirmed victim or from Microsoft, and the reviewed material does not establish how publishing access was obtained. Treat the compromise and the credential theft as well-supported allegations rather than settled fact.Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rssOpen original sourceSee in source listDailyDarkWebx.com · DailyDarkWeb · xOpen original sourceSee in source list

Sources

  1. DailyDarkWebx.com · DailyDarkWeb · x
  2. Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialsthehackernews.com · rss
  3. Microsoft Agent Framework Releases Poisoned With Credential Stealersecurityweek.com · rss
  4. TheHackersNewsx.com · TheHackersNews · x
  5. aikido.devaikido.dev · rss

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click