Microsoft Agent Framework is still offline after two unauthorized releases on PyPI carried credential-stealing code. The affected versions, 1.26.1 and 1.26.2, went up on November 17, 2026, and were removed from PyPI, but Microsoft has given no date for restoring the repository. That open-ended pause now sits in the middle of delivery plans, and buyers with agent work in flight need to know where the risk actually lives.
The detail that matters most is where the malicious code ran. It sat in a `.pth` file inside the published packages, so it executed every time Python started in an affected environment, whether or not the application imported the framework The Register. A build runner, a test job or an unrelated script in the same virtualenv was enough.
What happened to Microsoft Agent Framework
The two releases were uploaded without authorization. Microsoft's principal product architect, Dan Taylor, confirmed both contained code that steals credentials and that both were removed from PyPI, in a repository update published on November 25, 2026.
The same notice draws a line that buyers should hold onto. The repository itself was not poisoned, and neither were the .NET packages or Semantic Kernel. Only the Python meta-package was affected, and version 1.26.0 and earlier are clean. Microsoft also stated plainly that the framework has not been discontinued.
The repository stays unavailable until Microsoft can determine it is safe to re-enable, and no confirmed timeline exists. Reports describe the package as reaching roughly 190,000 to 200,000 downloads a month before the incident CryptoBriefing, which is why a window of under an hour still exposed real environments.
On how the uploads happened, sources differ. Wiz tied the publishing access to a compromised client certificate and private key for Microsoft's internal release pipeline, with address filtering blocking a first attempt from AWS before a second succeeded from Microsoft-owned space SiliconANGLE. Microsoft has not published its own account, so treat any root-cause explanation as unconfirmed.
Why this lands on delivery milestones, not just security teams
Vendors rarely show buyers their package pipeline. A statement of work lists features, sprints and acceptance tests. None of that captures a dependency that steals cloud and CI tokens at interpreter startup.
That gap is the lesson. Agent work concentrates credentials in build environments: cloud identities, registry tokens, Git credentials, API keys. The malicious code went after exactly that set, including Azure managed identity tokens and, in the second version, GitHub Actions tokens Start Debugging. A stolen token from a build job can outlive the incident.
The repository outage adds a second problem that has nothing to do with malware. Teams that planned to pull code, read docs or track releases through GitHub now find those links dead. If your roadmap assumes a repository you do not control, the roadmap has an unlisted dependency.
A dependency check buyers can require
Ask each vendor on an agent project to run this before you accept a milestone. It applies whether they use Python, .NET or a mix.
- Confirm no affected version is installed anywhere: application environments, containers, build images, CI caches and internal package mirrors.
- Search lockfiles and requirement files for 1.26.1 and 1.26.2, not just the live environment.
- Check for the indicator files named in Microsoft's notice in any environment that installed the package.
- Produce a short written result per environment, with the date checked and who checked it.
- Where an affected version was installed, treat the machine, container or CI job as compromised rather than patched.
For step five, the sequence is fixed. Rotate every credential the environment could reach, rebuild from a clean image instead of downgrading in place, remove copies from mirrors and caches, and review cloud and CI audit logs from November 17 onward.
What a safe pin looks like on Microsoft Agent Framework
Microsoft's guidance for teams that never installed the bad versions is simple: pin to 1.26.0, or pin the exact sub-packages you need, and hold there until further notice. That is a temporary floor, not a permanent version strategy.
Pinning deserves more respect than it usually gets. An unpinned install, or an automated update merged without review, is how a bad release reaches a codebase within minutes of upload. If your vendor cannot show pinned versions and a lockfile for Python work, that is a reasonable question to raise in the next review.
It also helps to know which parts of the stack are untouched. Teams on .NET or Semantic Kernel have no action to take on this specific incident beyond normal hygiene. Buyers comparing skills across stacks can browse Python vendors and .NET vendors separately rather than treating agent work as one undifferentiated skill.
Scanning and credentials: the controls worth paying for
Dependency scanning is the obvious control, and it would have flagged nothing useful in the first minutes here. The uploads looked like routine updates. Detection came from researchers watching registry behaviour, and quarantine still took roughly half an hour to an hour depending on the source.
That timing sets realistic expectations. Scanning catches known-bad versions after they are known. It does not stop a trusted publisher account from shipping malware. What limits damage is the blast radius: how many credentials the build environment can reach, and how quickly they can be rotated.
So the practical controls are unglamorous. Short-lived tokens over long-lived ones. Separate identities per pipeline. No production secrets in build jobs that only need to compile and test. For a wider look at what vendors offer, the cybersecurity directory lists providers by service.
Keeping agent delivery moving while the repository is dark
You cannot plan around a restoration date that has not been given. You can plan around the work that is still safe.
- Hold current agent releases on pinned, known-good versions and freeze automated dependency updates for the affected package until Microsoft reopens access.
- Move documentation and release tracking to sources you control, so a repository outage does not stall onboarding or support.
- Split agent delivery into two tracks: features that do not need a framework upgrade, and work that does. Only the second is blocked.
- Put a supply-chain clause in the next statement of work, requiring notification within one business day if a vendor's build environment installs a compromised dependency.
- For Azure-based agent work, confirm which identities the pipeline assumes and whether they can be rotated on short notice. The Azure knowledge hub is a useful starting point for that review.
None of this is exotic. It is the difference between an incident that costs an afternoon and one that costs a quarter.
Frequently asked questions
Was Microsoft Agent Framework itself compromised?
Microsoft says the malicious code was in the published packages, not in the repository. Only the agent-framework Python meta-package versions 1.26.1 and 1.26.2 were affected. The .NET packages and Semantic Kernel were not impacted.
Which versions of Microsoft Agent Framework are safe?
Version 1.26.0 and earlier are not affected. Microsoft advises pinning to 1.26.0, or pinning the exact sub-packages you use, until it provides further guidance. Anyone who installed 1.26.1 or 1.26.2 should treat the environment as compromised.
Does the repository outage affect .NET teams?
No, not on this incident. Microsoft states that .NET packages were not affected. The practical impact for .NET teams is indirect: GitHub links and release notes that point into the repository may not resolve while it is offline.
How long was the malicious package available?
Reports put the window at under an hour. One timeline has the first version quarantined at 21:06 UTC and the second at 21:16 on November 17, 2026. That was still long enough for automated builds pulling the newest version to install it.
What this means for buyers
Ask for evidence, not reassurance. Before the next agent milestone, request each vendor's written dependency check covering application environments, containers and CI jobs, with dates. Confirm which package versions are pinned and where the lockfile lives.
Then look at credentials. Find out which identities the build pipeline can reach, whether they are short-lived, and who can rotate them. If an affected version touched a vendor environment, require the full rotation and rebuild sequence rather than an in-place downgrade.
Finally, write the fallback into the plan. No restoration date exists for the Microsoft Agent Framework repository, so milestones that depend on fresh repository access should be flagged as at risk now, before they slip. When you need extra hands for the audit or rebuild work, post a project with the scope and let vendors respond. Buyers who want to compare providers first can browse the IT services vendor directory by service, technology and country.
For vendors, the same points are a sales asset. A short, dated supply-chain check in a proposal answers a question buyers are about to ask, and it costs far less than losing a milestone to an outage nobody planned for.
- Microsoft Agent Framework
- software supply chain
- PyPI security
- dependency scanning
- CI/CD credentials
- Python
Sources
The pages this article draws on.
- 1.Microsoft keeps Agent Framework offline after malware messtheregister.com
- 2.Microsoft Agent Framework repository update | Microsoft Agent Frameworkdevblogs.microsoft.com
- 3.Microsoft apologizes as Agent Framework repository stays dark after PyPI malware incidentcryptobriefing.com
- 4.Wiz ties Microsoft Agent Framework package compromise to release pipeline certificate - SiliconANGLEsiliconangle.com
- 5.Agent Framework PyPI 1.26.1 and 1.26.2 Were Malicious, and the GitHub Repo Is Offline - Start Debuggingstartdebugging.net
The Scopelyst team
Written by the people who run the marketplace, from what buyers and vendors do on it. No guest posts, no sponsored articles.
