← back to map

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
Share
Estimated containment0%

AI Watch's own estimate, revised as new reporting appears until the incident is closed.

TypePrompt injection / supply chain
CategoryRogue AI
Severityhigh
StatusUnknown
ImpactUnknown
AffectedUnknown
SectorSoftware development
Attack methodMalicious AGENTS.md/CLAUDE.md instructions and session-start hooks in GitHub repositories
Threat actorUnknown
Est. containment0%
Est. people impactedUnknown
First stepUnknown
Date2026-11-17
LocationBucharest, Romania (reported by Bitdefender Labs; global campaign)
SourceHow AI Agents Become New Targets in GitHub Malware Campaign
Added2026-11-27 23:06 UTC
Last updated2026-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

  1. 2026-11-27 23:06 UTC · 0% contained

    Incident added to AI Watch via verified API.

News & sources