Study scanning GitHub finds hidden prompt injections targeting coding agents
Start here
Radware researchers Gabi Nakibly and Zvika Babo reported at the [un]prompted II conference that a scan of 86 million GitHub items found prompt injection attempts targeting AI coding agents, at a frequency of about 2.5 cases per 100,000 items. These instructions are often hidden in HTML comments in Markdown, invisible to human reviewers but read by agents processing the underlying text. The scan identified four categories of activity: coordinating agents on legitimate projects, restricting visiting bots, growth-hacking behavior influencing generated content, and others. A subsequent census of about 145 million GitHub entries found 2,281 real hidden instructions aimed at AI, of which 47 attacks targeted AI agents, and the detection tool ipi-scan was open-sourced; the scan covered all new issues and PRs from June 1 to September 30, 2026 (95.1 million items), 47.6 million entries in GH Archive, and others. Radware subsequently published an article asking "who is injecting prompts into coding agents," focusing the discussion on the coding agent use case.
Generated by AI from reports · Updated 21 days ago
Progress timeline
- RadwareRadware: Who is injecting prompts into coding agents?
Radware published a post asking "who is injecting prompts into coding agents," focusing the prompt injection discussion on the coding agent use case.
- CYBR.SEC.MediaWho is injecting prompts into coding agents? A scan of 86 million GitHub items
Radware researchers Gabi Nakibly and Zvika Babo reported at the [un]prompted II conference that a scan of 86 million GitHub items found prompt injection attempts targeting AI coding agents, at a frequency of about 2.5 per 100,000 items. These instructions are often hidden in HTML comments in Markdown, invisible to human reviewers but read by agents processing the underlying text. The scan identified four categories of activity: coordinating agents of legitimate projects, restricting visiting bots, growth hacking to influence generated content, and malicious attempts including stealing sensitive data; the research records attempts rather than confirmed attack success rates. An expanded dataset covered about 145 million items and reported 47 attack attempts, and the detector and taxonomy have been made public at github.com/rdwr-gabin/github-ipi-in-the-wild. The researchers recommend treating repository content as untrusted input, verifying permissions outside the content, limiting agent privileges and monitoring their behavior.
- rdwr-gabin/github-ipi-in-the-wildSelectedReal-world prompt injection on GitHub
Radware researchers Gabi Nakibly and Zvika Babo conducted a census of hidden prompt text across roughly 145 million items on GitHub, finding 2,281 real hidden instructions aimed at AI, 47 attacks targeting AI agents, and open-sourced the detection tool ipi-scan. The scan covered all new issues and PRs from June 1 to September 30, 2026 (95.1 million), 47.6 million items from GH Archive, and the READMEs of the top 2 million starred repositories (106 of which contained such hidden text). Findings fall into four categories: first-party orchestration where projects leave instructions for their own agents, 1,519; content override, 374; defensive, 345; attacks, 43; the discovery rate per million new issues and PRs rose from 7.0 in June to 15.4 in September.