Physix Frontier · News Briefing Card (IT Home · Nov 19, 2026)

Microsoft Agent Framework PyPI Package Hijacked, Malicious Versions Pulled Fast

KEY FACTS

  • The PyPI package for Microsoft's Agent Framework was hijacked by attackers who planted credential-stealing malicious code.
  • The malicious version 1.26.1 was published on November 17 and quarantined by PyPI 31 minutes later.
  • A follow-up version 1.26.2 was removed 8 minutes after it was published.
  • The malicious code executes automatically when Python starts, without needing to import the package.
  • The package was used to steal login credentials for services including Azure, AWS, GitHub, and OpenAI.

KEY DATA

31 minutesLifetime of malicious version 1.26.1
8 minutesLifetime of malicious version 1.26.2
nearly 200,000Agent Framework monthly downloads

PHYSIX OBSERVATION

The hijacking of an official package shows that supply chain attacks have set their sights on the AI development toolchain, and what attackers are after is the cloud and model platform tokens in developers' hands. Although both malicious versions were removed quickly, the auto-execution mechanism means that merely installing the package may be enough to get compromised. Developers should pin dependency versions and rotate credentials.

Source: IT Home report