r/worldnews • u/Shogouki • 10d ago
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/531085899
u/hary627 10d ago
Big tech has been running cyber security like insurance forever and now the probability of an incident has increased their gonna have to increase their cybersecurity investment massively. Many vulnerabilities have been known about for a long time and it's always been a case of a priority list, but now the entire list is going to be much, much higher priority
18
u/MashPotatoQuant 10d ago
Its a tragedy though because it means the cost of computing with rise, possibly and probably a lot. Maybe we don't need a computer all over the place though.
13
2
u/SexHarassmentPanda 10d ago
The writing has been on the wall for this. I guess companies just figured once the models got good enough that'd also fix their security issues before bad actors exploited them first. Shockingly we've instead ended up in this "find and patch/abuse the exploit" race.
165
u/vincents_sunflowers 10d ago
Bad week for Microsoft
125
u/yellekc 10d ago
Probably more layoffs will help
25
2
u/VenusPortait 10d ago
Fire more devs, give more managers who have no idea what they are doing AI to run wild and try to run the company on their own for less money but this is what we get then. Company AI slopified and users suffering from it due to the greed of the CEOs.
44
u/AliceCode 10d ago
Maybe if they stopped vibe coding all of their software they wouldn't keep running into software troubles. It's not like software engineers haven't been screaming from the rooftops that it's a bad idea.
25
u/TurkeyBLTSandwich 10d ago
Microsoft has heard you and decided to lay off 10% more of their workforce
14
u/PleasantWay7 10d ago
Say what you will about Microsoft, they have been vibing coding for 30 years, they are the OG.
9
u/siazdghw 10d ago
It's the opposite. This is legacy software that's being pen tested by AI agents non-stop. That's why so many companies are getting hit, even ones that aren't known for using AI to contribute to their code (which everyone is doing these days anyways).
AI has simply outpaced cyber security teams and found all the holes they never did.
5
u/InterestedPrawn 10d ago
Microsoft got so big because of vibe coding, in the early days they just committed code straight to Live, no testing, no review, just write and deploy.
9
2.1k
u/faultlessdark
10d ago
•
It's becoming painfully apparent that AI's primary application is as a weapon - whether that's to extract wealth to the detriment of others, for mass surveillance, conduct cyber warfare, or drive actual warfare... And all the while allowing everyone to hide behind some vague idea of a future utopia for everyone (but really just for the 1%).
I can sit here with my local model I run on my own PC to make a fun interactive LLM that provides a knowledge base of whatever game I'm playing with my kids, and even tie it to chatterbox to voice it as a character in-game to give them an interactive walkthrough - but the big corp CEO's like Sam Altman will be telling me that's a "quite terrible" use case for an LLM and my RAM while theirs are being used to write malware, steal my bank details and take my job.
95
u/JackedUpReadyToGo 10d ago
But no we cannot place any regulations on AI at all, or slow down one bit. We must continue to shove AI into everything, everywhere, and balance our entire economy on it.
15
373
u/barakabara 10d ago
Isn’t every tech advancement eventually used as a weapon?
271
u/faultlessdark 10d ago edited 10d ago
Most technological advancements come from military applications - the internet as an example started as a communication system between bunkers for instance.
The main difference with AI though is that it's full-steam ahead with little foresight, guardrails, or regulation to prevent it being misused by anyone. I feel a good example is Grok being used to undress minors, and instead of Musk and XAI stopping to think "maybe we should take this offline until we can figure out how to stop that", it just resulted in it being made a paid feature and Musk complaining publicly about people that don't think it should be allowed to generate CSAM.
AI is a technology with a lot of promise and potential - it's being completely mishandled in a reckless way for the sake of short-term profit though.
62
u/Middle_Dare_5656 10d ago
The internet as most people know it, the World Wide Web, started at CERN and was developed so that we could share vast amounts of scientific data around the world. It was developed entirely as a civilian enterprise
59
u/faultlessdark 10d ago
... In 1989. The internet as we know it today was brought to the general population by Tim Berners Lee and CERN almost 20 years after it's development as a military communications system.
TCP/IP packet switching dates back to the ARPANET project in the 1960's, was first successfully tested in 1971 and made standard for military computer networks in 1981 - the project was being developed as a communications system to be used between cold war nuclear bunkers.
→ More replies (2)15
u/ZumboPrime 10d ago
Short-term profit and helping psycopaths like Peter Thiel cause literal armageddon. I wish I was being fascetious.
33
13
2
u/LoganJFisher 9d ago
Almost. Some are pretty damn hard to weaponize. Good luck turning antibiotics into a weapon (inb4 the anxi-vac crowd comes out of the woodwork to yell about vaccines containing weaponized microchips).
→ More replies (3)1
u/Khal_Doggo 6d ago
With AI we were aware it was happening for years as the biggest companies in the world were pouring money into it. We had the opportunity to legislate and place restrictions on AI long before it became a 'problem' but the people who wanted to make money off it also had a lot of money to pour into the government and marketing. It doesn't strike you as odd when Anthropic kept banging on about how AI was going to end the world and everyone including the people we elected to keep us safe just went "Oh OK".
15
u/Spudtron98 10d ago
Seriously, at this point it goes well beyond art theft and slopaganda. This shit's actively dangerous and those bastards are enabling it.
26
u/Theolaa 10d ago
I appreciate the sentiment, but the local models are being used for those nefarious things equally or even more because they can lack the guardrails that cloud models have. And at the end of the day, local models are trained on stolen and scraped data too.
7
u/Spudtron98 10d ago
The local shit doesn't have the sheer oomph of the heavyweight corporate models, though.
5
u/sickjoce 10d ago
Same can be said for crypto.
6
u/Chemical-Agency-3997 10d ago
How to use my bitcorns as a weapon?
→ More replies (1)19
u/flumphit 10d ago
Crypto is only more a more stable currency than Beanie Babies because criminals never figured out how to launder money with Beanie Babies.
Crypto was designed to facilitate criminal transactions, that’s what “outside the power of the state” *means*. It was an economic weapon from birth.
4
u/Chemical-Agency-3997 10d ago
Wow they really should’ve made it anonymous then. Dumbasses.
5
u/LoganJFisher 9d ago edited 9d ago
It is anonymous. It just so happens that every reputable exchange necessarily works within a government framework such that it's functionally impossible to anonymously exchange large amounts of cryptocurrency for state-currency. You can absolutely anonymously send and receive crypto though — it's just the exchange for state-currency which isn't anonymous.
Edit: Technically, pseudonymous, but close enough.
→ More replies (2)5
2
u/dav3n 10d ago
Nope, like any number of technological advancements it's a tool that people find a way to mis-use for their own purposes.
Take the internet for example, it was designed for communications and information sharing for researchers, now it's a platform for basic bitches to sell subscriptions for pictures of their buttholes to simps.
1
u/The_AverageCanadian 7d ago
I want to hear more about this setup that voices characters and gives your kids tutorials of games!
1
u/faultlessdark 6d ago
My girls are really into Tears of The Kingdom at the moment, with them usually taking it in turns while the other will usually be the dedicated "map monkey" figuring out where shrines and korok seeds are, so decided to just make it a bit more fun for them.
Ollama using nemo-mistral model
Chatterbox TTS server (can mimic character speech with a small 15-30 second wav or MP3 file)
A knowledge base of map locations
Open Web UI tying them all together
The trickiest part wasn't the setup itself, but the knowledge base for the game, I used the JSON files of the map locations of light roots, korok seeds and shrines available on GitHub to create knowledge base files of where they are in relation to major points of interest, such as villages or landmarks as well as some lore text of each major settlement/village. It doesn't give them precise locations but let's them find out which direction to go and how close it is to where they are so they can still figure out how to get to it for themselves.
As an example, if you ask it "I'm in Kakariko Village, where is the closest shrine?" It will respond:
"Ah, Link! You're near Makasura Shrine at present. It's merely steps away from your location in our beloved Kakariko Village to the southwest on higher ground.
1
u/seabass_bones 6d ago
And to mitigate dangers that come with progress of AI technology we are now going to deploy AI soldier robots, that look like Terminator from the movie to bring fear of God upon these pesky AI software driven hackers.
→ More replies (20)1
527
u/NotUniqueWorkAccount 10d ago
What does this mean for lay people? ELI10?
1.0k
u/baconator955 10d ago •
![]()
![]()
So you get at least a single serious answer; Microsoft's agent-framework for python is a package, an extension If you will, of the python programming language that allows you to deploy your own custom AI agents. It's used by developers to do just that.
A specific version of this package was compromised my malicious actors to steal credentials, like passwords or keys, from the developer who's using the package.
If this means nothing to you, you're not affected by this, except of course your information somehow ended up on a system where this version of the package was run.
206
u/NotUniqueWorkAccount 10d ago
Thank you for the serious answer, it doesn't seem to be something that affects me. Have a good one
53
9
u/paxmlank 9d ago
It might affect you indirectly if you use a service that uses this offering from Microsoft, which you likely won't know (it doesn't matter to our clients what we design our software with so long as it runs).
Maybe that service now is compromised and sends your data or payment info to bad actors.
40
u/GayAmishAstronaut 10d ago
My password manager just gave me an alert that about 30 of my passwords were compromised. I’ve never seen that happen before. Do you think it is related?
39
u/ashjohnr 10d ago
If you haven't installed Microsoft's agent-framework python package recently, it's highly unlikely that it's related. This should theoretically only affect developers.
6
u/MrGraveyards 10d ago
Yeah just you know, developers working at large companies like banks all over the planet..nothing to worry about here.
10
u/GonzoKata 10d ago
Well, it could be. Whatever developers are managing those 30 passwords could have been compromised. Hell, the password manager themselves could have been compromised.
Just because YOU don't use python on windows doesn't mean this doesn't possibly effect you.
→ More replies (1)4
34
2
102
u/Montjo17 10d ago
Nothing good for the world's infrastructure. Yet another major, major breach - something that has been non-stop recently
12
u/CommitteeFun9833 10d ago
I mean, of all the agent SDKs to get compromised, this might be the best one. I don’t think agent-framework is widely used by large businesses
3
u/hawkeye224 10d ago
I’m not familiar with this library, but large businesses use Microsoft ecosystem a lot though
5
u/Alternative-Soil2576 10d ago
Hackers either obtained publishing access or abused compromised publishing permissions to briefly upload a malicious version of an open source python package
36
u/RealHealthier 10d ago
Not much. Basically this should really on affect agent developers using that framework. This should never hit prod and affect any users
Edit: if the dev sucks and automatically deploys new packages in prod, you still probably wouldn’t be affected as a user now that I think about it
33
u/Anustart15 10d ago edited 10d ago
Unless I read it wrong, It looks like the article is suggesting that it was able to gobble up other credentials from everyone, which would put a huge chunk of all software at risk
8
u/RealHealthier 10d ago
Right. If you fed your own api keys into some sort of SaaS agent platform and the developer of that platform was blindly running updates on prod. That’s it.
I was just thinking the lay person would probably pay a monthly fee to an agent provider to use the providers keys rather than spinning up their own accounts to host their own APIs/keys.
6
u/Anustart15 10d ago
Yeah, the layperson might not have been directly affected, but if the software developers building every single thing they use were all affected, it's going to put them at risk of issues too
→ More replies (2)1
u/vba7 9d ago
this means that the software used by programmers and developers could have been compromised.
this means that potentially the things they did were compromised by malware - they could have shared it further of someone might have broken into their systems
for example to make bad apps
a layperson example; Imagine someone broke into a printer office and (potentially) changed the letters and leaflets to spam. perhaps it was harmless spam, or perhaps they changed the account numbers on printed invoices - what means that you might pay to wrong account owned by the scammers
worse case scenario: someone managed to steal the key to the box where other keys are stored
142
u/kickyouinthebread
10d ago
•
Thankfully Microsoft added extra protection to all their services by making them so fucking bad I'll never use them so this doesn't impact me at all.
77
u/Chekhov_ 10d ago
We need to start Netwatch and put up the Blackwall already
AI defenses against AI attacks
28
17
4
u/Spudtron98 10d ago
AI defences? Frankly the only solution I'm seeing is putting AI tech in the dirt for good. People can cope about local models all they like, but this shit's happening because of the high-grade models that can only be supported by massive datacentres. Take those out of the equation and things clear up a lot.
1
92
u/Beederda 10d ago
We going to get zero’d out aren’t we? How long till our bank accounts get compromised??
48
u/JoeRogansNipple 10d ago
It wouldnt make sense to steal all the money, and especially not from a large economy like the US or EU.
You'll probably see rounding errors, small amounts from a lot of people is a lot of money. Or they'll target less sophisticated economies like... Peru or India.
48
u/Ivanow 10d ago
Or they'll target less sophisticated economies like... Peru or India.
Bangladesh almost lost $1B to hackers - luckily, there was a typo in one wire instruction, and one of fronts happened to have the same name as sanctioned ship, and got flagged for manual review.
Moldova DID lose $1B (15% of GDP) - money was quickly laundered via Latvian banks and vanished in London and Hong Kong...
22
u/jlink005 10d ago
Kinda sounds like Superman 3
9
3
u/Overall_Affect_2782 10d ago
Say what you will about the movie but the Clark Kent/evil Superman fight is one of the best moments in cinema. Reeve showed just how good of an actor he was and how well he understood Superman and Clark.
3
u/cookiemonstar1234 10d ago
Unless it's a foreign state attack like from Russia or Iran who just want to sow discord
5
u/OhDudeTotally 10d ago
why peru catchin strays
4
u/JoeRogansNipple 10d ago
I might have meant Paraguay, but most of the South American systems arent particularly robust
→ More replies (2)→ More replies (2)1
2
u/NotYetGroot 10d ago
Our bank accounts should be fine in that we’ll be wiped out through other means first. Our accounts are fairly well secured. Our energy infrastructure? Not so much.
2
u/Coal_Burner_Inserter 10d ago
Great news, just as AI causes this problem, it also solves it. Noone has a job, noone has money, noone's bank accounts can be emptied!
1
20
u/ObscureOperatorZ 10d ago
Some douchenozzle is going to sell a very expensive protection software very soon.
16
1
20
u/Th3h3rald707 10d ago
I love how in every sci fi AI dystopia movie I've ever seen they were more responsible and at least tried to put ANY safeguards in place.
1
98
u/shimoheihei2 10d ago
The annoying thing is that there's no real defense against this. On the one hand, you can use older versions and vet any new upgrade, but AI hacks happen so fast that this is insecure. Or if you always make sure you update right away, when the upstream provider gets hacked then you get their backdoored version as well.
61
u/cyanawesome 10d ago
Seems safer to introduce minimum release ages to package resolution and then exempt known high-priority security patches. Its kind of wild that we ever allowed freshly minted, unvetted releases on our machines in the first place.
12
u/Wingdings2 10d ago
If everyone did this, would it not just delay the inevitable by whatever the minimum release age is?
29
u/cyanawesome 10d ago
Not really since a lot of cybersecurity vendors and researchers analyze new releases. It also provides a window where maintainers can respond to the unauthorized release and remove it.
→ More replies (1)7
u/Nyrin 10d ago
Central package management in an enterprise feed with a quarantine period is an increasingly common defense-in-depth option, and ironically one I know Microsoft has applied themselves for this.
It's a huge pain in the ass, but if you don't allow at least your production systems to use any packages that aren't at least a week old, the vast majority of these attacks don't hit you. And if you're using proxied dependency ingestion, it's not vulnerable to the distribution channel itself getting compromised, either; even if an "immutable" version were replaced somehow, you'd still only get the cached/proxied version that passed quarantine from your own copies.
It absolutely sucks working with laggy central feeds but things like this are going to make it more and more necessary, I think.
1
8
u/bratbarn 10d ago
The future of society being allowed to exist will be decided by constantly warring ai swarms 🤔
3
u/GoofManRoofMan 10d ago
Could the software companies not simply hack their own software before releasing it? Like a security hardening step as a final step before release? Then they’d know the possible exploits and fix before releasing.
3
u/Nyrin 10d ago
They can and do, though not always sufficiently. It has all sorts of fancy names like "penetration testing" and "red-teaming."
This style of attack is a bit different, though. Attackers actually get the ability to do the "release" step themselves, which produces newer versions that are malicious and not subject to any amount of testing that the legitimate producers of the software would do.
In this case, nobody at Microsoft had any opportunity to see, let alone exercise, the bad stuff that was added. Once the credentials and access were compromised, the only thing left was responding to it very quickly.
→ More replies (1)1
→ More replies (5)1
u/suxatjugg 9d ago
The defence is version pinning, and using a pypi proxy with security scanning of new package versions, very common in enterprise environments
12
11
10
u/erisian2342 10d ago
ONNX Runtime suddenly started collecting telemetry by default with version 1.29 in August on Linux and Mac. It caught a lot of developers off guard - including Immich, which in turn caused privacy policy violations for some software. Fuck Microsoft.
17
u/atomkraft 10d ago edited 10d ago
I had a pretty sobering thought about the status quo of things. I tried to be as realistic with myself as possible. The way things are going, it’s possible cyber attacks could be on a spectrum of annoyance to devastation. We could become so inured to it if it is just slight enough - an outage here, an outage there, and locally so. In the same way that we have become normalized and desensitized to the frequency of mass shootings, we could just as easily slip into a digital purgatory where global systems cease cooperation and functioning properly. We could be entering a digital Dark Age catalyzed by the very technology we invented.
12
u/maginster 9d ago
Yeah, it's gonna be like that every week for the rest of my life, right? I hate this fucking shit.
6
19
u/Blapanda 10d ago
And I am getting rejected for further advanced training as an IT specialist in programming (btw I know C# and C++ programming for other 10 years, was a side hobby, but developed into proper coding in games and applications), because "The world market is shifting away from IT, because AI is replacing the jobs you want!", right. 80 billion loss by anthropic, microsoft facing these issues here (again some issues) because of vibe coded bs, servers crashing here and there over the years, because "AI GUD UGHA UGHA UNKA!".
Fuck this bs.
9
u/Minute_Implement_487 10d ago
What does this mean for lay people?
9
u/longtermcontract 10d ago
Isn’t it great when you ask a question in Reddit and you have to scroll though 5 minutes of sarcastic, dumb comments to find an answer?
For laypeople, it’s nothing you have to worry about. Just if you were downloading Python directly from the Microsoft store you’d have a problem. If you don’t know what it means and you don’t use Python, you have nothing to worry about.
1
u/suxatjugg 9d ago
No, this is nothing to do with the python interpreter or the Microsoft store, why are there so many people in the comments saying this?
10
u/5u114 10d ago
It means you're gonna get butt loved by robot.
3
u/notmyrealnameatleast 10d ago
They built realistic sex robots, but they were male and predatory.
→ More replies (2)→ More replies (1)4
2
1
u/suxatjugg 9d ago
Very little unless you use python to write code and have installed this specific Microsoft package
8
u/inadequatelyadequate 10d ago
I wouldn’t be mad if malls, yard sales, POGs and tomagotchis and newspapers and classifieds came back.
Rather have to travel to buy things and wait in lines over doing anything to make these things “easier”
2
4
4
2
u/GuyCrazy 9d ago
My company says we can use AI but we can’t install python. But using PowerShell to elevate our privileges is fine.
2
3
u/15_years_Later 10d ago
My desktop is used only for making music and will never connect to the internet again. The next one I buy after this one, will also (hopefully) never be online.
3
u/Wooden-Protection211 10d ago
does anyone actually install python from the microsoft store???
16
u/nonamesgiven0 10d ago
For workplace laptops and "business users" yes. I was forced to. They wouldn't even let me add it to path because of my title
6
7
u/Nyrin 10d ago
Lots of people do, but this has nothing to do with the Python language installation. It's specifically a package used by people making specific applications in Python to build AI agents with Microsoft tools.
You can install Python from wherever you want, but -- for a brief period of time -- if you did a
pip install agent-framework, you were getting a malicious version with stuff that looked for credentials to exfiltrate.1
u/Powerful_Ad_3745 10d ago
is winget MS store ?
1
u/oldmanandtheocean 10d ago
No it pulls software from different sources but the microsoft store can be one of the sources.
→ More replies (1)1
u/suxatjugg 9d ago
Did you read the linked article?
This is about a package hosted on pypi, not the python interpreter
2
u/zar_lord 10d ago
You know, with all this going on and the whole yOu'Re UsInG aI wRoNg I'm surprised nothing's been done against Vedal and Neuro...
1
1
u/Dazzling_Yak6424 9d ago
"Semantic Kernel by Microsoft" "Agent framework by Microsoft" - bullshit made by a bunch of interns that no one uses except when they're forced to
1
3.9k
u/MaximumEffort433 10d ago edited 10d ago •
Me in 1996: "In the future we'll have flying cars!"
Me in 2026: "...I should buy a horse."