Two weeks after the agent-framework PyPI attack, github.com/microsoft/onnxruntime still returns "Repository not found". Microsoft made several repositories private on 18 November 2026 "while we investigate malicious content". When we checked on 1 December 2026, the Python Agent Framework repository was public again, but ONNX Runtime and at least eight related repositories were not. Installing ONNX Runtime from PyPI or NuGet still works. Pin your versions, move builds off the GitHub repositories, and do not pull ONNX Runtime source from unofficial mirrors.
Who this is for and what you will have at the end
This guide is for developers and platform teams whose apps, models or pipelines use ONNX Runtime, ONNX Runtime GenAI, Olive or Microsoft Agent Framework. By the end you will know which repositories are down, which packages and docs still work, which builds break and how to keep shipping until the repositories return.
If you installed agent-framework 1.26.1 or 1.26.2 from PyPI, handle that first: our guide to the agent-framework PyPI compromise covers isolating machines and rotating credentials. This article covers the repository outage only.
What happened
| Date (2026) | Event | Source |
|---|---|---|
| 17 November | Two malicious releases of agent-framework, 1.26.1 and 1.26.2, are uploaded to PyPI and removed the same day | The Hacker News, The Register |
| 18 November | microsoft/agent-framework and microsoft/onnxruntime start returning 404; Microsoft says it made some repositories private while it investigates | The Register, The Hacker News |
| 20 November | In issue #1403 on microsoft/agent-framework-go, a repository member says the Python repo "was taken private while the investigation is ongoing", then closes the issue | GitHub |
| 30 November | Commits dated this day are visible in the public microsoft/agent-framework repository | Our check on 1 December |
| 1 December | microsoft/onnxruntime and related repositories still return 404 | Our check |
A Microsoft spokesperson told The Register: "We have made some repositories private while we investigate malicious content." Microsoft has not said which repositories, why ONNX Runtime was included or when they will return. We found no announcement of the Agent Framework repository's return; it was simply public again when we checked.
The Register reported that neither Microsoft nor security researchers had linked the ONNX Runtime repository's removal to the malware campaign. Treat any explanation you see on social media as speculation until Microsoft publishes one.
What is down and what still works
We checked each item on 1 December 2026 through the GitHub API, the PyPI and NuGet package APIs and plain HTTP requests.
GitHub repositories
| Repository | Status on 1 December 2026 |
|---|---|
microsoft/agent-framework | Public again; latest commits dated 30 November |
microsoft/agent-framework-go | Public |
microsoft/onnxruntime | 404 |
microsoft/onnxruntime-genai | 404 |
microsoft/onnxruntime-extensions | 404 |
microsoft/onnxruntime-github-actions | 404 |
microsoft/onnxruntime-inference-examples | 404 |
microsoft/onnxruntime-training-examples | 404 |
microsoft/onnxruntime-swift-package-manager | 404 |
microsoft/Olive and microsoft/olive-recipes | 404 |
onnx/onnx (the ONNX format, run by the ONNX community) | Public, not affected |
A 404 from the GitHub API cannot tell a private repository from a deleted one. Microsoft's statement describes them as private.
Packages and documentation
| Item | Status on 1 December 2026 |
|---|---|
onnxruntime on PyPI | 1.32.0, uploaded 13 November 2026 |
onnxruntime-genai on PyPI | 0.20.0, uploaded 14 November 2026 |
Microsoft.ML.OnnxRuntime on NuGet | 1.32.0 is the latest version |
agent-framework on PyPI | 1.26.0, uploaded 12 November 2026 (the last clean release) |
| onnxruntime.ai and its docs | Loading (HTTP 200) |
| Agent Framework docs on learn.microsoft.com | Loading (HTTP 200) |
All of these ONNX Runtime releases were uploaded before the 17 November attack, and no source we read reports a problem with them.
What breaks while the repositories are private
Anything that needs the GitHub repository itself fails, even though the packages work. The most common cases:
- Building ONNX Runtime from source. Cloning the repository, or a parent project that has it as a Git submodule, fails.
- Swift Package Manager. iOS and macOS projects that depend on
onnxruntime-swift-package-managercannot resolve the package on a clean machine or CI runner, because SwiftPM fetches the package from that repository. - GitHub Actions. A workflow with a
uses:step pointing atmicrosoft/onnxruntime-github-actionsfails when the runner tries to download the action, before your own steps run. - Examples and recipes. Tutorials and notebooks that clone
onnxruntime-inference-examples,onnxruntime-training-examplesorolive-recipesfail at the clone step. - Issues, discussions and release notes. Links to them return 404, including bug reports your team may have been tracking.
A clone of the missing repository fails like this (output we captured on 1 December 2026):
remote: Repository not found.
fatal: repository 'https://github.com/microsoft/onnxruntime.git/' not foundWhat to do now
1. Install from the package registries and pin the version
For most applications, nothing needs to change except making sure the build uses the registry packages. Pin the exact version you have tested, and record hashes so a different file cannot be swapped in. With pip-tools, list the package in requirements.in:
onnxruntime==1.32.0Then generate a lock file with hashes and install from it:
pip install pip-tools
pip-compile --generate-hashes requirements.in
pip install --require-hashes -r requirements.txtpip-compile --generate-hashes records the hashes of the published files for that version, and --require-hashes makes pip refuse any file whose hash does not match.
For .NET, turn on NuGet lock files in the project file:
<PropertyGroup>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>Commit the generated packages.lock.json, and restore in CI with locked mode, so a restore that would change any package version fails:
dotnet restore --locked-mode2. Move builds off the GitHub repository
- Source builds: if you only built from source for a standard configuration, switch to the prebuilt package for your platform. If you need a custom build, use a copy of the source your organization already had, checked out at a known release tag. Compare it with a teammate's copy or your build cache before trusting it.
- Git submodules: pin the submodule to the commit you already have, and make sure CI does not run
git submodule update --remote, which tries to fetch from GitHub. - Swift Package Manager: if a working machine still has the resolved package, keep its
Package.resolvedfile unchanged. Otherwise switch to another supported way of adding ONNX Runtime from the official install docs at onnxruntime.ai, or pause the dependency update until the repository returns. - GitHub Actions: replace
microsoft/onnxruntime-github-actionssteps with plainpip installordotnet add packagecommands in arun:step for now.
3. Do not replace the official source with mirrors or archives
When a popular repository disappears, copies appear on other hosts, and some are not what they claim to be. A commenter on the Hacker News discussion warned that archives on SourceForge "likely contain malware"; we did not test that, but it is the right instinct. Use only:
- packages from PyPI, NuGet and the other registries listed in the official docs;
- a copy of the source your own team had before 18 November 2026;
- forks maintained by a vendor you already trust, for their own builds only.
4. If you use Microsoft Agent Framework
The Python repository is public again, but the newest Python release on PyPI is still 1.26.0. Keep agent-framework==1.26.0 pinned with hashes, and treat any newer version as new code: read its release notes in the repository and test it before you upgrade. If any environment ever installed 1.26.1 or 1.26.2, follow the incident steps in our agent-framework compromise guide.
5. Watch for Microsoft's update
Check the repository URLs occasionally, or let your dependency bot's next run tell you. When the repositories return, read any security note Microsoft publishes before you go back to building from GitHub, and check that release tags match the versions you pinned.
Troubleshooting
pip install onnxruntime works on my laptop but fails in CI. The outage does not affect PyPI. Look for a step that clones the repository, a submodule update or a uses: step for the ONNX Runtime GitHub Actions. The failing log line usually names the GitHub URL.
fatal: repository 'https://github.com/microsoft/onnxruntime.git/' not found. The build is cloning the repository. Switch to the package, or point the build at your organization's existing copy as described above.
dotnet restore --locked-mode fails after the change. The lock file does not match the project. Run dotnet restore once on a trusted machine, review the changes in packages.lock.json, then commit it.
pip install --require-hashes reports a hash mismatch. Do not override it. Regenerate the hashes from PyPI on a clean machine and compare them with the old file. A real mismatch means the file you downloaded is not the one PyPI published.
A link in our issue tracker to an ONNX Runtime issue returns 404. The issue is in the private repository. Copy any workaround you rely on into your own documentation now, from your notes or a teammate's.
Checklist
- Confirm your apps install ONNX Runtime from PyPI, NuGet or another official registry, not from GitHub.
- Pin versions with hashes (pip-tools) or lock files (NuGet locked mode).
- Find every clone, submodule, Swift package and
uses:step that points at the missing repositories. - Use only registry packages or your own pre-18 November copy of the source.
- Keep
agent-framework==1.26.0pinned, and review newer releases before upgrading. - Recheck the repositories, and read Microsoft's notes when they return.
What we checked
- Queried the GitHub API on 2026-12-01 for each repository in the status table:
microsoft/agent-framework,microsoft/agent-framework-goandonnx/onnxwere public, and the ONNX Runtime, Olive and Swift package repositories returned 404. - Read the latest commits and releases of
microsoft/agent-frameworkthrough the GitHub API on 2026-12-01: commits dated 30 November 2026, and the newest Python release tagpython-1.26.0(13 November 2026). - Checked the PyPI JSON API on 2026-12-01 for the latest versions and upload times of
onnxruntime(1.32.0, 13 November 2026),onnxruntime-genai(0.20.0, 14 November 2026) andagent-framework(1.26.0, 12 November 2026), and the NuGet API forMicrosoft.ML.OnnxRuntime(latest 1.32.0). - Requested onnxruntime.ai, its docs and the Agent Framework overview on learn.microsoft.com on 2026-12-01; all returned HTTP 200.
- Ran
git ls-remoteagainsthttps://github.com/microsoft/onnxruntime.giton 2026-12-01 and copied the error output shown above. - Cross-checked Microsoft's statement in The Register (18 November 2026) and The Hacker News (updated 20 November 2026), and read issue #1403 on
microsoft/agent-framework-go. - Not verified: why the ONNX Runtime repositories were included and when they will return; Microsoft had not said as of 2026-12-01.
Last tested: 2026-12-01
References
- The Register, Microsoft's official Python agent framework hijacked to distribute malware, 18 November 2026: https://www.theregister.com/security/2026/11/18/microsofts-official-python-agent-framework-hijacked-to-distribute-malware/5310858
- The Hacker News, Attackers compromise Microsoft's agent-framework PyPI package: https://thehackernews.com/2026/11/attackers-compromise-microsofts-agent.html
- GitHub, microsoft/agent-framework-go issue #1403: https://github.com/microsoft/agent-framework-go/issues/1403
- Hacker News discussion of the ONNX Runtime repository: https://news.ycombinator.com/item?id=50539610
- PyPI, onnxruntime: https://pypi.org/project/onnxruntime/
- NuGet, Microsoft.ML.OnnxRuntime: https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime
- ONNX Runtime documentation: https://onnxruntime.ai/docs/
- Microsoft Learn, Agent Framework overview: https://learn.microsoft.com/en-us/agent-framework/overview/agent-framework-overview
- pip documentation, secure installs with hash-checking mode: https://pip.pypa.io/en/stable/topics/secure-installs/
- Microsoft Learn, NuGet lock files: https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#locking-dependencies
Comments
Questions and tips are welcome. Comments are checked by the EpiFive team before they appear; please do not share passwords, phone numbers or other private details.