Study finds hidden text for AI agents in 2,281 GitHub items
Attacks are rare, about one in 3.3 million items, but hidden commands that projects use for their own agents grew fivefold in four months.
Researchers studied about 145 million GitHub issues, pull requests, comments and README files. They looked for text that GitHub does not show to a person but that an AI agent reads in full. They found 2,281 validated items in issues, pull requests and comments. They also found such text in the READMEs of 107 repositories.
Four uses
The researchers found four uses of hidden text:
- attacks on the agents of other parties
- text that limits agents
- text that steers what agents write
- first party orchestration, where a project controls its own agents with hidden markers
The numbers
Orchestration is two thirds of the results. Attacks point at the agents that triage, examine and test the code of maintainers. In an offline replay, attacks worked on one small, fast model in 19% of tests. They worked on no model when HTML comments were removed.
What is not known
The replay was offline and not live. The authors say that orchestration is a control channel that anyone who can comment can imitate. They release their detection tool and all results.
Insight: Hidden text is both a work tool and an attack path
On 23 November 2026, other researchers hijacked 4714 GitHub workflows that operate AI agents. This study finds that attacks are rare. Projects use the same hidden channel for their own commands. This reads as a wide weakness that attackers use little at this time, and a rule that stops all hidden text stops usual work. Look for platforms that remove HTML comments.
Sources
Posted