rogue-ai · high · 2026-11-17
Malicious GitHub repos instruct AI coding agents to run hidden credential-stealing malware that spreads through agent configs
Bucharest, Romania (reported by Bitdefender Labs; global campaign)
- GitHub · mentioned
Estimated containment0%
AI Watch's own estimate, revised as new reporting appears until the incident is closed.
| Type | Prompt injection / supply chain |
|---|---|
| Category | Rogue AI |
| Severity | high |
| Status | Unknown |
| Impact | Unknown |
| Affected | Unknown |
| Sector | Software development |
| Attack method | Malicious AGENTS.md/CLAUDE.md instructions and session-start hooks in GitHub repositories |
| Threat actor | Unknown |
| Est. containment | 0% |
| Est. people impacted | Unknown |
| First step | Unknown |
| Date | 2026-11-17 |
| Location | Bucharest, Romania (reported by Bitdefender Labs; global campaign) |
| Source | How AI Agents Become New Targets in GitHub Malware Campaign |
| Added | 2026-11-27 23:06 UTC |
| Last updated | 2026-11-27 23:06 UTC |
Bitdefender Labs found 22 malicious GitHub links whose agent instruction files (AGENTS.md, CLAUDE.md) and session-start hooks persuade AI coding assistants to silently run a concealed setup.js payload. The malware steals developer, cloud, CI/CD, registry, browser and password-manager credentials, then plants malicious instructions, hooks and MCP configs in other AI agents and uses stolen GitHub/GitLab tokens to spread.
How to protect yourself
- Don't trust unfamiliar repositories in AI coding tools
- Review AGENTS.md/CLAUDE.md, hooks, MCP and editor task files before trusting a folder
- Rotate credentials if a suspicious setup.js ran
Update history
2026-11-27 23:06 UTC · 0% contained
Incident added to AI Watch via verified API.
News & sources
- How AI Agents Become New Targets in GitHub Malware Campaignpublished 2026-11-17 · added 2026-11-27 23:06 UTC
