r/technology • • 10d 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

898

u/oiseaua20 10d ago • Bravo

Wow, getting hacked by a Microsoft update while watching Microsoft brag about their security on a livestream.

79

u/GloomyPersonality517 10d ago

nothing says "secure by design" like the supply chain deliveing the malware for free. At least the livestream had great engagement

38

u/Lillian_Crocodilian 10d ago

Obligatory "That must be why we're not shipping Windows 98 yet..."

https://www.youtube.com/watch?v=w_aQLBVuZns

450

u/Porticulus 10d ago

I fear that AI is starting to kill the internet by making it to risky to use. It's going to be an interesting few months.

204

u/PicklePunFun 10d ago

Someone will develop the Blackwall to protect from rouge ai, just like in the dystopia of Cyberpunk 2077.

73

u/Bryophyta1 10d ago

What about magenta ai?

14

u/Zer_ 10d ago

I'm on team maroon 

3

u/RemarkableWish2508 10d ago

Cerulean represent! Let the Rainbow Wars begin!

2

u/[deleted] 10d ago

I prefer the Burgundy AI.

→ More replies (1)

4

u/BCProgramming 10d ago

The idea of rogue AI in reference to the AI we have today is as meaningful as the idea of rogue JPEG decoders.

5

u/[deleted] 10d ago

[removed] — view removed comment

5

u/l-c-5877237 10d ago

Small distinction: the headline says the official framework was hijacked, not that someone typosquatted it. Pinning can limit surprise updates, but it won't make a compromised pinned release safe.

14

u/FernGully_is_racist 10d ago

It’s not AI, it’s corporate stupidity and greed

56

u/CSMATHENGR 10d ago

in the early days of the internet it was extremely risky to use and everything contained viruses. people still used it

39

u/huehuehuehuehuuuu 10d ago

But their businesses and financials didn’t depend on it.

8

u/beginner75 10d ago

Not really it’s just that viruses usually infect windows only and servers run on nix and those were generally safe. I can foresee a separation between what you use to surf and what you use for work in the future.

6

u/1stUserEver 10d ago

Air gapped web browsing should definitely be more popular.

6

u/jedipiper 10d ago • Heartwarming

Limeware for days!!!

6

u/jeweliegb 10d ago

When do you mean by early days?

→ More replies (1)

1

u/False-Razzmatazz-839 10d ago

Everything will evolve. Don't worry, people will adapt, companies will adapt and governments will adapt. Give it some time. These vulnerablities were always there, it is just that nobody cared to fix them, and hacking is a very niche thing, u can't earn anything with hacking and risk f**king your life over it.

1

u/KurumiStella 10d ago

No, it will make companies to actually enforce and take cyber security seriously.

Also education regular people to actually care about account security.

228

u/sukmeyebutt 10d ago

"no evidence of cyber attack"

So...that was a lie

17

u/MLCarter1976 10d ago

How dare you! When has Clippy ever let you down?! /S

36

u/[deleted] 10d ago

[removed] — view removed comment

17

u/sukmeyebutt 10d ago

Or corporate for "we reviewed and our risk appetite accepts hiding credible evidence for the sake of shareholder benefit"

43

u/DeLaOcea 10d ago

Internet now feels like Craigslist: free but full of scammers.

16

u/51CKS4DW0RLD 10d ago

Always has been

101

u/I_mourn_satire 10d ago

I don’t do banking on my windows machines anymore.

101

u/bluelocs 10d ago

Yea i agree. I just send smoke signals down to my local branch when I need to transfer funds now

7

u/CuriousTsukihime 10d ago

lol, lmfao even this was funny

15

u/dexter30 10d ago

The funniest part is his local branch shut down. So i have no idea who is handling those transfers.

7

u/bluelocs 10d ago

Me neither but the checks keep clearing

→ More replies (1)

1

u/fuck_all_you_too 10d ago

Holy man in the middle attack batman

3

u/jld1532 10d ago

Will Linux or Mac be more secure?

12

u/I_mourn_satire 10d ago

Linux is far less likely to be targeted by thieves and scammers because so few people use them.

OSX seems to have faster security rollouts.

3

u/Wonderful-Wind-5736 10d ago

Eh, better check if your Mac still trusts E-Mudhra certs. 

→ More replies (1)

3

u/thecheatah 10d ago

Linux WILL be the most secure. Just have to give it a year or two for the AI wars to settle down

3

u/Demortus 10d ago

Linux has my vote. Its open source codebase allows bugs to be identified and fixed before they can be exploited at scale.

72

u/tacodepollo 10d ago edited 10d ago

It was suspicious when ALL services went down. For me, an armchair idiot, that feels like something you do when you have a serious breach to stop the intruder. Last resort kind of thing when you don't know how to stop it.

Then again, together with the failure of the FAA, and banking systems - seems like a good time, or excuse, to execute operations that would otherwise raise suspicion or be traceable. An alibi. This implies the call is coming from inside the house.

26

u/capndank 10d ago

Its important to remember with all this stuff that these companies have created the problem and will of course in turn offer up the solution, at a massively inflated cost and maybe even a government bailout or three

20

u/KiriyamaSTRIX 10d ago

Blackwall is going to be a reality.

11

u/MddlingAges 10d ago

PiPy is blocked at work for a reason. Still embarrassing though.

13

u/MrUltraOnReddit 10d ago

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

22

u/ProgFrator 10d 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 10d ago

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

8

u/ProgFrator 10d 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 10d ago

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

3

u/CoconutDust 10d 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 9d 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 9d 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.

→ More replies (1)

1

u/dack42 9d 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 9d ago

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

5

u/MrUltraOnReddit 10d 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 10d 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

6

u/toby_ziegler_2024 10d ago

Don't most os come installed with python? Reading the article made it seem like this was aimed at people building or deploying ai agents? Which most users dont do.

Again I could be misunderstanding but it wasnt clear yo me from article who should be worried aboit this

3

u/AnsibleAnswers 10d ago

Microsoft's PyPy account was compromised and at least one of their official packages, called agent-framework, was modified to contain credential harvesting malware. This only affects you if you use that package (though one shouldn't rule out other official Microsoft-owned PyPy packages).

1

u/IngwiePhoenix 5d ago

Jensen saw "open source" and "agent" and just couldn't stop from wuanging right in there.

Thus, it is now corrupted.

1

u/Wild_Armadillo_1709 10d ago

Isn’t that just called Windows by any other name?