AI engineering

ONNX Runtime GitHub Repo Still Offline: What Developers Can Do Now

Microsoft took ONNX Runtime and related repos private after the agent-framework PyPI attack. Agent Framework is back; ONNX Runtime is not. What still works.

By EpiFive Editorial TeamReviewed/updated 9 min readHow we check our guides

This article contains affiliate links. If you buy through them, EpiFive may earn a commission at no extra cost to you. Details.

On this page

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)EventSource
17 NovemberTwo malicious releases of agent-framework, 1.26.1 and 1.26.2, are uploaded to PyPI and removed the same dayThe Hacker News, The Register
18 Novembermicrosoft/agent-framework and microsoft/onnxruntime start returning 404; Microsoft says it made some repositories private while it investigatesThe Register, The Hacker News
20 NovemberIn 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 issueGitHub
30 NovemberCommits dated this day are visible in the public microsoft/agent-framework repositoryOur check on 1 December
1 Decembermicrosoft/onnxruntime and related repositories still return 404Our 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

RepositoryStatus on 1 December 2026
microsoft/agent-frameworkPublic again; latest commits dated 30 November
microsoft/agent-framework-goPublic
microsoft/onnxruntime404
microsoft/onnxruntime-genai404
microsoft/onnxruntime-extensions404
microsoft/onnxruntime-github-actions404
microsoft/onnxruntime-inference-examples404
microsoft/onnxruntime-training-examples404
microsoft/onnxruntime-swift-package-manager404
microsoft/Olive and microsoft/olive-recipes404
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

ItemStatus on 1 December 2026
onnxruntime on PyPI1.32.0, uploaded 13 November 2026
onnxruntime-genai on PyPI0.20.0, uploaded 14 November 2026
Microsoft.ML.OnnxRuntime on NuGet1.32.0 is the latest version
agent-framework on PyPI1.26.0, uploaded 12 November 2026 (the last clean release)
onnxruntime.ai and its docsLoading (HTTP 200)
Agent Framework docs on learn.microsoft.comLoading (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-manager cannot 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 at microsoft/onnxruntime-github-actions fails 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-examples or olive-recipes fail 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 found

What 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.0

Then 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.txt

pip-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-mode

2. 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.resolved file 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-actions steps with plain pip install or dotnet add package commands in a run: 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.0 pinned, 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-go and onnx/onnx were public, and the ONNX Runtime, Olive and Swift package repositories returned 404.
  • Read the latest commits and releases of microsoft/agent-framework through the GitHub API on 2026-12-01: commits dated 30 November 2026, and the newest Python release tag python-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) and agent-framework (1.26.0, 12 November 2026), and the NuGet API for Microsoft.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-remote against https://github.com/microsoft/onnxruntime.git on 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

Questions people ask

Why does github.com/microsoft/onnxruntime return 404?

Microsoft made some repositories private after the 17 November 2026 agent-framework PyPI compromise. A Microsoft spokesperson told The Register the company had made them private "while we investigate malicious content". When we checked on 1 December 2026, the ONNX Runtime repository and several related ones still returned 404.

Is ONNX Runtime itself compromised?

There is no public evidence of that. The Register reported that neither Microsoft nor researchers had linked the ONNX Runtime repository's removal to the malware campaign. The latest onnxruntime release on PyPI, 1.32.0, was uploaded on 13 November 2026, before the incident.

Can I still install ONNX Runtime?

Yes. When we checked on 1 December 2026, onnxruntime 1.32.0 and onnxruntime-genai 0.20.0 were on PyPI, Microsoft.ML.OnnxRuntime 1.32.0 was on NuGet, and the documentation at onnxruntime.ai loaded. What fails is anything that needs the GitHub repositories themselves.

Is the Microsoft Agent Framework repository back?

Yes. When we checked on 1 December 2026, microsoft/agent-framework was public again, with commits dated 30 November 2026. The newest Python release on PyPI was still agent-framework 1.26.0, the last clean version before the malicious 1.26.1 and 1.26.2.

ONNX RuntimeMicrosoft Agent FrameworkGitHubPyPINuGetSupply chain security