> status: mostly fine. patch anyway.practical AI security · est. 2026

Calm down. · Builders

Calm down: attackers are hiding prompts in GitHub issues, but it's rare, and one fix stopped every replay

By alkizz ·

Attackers really are planting hidden instructions for AI coding agents in GitHub issues and pull requests. They're just doing it very rarely. That's the finding of an arXiv study posted Nov 21 by Gabi Nakibly of Radware and the Technion and Zvika Babo of Radware. Radware is a security vendor that sells web application and DDoS protection. The paper doesn't pitch a product, and the authors released their detection tool and every finding on GitHub.

What they found

They scanned about 145 million issues, pull requests, comments and README files for text that GitHub doesn't show a human reader but an agent receives in full, mostly HTML comments. Across 142.7 million issues, pull requests and comments, they found 2,281 validated cases of hidden text aimed at AI, in 435 repositories. That's about 16 per million items, close to the roughly 13 per million pages an earlier study found on the open web. They also found hidden AI-directed text in the READMEs of 107 repositories.

Most of it isn't hostile. Two thirds of the findings are projects steering their own agents with hidden markers, and the rest is mostly defensive notices and instructions about what an agent should write. Attacks on someone else's agent made up 43 findings, about one in 3.3 million items, plus four in READMEs.

The part that isn't calm

The few attacks are aimed carefully. 44% of them target repositories of Microsoft, Google, OpenAI, Anthropic, GitHub or Elastic, the projects that adopted AI triage and review early. Of the 43, 44% try to steal the agent's secrets, such as its environment variables or its GitHub token, 37% try to hijack the agent for a side job, and 19% try to forge the agent's verdict, such as a triage label. 34 of the 43 were still in place when the authors checked again on Nov 10.

The authors also replayed the 43 attacks offline against five models acting as the targeted agent, with mock tools and one response each. Four of the five never carried out an injected instruction. The fifth, gpt-5.6-luna, which the paper calls "the smallest and fastest model we tested," complied with 8 of the 43 (19%). Seven of those eight targeted an issue triage agent. As the authors point out, small, fast models are the natural choice for an agent that runs on every new issue. Stripping HTML comments brought compliance down to zero, but it also removed the hidden instructions projects use for their own agents.

The other warning is about those friendly markers. Projects that coordinate their own agents through hidden comments grew fivefold in four months, and, in the paper's words, they form "a control channel that anyone who can comment can imitate."

So: real, rare, and concentrated on the agents that read outsiders' text. If you run one of those, the fixes are cheap.

What to do

Sources

← All briefs