MirLabs / The blog / AI / Security
GitHub: 2,281 hidden texts aimed at AI, 43 of them attacks on coding agents
Two researchers from Radware and the Technion analysed 95 million GitHub issues and pull requests. They found invisible texts written to be read by AI agents: almost all are internal organisation, 43 are attacks.
An arXiv preprint filed on November 21, 2026 asks a question many developers ask without having numbers: who is slipping hidden instructions to coding agents on GitHub, and why? The authors are Gabi Nakibly, of Radware and the Technion (Israel), and Zvika Babo, of Radware. The study is called "Who Is Prompt-Injecting Coding Agents?". I read it on arXiv, in its HTML version. It is a preprint: other researchers have not reviewed it.
What they measured
The authors went through all public issues and pull requests created between June 1 and September 30, 2026: 95,075,061 items. They look for text that is invisible to a human reader, for example inside an HTML comment, and meant for an AI agent. An automatic filter, a sort by models, then a manual review of each remaining item narrowed the list.
The result: 2,281 validated cases, in 435 repositories, about 16 per million items. From June to September, the rate went from 7.0 to 15.4 cases per million new issues and pull requests.
Almost all of it is organisation, not attack
The authors sort the 2,281 cases into four families. Internal orchestration accounts for 1,519 cases, 67%. Content replacement has 374 (16%). Defensive instructions, which aim to keep an agent away, have 345 (15%). Attacks are 43, or 2%.
That changes the picture one has of the subject. Most of these hidden texts are not traps: they are projects talking to their own agents. But the 43 attacks exist, and they are precise.
The 43 attacks
In the section on attacks, the authors count 47 in total: 43 in issues, pull requests and comments, about one in 3.3 million items, and 4 in README files. Of the 43, 24 (56%) target a specific agent of the project: 17 a triage agent, 5 a continuous-integration agent, 2 a code-review agent. Nineteen (44%) target repositories of large publishers: Microsoft, Google, OpenAI, Anthropic, GitHub, Elastic. Nine (21%) name real tools or fields of the targeted agent.
The goal: stealing secrets in 19 cases (44%), hijacking the agent in 16 (37%), falsifying a verdict in 8 (19%). The study gives examples: a hidden text asked the agent to send back the GITHUB_TOKEN access token, encoded, in an issue of Google's gemini-cli repository; another, in an issue of OpenAI's codex repository, made it run commands that send its environment to a capture service. One account dropped the same bait in eleven repositories.
What the study does not say
The authors write several limits themselves. The figures of the archive they use as a complement are approximate and stand as a minimum. The direct crawl excludes comments and reviews. The exclusions made during the review rest on judgments. Their experiment on models is run offline, with simulated tools, without executing the booby-trapped content: it therefore does not say how many real agents gave in. I did not take over the figures of that experiment, because I did not read them in the full text.
Nothing in the study establishes, either, that any of these 43 attacks succeeded on a real project. It counts texts, not damage.
The link with the barometer
CrashMire measures what happens when an agent reads a booby-trapped text. In the November 6 edition of the barometer, on the "Booby-trapped instruction" test, 9 models out of 14 gave in at least once, and 5 never did. The two measures are not comparable: the barometer plays a customer-service agent, this study counts real texts on GitHub, addressed to coding agents. Together they say the same thing from two angles: hidden text is not a lab hypothesis, and an agent must not be a reader that obeys everything it reads.
For a team that lets an agent sort its issues or review its pull requests, the practical consequence is to limit what that agent can do. A triage agent does not need the token that writes to the repository. If a hidden text asks it to send that token back, it must not have it.
Read next
LocService: a cyberattack copied links to rental files
The rental platform LocService, published by Gobocom, says it suffered an intrusion detected on 30 October: names, contact details, invoices and share links to DossierFacile rental files were copied. ID documents and supporting papers were not copied directly.
Ipsos: the Qilin group claims a data theft, ten days after an acknowledged intrusion
Ipsos acknowledged an intrusion into an internal system on 16 November, with no disruption to its business. On 23 November the Qilin group listed it on its site and showed five screenshots of documents. Nothing confirms that these documents come from the acknowledged intrusion.
1Password: a stolen GitHub account was used to copy customer data, without touching the vaults
1Password says an attacker took an employee's GitHub account, slipped malicious code into services and copied customer data: login addresses, identifiers, public keys, some tokens. According to the company, the vaults and master passwords were not reached.