EXPLORINEER
en

UK — The Register

Microsoft's official Python agent framework hijacked to distribute malware

Security1 min read

Hackers took over a Microsoft package for building AI agents on PyPI, the main Python package site. The poisoned version installs software that steals passwords and login keys from developers.

What happened

Microsoft's official agent-framework package for Python was hijacked. Versions 1.26.1 and 1.26.2 were found to carry info-stealing malware. Security firms think an attacker got into an admin account on Microsoft's GitHub organization. Version 1.26.1 was reverted to a safe version, but the attacker then uploaded 1.26.2 using Microsoft's official PyPI publisher account.

Key facts

  • The package gets nearly 200,000 downloads a month.
  • Affected versions are 1.26.1 and 1.26.2.
  • The safe version is 1.26.0.
  • The malware sends stolen data to a webhook.site address built into the code.
  • The GitHub repo for agent-framework was offline when the article was written.

How the attack works

The bad package still installs the real version 1.26.0, so it looks normal. In the background, it collects secrets such as cloud login keys and credential files. It then requests new identity tokens from GitHub Actions, Azure DevOps, and Azure, and sends everything to an outside server. The malware does not need to be imported. It runs as soon as Python starts with the package installed. It also does not stay on the computer, and it only runs while the bad version is in the site-packages folder.

Why it matters

Anyone who installed either bad version should check their account security right away. The attack is especially risky in cloud build systems, where even short-lived tokens can be used quickly once stolen. The attack also shows how a single compromised admin account can put trusted software at risk.

What to watch

  • Whether Microsoft confirms the cause and how the admin account was breached.
  • Whether the ONNX Runtime repo going offline is linked to the attack.
  • Whether Microsoft locks down its PyPI publisher credentials.
  • Whether developers who used the bad versions find stolen secrets being misused.

Glossary

PyPI
The main public website where Python developers download and share software packages.
GitHub
A website where developers store, share, and work on code together.

Same story, different eyes

Ad

Add 150 words. Learn 10 a day.

Dicter word books send only the words you learn to your review notes.

SecurityArs Technica

How to tell a cyberattack from a plain old outage

A cluster of tech outages in the US over four business days, including Microsoft Exchange, FAA, JPMorgan Chase, United Airlines, and NSA networks, fueled speculation of cyberattacks. However, there is no evidence linking these failures or showing hackers caused them. Cybersecurity analysts say most digital breakdowns stem from the complexity of IT systems rather than malicious intent, as Cloudflare CEO Matthew Prince notes.

Securityheise online

BSI Raises Threat Assessment to "Tense to Critical"

Germany's Federal Office for Information Security (BSI) has rated the IT threat situation "tense to critical" for the first time since 2023, and the outlook as "critical." Vulnerabilities are now disclosed at a rate of about 160 per day, 35 percent more than in the previous reporting period, and the time between disclosure and first exploitation fell to about 8 days in Q2 2026. The BSI plans a new "Cyberindex" to measure threat changes.

SecurityThe Register

Cyberattack on service provider exposes payee data at 40 Irish credit unions

An attack on software provider Wellington IT exposed saved payee details, including names, IBANs, and sort codes, held by around 40 Irish credit unions. Minister Robert Troy criticized the company's delay in notifying the affected institutions, saying the breach occurred in October and most were only informed in recent days. Credit unions said login credentials and passwords were unaffected and the exposed data does not grant access to member accounts or funds.

SecurityThe Register

TfL takes Oyster photocard website offline after attackers compromise customer accounts

Transport for London (TfL) has taken its Oyster photocard website offline after attackers compromised customer accounts, potentially affecting around 265,000 customers. TfL says no passwords, bank or payment card details, or journey information were compromised, and it has notified the ICO and contacted those potentially affected. Customers will be asked to change their passwords and security questions, and existing photocards still work at ticket barriers while the site is down.