RC RANDOM CHAOS

Microsoft Agent Framework Package Hijacked to Steal Cloud Credentials

· via The Hacker News

Original source

Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials

The Hacker News →

Threat actors compromised Microsoft’s agent-framework package on PyPI, releasing malicious versions 1.26.1 and 1.26.2 on November 17, 2026, within 33 minutes of each other. Both versions were quarantined following discovery by eight security companies. The malware uses Python startup hooks—.pth files that execute whenever Python launches—to steal credentials and tokens. It harvests environment variables and credential files from Azure CLI, npm, pip, Git, Docker, Hugging Face, Azure DevOps agents, and .env and JSON files. Critically, it also requests new OIDC and access tokens directly from Azure DevOps pipelines, Azure managed identity endpoints, and (in v1.26.2) GitHub Actions, allowing attackers to obtain credentials even after rotation. Collected data is exfiltrated via HTTPS POST to a webhook.site endpoint as compressed, Base64-encoded JSON.

The package averages 190,000 downloads monthly; the malicious versions were available from 8:35 to 9:20 p.m. UTC on November 17 before quarantine. This is the second Microsoft PyPI package compromised this year—attackers also targeted durabletask in May with the Mini Shai-Hulud worm. The advisory recommends isolating affected systems, pinning to version 1.26.0, searching logs for the exfiltration endpoint, rotating all exposed credentials from clean systems, and auditing Azure and GitHub Actions activity.

Read the full article

Continue reading at The Hacker News →

This is an AI-generated summary. Read the original for the full story.