IssueTrojanBench: Benchmarking AI Coding Agents Against Malicious Issue Requests

Ankur Singh, Jinqiu Yang, Tse-Hsun Chen
7/22/2026
cs.CRcs.AIcs.SE

No official code found. Best implementation: software-artifacts/IssueTrojanBench (0 stars, last commit 2026-03-27).

Abstract

AI coding agents powered by LLMs are increasingly integrated into real-world software development, where they generate, edit, and execute code with autonomous access to local files and tools. Coding agents inherit security risks from both the LLM backbone, where adversarial prompts, poisoned training data, and backdoor triggers can cause models to emit insecure or attacker-chosen code, and their agentic architecture, where tool-using autonomy enables induced misuse of external APIs, data exfiltration, and persistent compromise of development environments. This paper presents a systematic evaluation of malicious issue requests against state-of-the-art coding agents (Cursor, Claude Code, and Codex Desktop), powered by two major model families (OpenAI GPT-5.3 Codex/GPT-5.4 and Anthropic Sonnet 4.6). Our novel benchmark IssueTrojanBench contains malicious issues that are constructed based on four novel attack categories (i.e., embedded as malicious instructions in issues), six delivery vectors (e.g., PDF, or issue comment), and further augmented by perturbations. Our results reveal critical vulnerabilities in the as-deployed modern coding agents, i.e., 66.5% of the malicious issues from IssueTrojanBench penetrate all the guardrails (agent- and LLM-level) of coding agents. Our further analysis shows that rejection is almost entirely from LLMs rather than the agent frameworks, with GPT models broadly vulnerable and Sonnet 4.6 exhibiting more selective, risk-aware blocking of high-impact actions. Our evaluation also highlights that the current agent-level defense strategy offers limited additional protection for coding agents. Our findings highlight the urgent need for stronger agent- and model-level safety mechanisms to protect AI coding agents.

View on arXivView PDF

Code Implementations(1)

Replication package for "IssueTrojanBench: Benchmarking AI Coding Agents Against Malicious Issue Requests" — a security evaluation benchmark for measuring susceptibility of LLM-based coding agents to indirect prompt injection attacks across 4 attack categories, 6 delivery vectors, and 5 perturbation types.

00Mar 26, 20266 months ago

Similar Papers

Cite this paper

@article{singh2026issuetrojanbench,
  title  = {IssueTrojanBench: Benchmarking AI Coding Agents Against Malicious Issue Requests},
  author = {Ankur Singh and Jinqiu Yang and Tse-Hsun Chen},
  year   = {2026},
  eprint = {2607.20759},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.20759v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.20759.svg)](https://codeofpaper.com/paper/2607.20759)

Discussion