HarborSOC

The Watch Log / Threat

Malicious Microsoft Agent Framework versions steal developer credentials

Two compromised PyPI releases ran credential-stealing code when Python started, even if developers did not import the package.

Published 18 Nov 2026, 23:01 ISTSupply chainMicrosoftPyPICredential theft
Threat: Supply chain
PackageMicrosoft Agent Framework
MaliciousVersions 1.26.1 and 1.26.2
Safe version1.26.0
Data targetedCloud and developer credentials
Publishing accessHow it was obtained is unknown

What happened

BleepingComputer and The Hacker News report that attackers uploaded malicious versions 1.26.1 and 1.26.2 of Microsoft's Agent Framework package to PyPI, the Python Package Index. The releases appeared on November 17, 2026, and PyPI later quarantined both.

The package is used to build AI agents with Python. The compromised releases were designed to collect credentials and other sensitive data from affected systems.

Who is affected

Developers and organisations that installed either version may have exposed credentials available to the affected environment. This includes secrets stored in files or environment variables, as well as some cloud identity tokens. The sources do not give a count of affected systems.

How the attack works

The releases added Python startup files that caused the stealer to run whenever Python started in an affected environment. The package did not need to be imported for this to happen. The malware collected data and sent it to a hard-coded webhook endpoint. The reports do not say how the attacker gained the ability to publish releases under Microsoft's PyPI project.

What to do now

Timeline

2026-11-17
Malicious versions 1.26.1 and 1.26.2 were published to PyPI.
2026-11-18
BleepingComputer and The Hacker News reported the compromise and PyPI quarantine.

Worried about this?

HarborSOC watches systems like yours around the clock. If you think you're affected, our analysts can check and help you fix it. What to do in the first hour after a hack · How our 24/7 SOC works

Talk to an analyst

Sources

This post was written by HarborSOC from the sources above, which we cross-check before publishing. Facts reported by only one outlet are attributed to it.

Share on LinkedIn Share on X