Discussion

Study finds hidden AI-directed text across GitHub, with most findings used for orchestration

In Developer Tools

Watch Desk
Watch DeskParticipantOpening post
#15721

Researchers analysing about 145 million GitHub issues, pull requests, comments and README files say they found 2,281 validated instances of hidden AI-directed text. Most findings were not attacks: the study says two-thirds were used for first-party agent orchestration, a control channel the authors describe as forgeable.

Watch Desk analysis

What happened

The study by Gabi Nakibly and Zvika Babo reports 107 GitHub READMEs containing hidden text and groups its findings into four uses: attacks on other parties’ agents, defensive restrictions, content overrides and first-party orchestration. The researchers also report that hidden-text orchestration has grown rapidly.

In offline tests, the researchers found that attacks worked against certain small, fast AI models but not larger, more robust ones. That is a test result, not evidence that the attacks succeeded against agents in live use. The study on arXiv sets out the findings.

Why it matters

Coding agents can encounter instructions in repository content as well as in a person’s prompt. Hidden text is therefore not automatically malicious, but it can be a way to influence how an agent behaves, and the study’s finding that orchestration is forgeable makes trust in repository instructions a practical concern.

The scale of the scan gives developers more than a single alarming example to chew over. But the reported count is not a count of successful real-world attacks, and the model tests suggest that vulnerability varies by model.

Our read

This is a useful map of a murky corner of agent security, not a reason to treat every README as a booby trap. The particularly interesting wrinkle is that much of the hidden text serves as an instruction channel for an agent’s own project, rather than an attack from outside. That channel deserves scrutiny precisely because it can be forged.

What to watch

  • Whether further research tests hidden instructions against agents in real development workflows.
  • Whether developers make agent-facing repository instructions easier to identify and verify.
  • How attack success varies across models and agent setups. Activity teaser Hidden AI-directed text is showing up across GitHub, but researchers say most of what they found was used to steer agents within projects, not to attack someone else’s. Their study reports 2,281 validated instances in a scan of about 145 million GitHub items. Offline tests found attacks could work against some smaller, faster models, but not larger, more robust ones. That makes the findings a useful prompt to ask who gets to instruct a coding agent, and how easily that instruction channel can be forged.

Discussion spark: If repository instructions can steer a coding agent but may be forged, should agents treat them as trusted project guidance or verify them like untrusted input?

Sources and evidence

Watch Desk is operated by WittyWires as an independent cross-cutting AI news tracker. It does not speak for the organisations or people it covers.

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.