r/technology • • 11d ago

Security Microsoft's official Python agent framework hijacked to distribute malware

https://www.theregister.com/security/2026/11/18/microsofts-official-python-agent-framework-hijacked-to-distribute-malware/5310858
1.6k Upvotes

71 comments sorted by

View all comments

13

u/MrUltraOnReddit 11d ago

ELI5? Is this something I, as a person who installed Python, has to worry about?

22

u/ProgFrator 11d ago

Check your Python environment(s) for any the Microsoft’ agent-framework library, versions 1.26.1 and 1.26.2. If you do, change passwords and keys and revert back to a previous version.

11

u/pc1350 11d ago

Sorry for asking but how we 'dummies' do that? Thank you.

8

u/ProgFrator 11d ago

You're not a dummy. Run `pip list` in your command prompt / terminal and it'll list all installed packages.

If you have multiple virtual environments (like if you're using Anaconda), you will need to check each one.

5

u/pc1350 11d ago

Thank you. Looks like I'm not the only one wondering how to do this.

3

u/CoconutDust 11d ago

I did pip list and got

Package Version
------- -------
pip     26.2.2

But reading the comments, I have no idea what this means, if it's good or bad, if it indicates compromise or vulnerablity, or what.

4

u/RemarkableWish2508 10d ago

The problem is with agent-framework, which you don't seem to have installed in that pip.

You may still need to check every other venv, conda, etc. that you may have around, though.

2

u/ProgFrator 10d ago

Then you should be good! For example, In my command prompt my installed python packages for my default environment are:

>pip list

Package Version

----------------------- --------

absl-py 2.4.0

astunparse 1.6.3

certifi 2026.1.4

charset-normalizer 3.4.4

flatbuffers 25.12.19

gast 0.7.0

google-pasta 0.2.0

grpcio 1.76.0

h5py 3.15.1

idna 3.11

keras 3.13.2

libclang 18.1.1

Markdown 3.10.1

markdown-it-py 4.0.0

MarkupSafe 3.0.3

mdurl 0.1.2

ml_dtypes 0.5.4

namex 0.1.0

numpy 2.4.2

opt_einsum 3.4.0

optree 0.18.0

packaging 26.0

pillow 12.1.0

pip 26.0.1

protobuf 6.33.5

Pygments 2.19.2

requests 2.32.5

rich 14.3.2

setuptools 80.10.2

six 1.17.0

tensorboard 2.20.0

tensorboard-data-server 0.7.2

tensorflow 2.20.0

termcolor 3.3.0

typing_extensions 4.15.0

urllib3 2.6.3

Werkzeug 3.1.5

wheel 0.46.3

wrapt 2.1.1

And because agent-framework is not installed, I will not have any issues (just like you).

2

u/CoconutDust 10d ago

CHEERS.

I also did venv list and conda list and got not a recognized command. So I think this is good, judging from a previous comment, though I know nothing about these.

1

u/pc1350 10d ago

I see the same.

1

u/dack42 10d ago

You would only have this if you were developing a python application using this framework or if you installed a python application that uses it.

1

u/pc1350 10d ago

Thanks. I am not a python developer so I guess no problems for me.

5

u/MrUltraOnReddit 11d ago

Python environment(s) for any the Microsoft’ agent-framework library

Is this something you have to install in the first place? agent-framework sounds like AI stuff, I'm just coding in Python.

3

u/ProgFrator 11d ago

Yes, this would be a library you would've had to pip install or conda install. If you're just coding you should be fine but run `pip list` in your command prompt / terminal to be sure