Miasma worm poisoned Microsoft repos to hijack AI coding agents
A self-replicating worm spread through more than 70 Microsoft and Azure GitHub repositories, planting config files that make Claude Code, Gemini CLI, Cursor and VS Code run a credential stealer when a developer opens the repo. GitHub disabled 73 repositories within minutes.
- Disclosed
- 5 Jun 2026
- Organization
- Microsoft
- Vendor
- Multiple models
- Product
- Claude Code, Gemini CLI, Cursor
- Type of AI
- Coding assistant
- How it happened
- Manipulated AI: Agent hijack
- Harm
- Data exposed
- Data involved
- Credentials
- Reach
- Many organizations
- Severity
- High
- Model at fault
- No
- Status
- Confirmed