Microsoft’s PyPI package agent-framework was compromised on November 17, 2026, in versions 1.26.1 and 1.26.2. Both releases add Python .pth startup hooks that run automatically when Python starts, launching hidden credential-collection code in a background process or thread. Version 1.26.2 relocates the payload, so checking only the package’s usual initializer will not reveal it, and expands its focus on GitHub Actions. The collected data is compressed and sent over HTTPS to a shared webhook.site endpoint; the reported payloads do not fetch or run additional code.
The malware searches environment variables and other processes for secrets, reads configuration and credential files, and requests fresh cloud identity tokens. Targets include Azure and Azure DevOps credentials, Azure managed-identity tokens, GitHub Actions OIDC tokens, and secrets for AWS, GitHub, OpenAI, Hugging Face, and other services. It also checks files used by pip, npm, Git, Docker, and related tools. Anyone who installed either affected version should remove it and rotate potentially exposed credentials, particularly cloud and CI/CD tokens. The compromised wheel hashes, startup-hook filenames, payload names, and exfiltration address are provided as indicators for identifying affected systems.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.