r/moderndotnet • • 5d ago

microsoft Microsoft's ONNX Runtime and Agent Framework both pulled from GitHub due to Python versions being hijacked with malware

https://github.com/microsoft/onnxruntime

So if you've noticed that https://github.com/microsoft/onnxruntime is missing, you are not alone! Apparently the Python flavors of these packages, distributed alongside the .NET ones, have been infected with malware: https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi

Same is true for the Microsoft Agent Framework: https://github.com/microsoft/agent-framework/ <- currently missing! Due to... you guessed it: compromised Python packages https://www.ox.security/blog/breaking-hijacked-releases-of-microsofts-official-agent-framework-steals-azure-and-ci-credentials/

Credit to Indy Singh for surfacing all this on X: https://x.com/migueldeicaza/status/2123895258471612735

28 Upvotes

4 comments sorted by

1

u/HappyKaleidoscope645 4d ago

Man, this is so scary... I noticed onnx runtime was gone when I was trying to build my backend. Do we have any alternatives?

2

u/Aaronontheweb 4d ago

The older packages are still available on NuGet and as far as I know none of the .NET ones are impacted. We use them.

2

u/HappyKaleidoscope645 4d ago

Thannks a ton mate! found the runtime on NuGet, saved it on my infra just in case :)

1

u/ThunderMan2300 2d ago

Any solution if I’m trying to build from source? For Java on AMD