Microsoft's agent toolkit hijacked on PyPI
Agent Framework 1.26.1 and 1.26.2 · credential stealer · now quarantined
UPDATESecurity
Poisoned agent-framework versions stole credentials
Earlier: Microsoft's agent toolkit hijacked on PyPI
Written with AI assistance, reviewed by the ACN desk.
“Besides reading credentials already on disk, the code asks the platform to issue new ones.”
Microsoft has made some of its GitHub repositories private while it investigates the hijack of its Agent Framework package. A Microsoft spokesperson confirmed the step to The Register.
Attackers published two malicious versions of the agent-framework package, 1.26.1 and 1.26.2, on PyPI on November 17. According to The Hacker News, the releases went up 33 minutes apart. Each added a .pth file, a script Python runs at startup. That file launched a credential stealer on every interpreter start. Both versions have since been quarantined, and 1.26.0 is the last clean release.
“We have made some repositories private while we investigate malicious content,” a Microsoft spokesperson told The Register. The spokesperson added: “Our priority is to protect customers and the broader ecosystem.” The Register reports what appears to be unauthorized access to a Microsoft GitHub administrator account. SecurityWeek reports that the publishing method remains unknown.
BleepingComputer first reported the compromise on November 18 and had no Microsoft response at the time. The Hacker News says this is the second Microsoft-related PyPI compromise this year, after the durabletask package in May.
“We have made some repositories private while we investigate malicious content.”
“Besides reading credentials already on disk, the code asks the platform to issue new ones.”
Sponsor
Spot an error? Email corrections@aicodingnews.si. Fixes are logged on the corrections page.
Sponsor
Sponsor
Agent Framework 1.26.1 and 1.26.2 · credential stealer · now quarantined
Attackers used the open-source tool Cairn
A synthetic internet for prompt-injection tests
Reuters cites internal posts; Meta has not responded
Sponsor
Sponsor