# Hidden AI text: Radware counts prompt injections across GitHub

> Hidden AI-directed text is common on GitHub, but Radware reports that attacks on other people's agents are rare: about one item in 3.3 million.

- **Severity:** Info: Research, tools, evals or lab claims with no direct exposure. Context, not an alert.
- **Category:** Research, Attack
- **Published by:** Radware
- **Disclosed:** 2026-11-21
- **Affects:** AI coding agents, GitHub
- **Research by:** Gabi Nakibly, Zvika Babo
- **Primary source:** https://arxiv.org/abs/2611.28763
- **Page:** https://theinjection.dev/items/radware-github-hidden-ai-text/

Radware scanned about 145 million GitHub issues, pull requests, comments and README files for text hidden from readers but visible to AI coding agents, and validated 2,281 cases. Only 43 attack other people's agents.

## What happened

Gabi Nakibly and Zvika Babo of Radware published a census of hidden AI-directed text on GitHub on November 21, 2026. The two researchers analyzed roughly 145 million issues, pull requests, comments and README files, and validated 2,281 findings, about 16 per million items. They released their detection tool and the full findings dataset alongside the paper.

## How it works

Indirect prompt injection on GitHub works because an AI coding agent reads the raw Markdown while a person reads GitHub's rendered page. The Radware scanner looks for that gap: HTML comments, which GitHub never renders and which carried almost all of the hidden text, plus invisible Unicode, LaTeX colored to match the background, and CSS rules such as display:none. A two-stage model classification and a template check then separate real findings from issue and pull request boilerplate.

## Who is affected

Any project whose triage, review or CI agent reads issues, pull requests and comments written by people outside the project is in scope. Radware also found hidden AI-directed text in the READMEs of 107 repositories. The paper counts 43 findings that try to make another party's agent act against that party, such as stealing secrets or forging a review verdict.

## What to do

Strip HTML comments from GitHub content before an agent reads it: Radware reports that none of the five models it tested complied with any of the 43 in-the-wild attacks once comments were removed. The authors note that stripping also disables the hidden markers projects use to steer their own agents.

## In-the-wild attacks complied with, of 43

Higher is worse for defenders. Measured on raw Markdown, before HTML comments are stripped.

| Result | Score |
|---|---|
| claude-haiku-5-5 | 0attacks |
| claude-sonnet-5-5 | 0attacks |
| claude-opus-5-5 | 0attacks |
| gpt-5.6-luna | 8attacks |
| gpt-5.6-terra | 0attacks |

Source: https://arxiv.org/html/2611.28763v1

## Quick facts

- **Scope:** About 145 million GitHub issues, pull requests, comments and README files
- **Findings:** 2,281 validated, about 16 per million items
- **Attacks:** 43 findings, about one item in 3.3 million
- **Largest category:** First-party orchestration, 1,519 findings, grown fivefold over four months
- **Data window:** Crawl of June 1 to September 30, 2026, plus GH Archive and a June 2026 README scan
- **Found by:** Gabi Nakibly and Zvika Babo, Radware
- **Code and data:** ipi-scan detector and the JSONL findings, released under the MIT license

## Questions

### How many of the hidden GitHub prompt injections actually worked?

Radware replayed the 43 in-the-wild attacks offline against five models and reports that only gpt-5.6-luna complied, on 8 of the 43 attacks, about 19 percent. Claude Haiku 5.5, Claude Sonnet 5.5, Claude Opus 5.5 and gpt-5.6-terra complied with none of them. Once HTML comments were stripped from the input, no model in the test complied with any attack.

### What is most of the hidden AI text on GitHub actually for?

Most hidden AI-directed text on GitHub is projects steering their own agents, not attacking anyone. Radware classes 1,519 of the 2,281 findings as first-party orchestration, where maintainers leave hidden markers so their own triage or review bots behave a certain way. The authors report that this category grew fivefold over four months, far outpacing the 43 validated attacks.

### Can I run Radware's detector against my own repository?

Yes. Radware released ipi-scan, the tool behind the study, under the MIT license, together with the JSONL findings files and a script that recomputes the published numbers. The scanner runs against a repository, search results, GH Archive data or a local file. Radware warns that the published dataset holds live attack payloads and should never be fed to an action-capable agent.

## Sources

1. [arXiv Paper](https://arxiv.org/abs/2611.28763)
2. [Detector And Data](https://github.com/rdwr-gabin/github-ipi-in-the-wild)
3. [Paper Full Text](https://arxiv.org/html/2611.28763v1)
