Adversarial Report Code Insecurity
Large Language Model (LLM)-based Automated Program Repair (APR) systems—such as SWE-agent, OpenHands, and AutoCodeRover—are vulnerable to adversarial manipulation via crafted bug reports. These systems accept unvetted natural language issue descriptions as trusted input to synthesize code patches. An attacker can exploit this trust by submitting semantically plausible but malicious bug reports designed to mislead the APR agent. By leveraging the semantic gap between natural language…
Evaluated models: Prompt Guard, PromptGuard V2, Llama Guard 3+4 more
- Prompt Guard
- PromptGuard V2
- Llama Guard 3
- Llama Guard 4
- Granite Guardian
- GPT-4.1 Mini
- o4-mini