On 17 November attackers published two malicious versions, 1.26.1 and 1.26.2, of Microsoft's official agent-framework Python package, which has about 200,000 monthly downloads. The code ran automatically when Python started, even if the package was not used, and collected secrets from environment variables, configuration files and other processes for Azure, AWS, GitHub, Docker and other services. PyPI quarantined both versions, but the second appeared minutes after the first, so the attacker still had access. Anyone who installed them should rebuild from 1.26.0 and rotate every credential.
What it means: Software supply chain attacks now specifically target tools for AI agents, because the environments they run in usually hold many API keys and cloud access. Microsoft's official name did not protect users, which shows that trust in the publisher is not enough. The technique of files that run at every Python start means even a package that was merely installed, without being used, was enough. For development teams the measures are well known but often skipped: pinning versions with lock files and hashes, waiting a few days before adopting new releases, separate and limited credentials for each environment, and short-lived tokens in CI systems. If a developer installed the affected versions on a machine with access to customer data, the incident may count as a personal data breach with a duty to notify. Contracts with clients also often require notice of security incidents, so the legal side is worth reviewing early, alongside the technical clean-up and the rotation of every key that was within reach of the affected environment.
Read the original on BleepingComputer
Related service: Custom software
Related stories
- Remus infostealer uses a fake Google Sheets extension in Chrome to read Gmail
- PolinRider poisons GitHub repositories with a Python loader that reads commands from Ethereum
- Peninsula Energy halts Wyoming uranium operation after attack on control systems
- Thirteen malicious NuGet packages target .NET developers through fake hiring tests
- Kaspersky finds preinstalled Keenadu malware on more than 220,000 Android devices