Credential stealer slipped into Microsoft's official Python agent framework - Help Net Security

On November 17, 2026, malicious versions 1.26.1 and 1.26.2 of Microsoft's official agent-framework package were published to PyPI, stealing cloud and CI/CD credentials. The package, which has 192,534 monthly downloads, used a .pth startup hook to execute automatically upon Python startup without requiring framework imports. The payload collected environment variables, credential files, and actively requested fresh Azure and GitHub Actions tokens before exfiltrating the data to a webhook endpoint. PyPI quarantined both releases, though the attacker demonstrated continued publishing access by uploading version 1.26.2 after the first was flagged. Security researchers advise affected teams to isolate hosts, pin the package to version 1.26.0, and revoke all potentially exposed credentials and tokens.