Hidden text on GitHub aimed at AI agents surges, with some attacks intended to steal credentials
GitHubでAI向け隠しテキスト急増 認証情報窃取狙う攻撃も
Israeli security company Radware and a Technion team published research on arXiv on the 21st, analyzing approximately 145 million pieces of content on GitHub and detecting 2,281 hidden instructions aimed at AI agents, of which 43 were indirect prompt injection attacks, 44% targeted credential theft, and 44% targeted repositories of companies such as Microsoft, Google, and OpenAI. Of the 5 tested models, 4 did not comply with the malicious instructions; OpenAI's small high-speed model GPT-5.6 Luna fully or partially complied with 8 of the 43 (18.6%). From June to September this year, the detection frequency of hidden instructions in newly added GitHub Issues and Pull Requests rose from 7 per million to 15.4 per million, and upon re-checking on the 10th of this month, 34 of the 43 malicious instructions were still present. The research team recommends giving agents that process external content minimal privileges and isolating them from sensitive information.