An AI coding agent treated a GitHub comment like an instruction.
Researchers demonstrated that attacker-controlled pull-request titles, comments and other GitHub text could influence coding agents performing normal repository work. In susceptible workflows, the agents used their own permissions to retrieve secrets and publish them back through GitHub. The content was supposed to be task data, not a trusted instruction.
Check the agent’s authority before a protected action.
Runtime Action Authorization can deny out-of-scope operations when an integrated runtime enforces the decision directly before the tool call. It does not, on its own, prevent prompt injection or protect unguarded secret-reading paths. Secret isolation, least privilege and output controls remain necessary.
Source context and limitations
This was demonstrated in research; it is not presented here as a specific real-world breach. Researchers demonstrated that attacker-controlled pull-request titles, comments and other GitHub text could influence coding agents performing normal repository work. In susceptible workflows, the agents used their own permissions to retrieve secrets and publish them back through GitHub. The content was supposed to be task data, not a trusted instruction.
