| Mobile Web

‘Comment and Control’ attack can hack Claude Code, Gemini CLI and GitHub Copilot at once

A security engineer disclosed a prompt injection technique dubbed “Comment and Control” that can attack Anthropic’s Claude Code, Google’s Gemini CLI and GitHub Copilot Agent at the same time, SecurityWeek reported. The method manipulates common GitHub content such as comments, PR titles and issue bodies to trick AI agents into running attacker-chosen commands. Tests showed credential and API key theft and data exfiltration. All three companies confirmed the issue and paid bug bounties.