SWE-RedAgent: Adaptive Red-Teaming of Coding Agents via Utility-Preserving Vulnerability Injection
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:47 UTC · 9bf3b30f6828 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "Hw4XpEKH4C"- }- ],- "title": "SWE-RedAgent: Adaptive Red-Teaming of Coding Agents via Utility-Preserving Vulnerability Injection",- "authors": [],- "abstract": "Large language model (LLM)-based coding agents are increasingly used to autonomously modify software repositories, execute tests, and iteratively refine patches. However, these capabilities also create new security risks when agents interact with adversarial users.\nWe introduce SWE-RedAgent, an adaptive red-teaming framework for evaluating whether coding agents can be induced to introduce exploitable vulnerabilities while preserving the intended utility of repository-level software engineering tasks. We argue that utility preservation is an important aspect of the threat model, since patches that break existing functions or fail to implement the requested feature are likely to be rejected before the vulnerability ever reaches deployment. SWE-RedAgent reasons over the repository and task request to identify task-relevant vulnerability opportunities, then adaptively steers the coding agent toward vulnerable and yet functionally plausible implementations over multi-turn interactions. We evaluate SWE-RedAgent on web-application development tasks across multiple coding-agent harnesses and backend models, and compare it with existing red-teaming baselines. SWE-RedAgent introduces 93 verified vulnerabilities over 70 tasks while preserving 97.33% base functionality, outperforming all baselines. Our results show that functionally correct patches from coding agents can remain highly susceptible to subtle and task-aligned adversarial manipulations.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "8bd75fa1-6a4c-4e14-bfb9-34ebf1645ee1"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "SWE-RedAgent: Adaptive Red-Teaming of Coding Agents via Utility-Preserving Vulnerability Injection",+ "authors": [],+ "abstract": "Large language model (LLM)-based coding agents are increasingly used to autonomously modify software repositories, execute tests, and iteratively refine patches. However, these capabilities also create new security risks when agents interact with adversarial users.\nWe introduce SWE-RedAgent, an adaptive red-teaming framework for evaluating whether coding agents can be induced to introduce exploitable vulnerabilities while preserving the intended utility of repository-level software engineering tasks. We argue that utility preservation is an important aspect of the threat model, since patches that break existing functions or fail to implement the requested feature are likely to be rejected before the vulnerability ever reaches deployment. SWE-RedAgent reasons over the repository and task request to identify task-relevant vulnerability opportunities, then adaptively steers the coding agent toward vulnerable and yet functionally plausible implementations over multi-turn interactions. We evaluate SWE-RedAgent on web-application development tasks across multiple coding-agent harnesses and backend models, and compare it with existing red-teaming baselines. SWE-RedAgent introduces 93 verified vulnerabilities over 70 tasks while preserving 97.33% base functionality, outperforming all baselines. Our results show that functionally correct patches from coding agents can remain highly susceptible to subtle and task-aligned adversarial manipulations.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}