Bitdefender: 22 malicious GitHub links use AGENTS.md, CLAUDE.md and session-start hooks to make coding agents run a stealer that then rewrites other agents' configs
- Before opening an unfamiliar repo with an agent: read AGENTS.md, CLAUDE.md, .claude/, .cursor/, .gemini/, .mcp.json and .vscode/tasks.json, and any script they reference.
- Red flags: instructions that forbid inspecting a file, suppress output or skip confirmation.
- If a setup script ran: rotate GitHub/GitLab, cloud, CI and registry credentials, and diff your own agent config files and MCP entries for changes you didn't make.
Sources: Bitdefender Labs: How AI agents become new targets in GitHub malware campaign (Nov 17, 2026)