Microsoft's ONNX Runtime has disappeared from GitHub

(github.com)

152 points | by nvader 3 hours ago

18 comments

  • hiddenvulkcan 2 hours ago
    Maybe related to one of their packages that was compromised? Not sure if GitHub was the attack vector, but possibly tidying stuff up

    Source: https://opensourcemalware.com/blog/agent-framework-pypi-comp...

  • eddythompson80 1 hour ago
    FYI - ONNX will automatically exfiltrate data about your application with no way to opt out other than building it from source with telemetry disabled. Maybe you could block DNS too.
    • numpad0 51 minutes ago
      Isn't ONNX itself not MS specific?
      • tadfisher 32 minutes ago
        They probably mean "ONNX Runtime", which has unfortunately become synonymous with ONNX-the-standard.
    • plagiarist 59 minutes ago
      Yikes. Another bad actor who thinks they are entitled to data.
  • spdustin 2 hours ago
    I wonder if they found new vectors that backdoor'ed models could exploit, like that discussed in the most recent Phrack [^0]

    [0]: https://phrack.org/issues/73/backdoor-attacks-against-machin...

    • momojo 2 hours ago
      > The ONNX Runtime (ORT) is the most widely used engine for serving deep learning models in production. It is common for people to download ONNX models from public repositories, such as Hugging Face, and to serve them to their customers without too much scrutiny. In March 2026, we noticed a parser flaw: an ONNX model can cause ORT to read from arbitrary file paths (or memory addresses) without validations.
  • Heliodex 2 hours ago
    The closest/furthest ahead fork I could find is https://github.com/intel/onnxruntime for anyone else needing it, though that's with Intel's OpenVINO modifications
  • nvader 3 hours ago
    We found out about this this morning, when evals started failing in our pipelines. I've been looking around, but it doesn't seem like there was any advance warning about this.

    Does anyone know why or how a repository with 22k stars just went dark?

    • FesterCluck 3 hours ago
      Probably being used in supply chains, and got attacked.
      • quietbritishjim 1 hour ago
        If I understand your implication, that's not what "supply chain attack" normally means. That term means attacking the mechanism that delivers your packages to deliver a different, more compromised, package. If the package itself is already compromised then that's just a straightforward dependency vulnerability.
      • robjam 2 hours ago
        That would be my guess also. About 6 months ago the azure-functions-host repo disappeared for a while (I got a concerning automated email from GitHub from my forked repo citing a ToS violation).
    • Neywiny 3 hours ago
      Why do you think star amount has anything to do with ability to go dark?
    • binsquare 3 hours ago
      it's called "Open Neural Network Exchange (ONNX)", perhaps microsoft is taking a page from OpenAI on what open meanings.
      • giancarlostoro 1 hour ago
        Considering Microsoft co-developed ONNX with Facebook... I think that the more likely scenario is they took it dark after learning that it has security issues, but they should really have left a message or something, this is amateur hour tier. GitHub repos should let you leave a "Sorry we've hidden our repo, we learned about security issues" which kind of doesn't help anyone either... since now they have to find help elsewhere, and fall victim to sketchy 'forks' from other people...
  • these 20 minutes ago
    Not to take away from the fact that I don't like that this was done, but in my experience development on ONNX has been pretty slow recently. I moved away from a few months back because I felt bug fixes were coming in pretty slow, despite being reported.
  • dangoodmanUT 2 hours ago
    This is why we vendor everything.

    You never know when it's going to vanish

    • rtpg 56 minutes ago
      I do wish I could pay some money for a package manager intermediary that "magically" handles things (for example defaulting to not promoting things until 2 weeks have passed), has better perf, and generally just does the right things.

      Of course I wouldn't pay _that_ much money for it.

      • rwiggins 40 minutes ago
        Doesn't Artifactory provide exactly that? Along with having a bunch of features that are generally the right things.

        Though I'm pretty sure their enterprise pricing is "give us a call." Maybe your last sentence was a nod to this.

      • esafak 13 minutes ago
        I have not tried it myself: https://github.com/artifact-keeper
    • KirinDave 1 hour ago
      If it were me, I would take the hint and maybe not trust a vendored version right now?
      • cjbgkagh 1 hour ago
        I believe vendoring in this context means forking it and serving it from your own repo.
  • UncleOxidant 1 hour ago
    Aren't there other ONNX runtimes out there? A quick google search shows a few written in Rust: Tract, RTen, WONNX, Burn&Candle. Also, IIRC there's a Julia-based one as well.
    • antimora 1 hour ago
      https://github.com/tracel-ai/burn-onnx

      I maintain this project at the moment.

      It convert ONNX models into native, backend-agnostic Burn code for inference and fine-tuning.

      • ytxm 1 hour ago
        Have used it with wasm and it's lovely, but I was kindof disappointed to learn internally it's basically another serialisation format. I imagined gigabytes of generated Rust code hehe
        • antimora 50 minutes ago
          The graph is converted into Rust code that calls Burn APIs but the weights are converted into Burn's format, called burnpack (similar to safetensors but instead of JSON we use CBOR for weights meta data).
  • tokyovigilante 1 hour ago
  • craigacp 56 minutes ago
    How odd. https://onnxruntime.ai is still up, and the packages still appear to be on PyPI, Maven Central etc. Guess I won't submit the PR I was working on tonight then.
  • gtirloni 2 hours ago
    • russdill 2 hours ago
      This is not the same package.
  • tomrod 2 hours ago
    Very concerning!
  • Axodouble 2 hours ago
    Maybe related to the recent release of MAI? Or the Microsoft AI models?
  • proc0 1 hour ago
    omg, I just built something depending on this. Hopefully the web version is still cached in NPM.
  • mrguyorama 1 hour ago
    The Maven package is still available, and the most recent version is from a few days ago:

    https://mvnrepository.com/artifact/com.microsoft.onnxruntime...

  • matt3210 2 hours ago
    Someone with a copy should soft fork it
  • tekacs 1 hour ago
    [flagged]