mlsanityData to 14 Oct 2026

When Passing Tests Hides Vulnerabilities: An Empirical Study of Silent Failures in Agentic Systems

arXiv 2609.10548 ↗First posted 25 Jun 2026cs.SE cs.CRcited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

LLM-based agents for automated code repair have received significant attention in recent years from both research and software engineering practice perspectives. However, limited attention has been paid to patches that pass syntactic and functional verification but still retain or introduce security vulnerabilities. The aim of this research is to systematically identify and categorize such silent failures in LLM-based agentic code repair. We conducted an empirical study using 1,030 valid execution traces produced by seven agent frameworks with GPT-4o-mini across two security-focused datasets, SecurityEval and CVEfixes. Through three iterations of qualitative coding and manual verification, 170 confirmed silent failures were identified. The key results are: (i) Three main categories of silent failures were identified: Omission, Introduction, and Inadequacy. Omission accounts for 48.2% of the confirmed failures, Introduction for 30.6%, and Inadequacy for 21.2%. (ii) Ten fine-grained failure codes were classified under these three categories, showing how agents omit required security controls, apply incomplete defenses, or introduce new vulnerabilities during repair. (iii) Current test-passing evaluation and LLM-based reviewer roles were insufficient to expose or intercept these failures in the confirmed cases. (iv) Similar insecure solutions appeared across different frameworks, suggesting possible shared model-, prompt-, or task-level influences, while single-agent and multi-agent systems showed different failure profiles. The results of this study will assist researchers and practitioners in improving the evaluation of LLM-based agentic code repair and developing targeted verification methods that go beyond functional correctness and cover all generated artifacts.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 32 of its 52 references that are in the map. First posted on arXiv 25 Jun 2026.

Builds on

32 of 52 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Beyond Single-Agent Safety: A Taxonomy of Risks in LLM-to-LLM Interactions2 Dec
  2. 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilities30 Sep
  3. 2025Risk Analysis Techniques for Governed LLM-based Multi-Agent Systems6 Aug
  4. 2025Let the Trial Begin: A Mock-Court Approach to Vulnerability Detection using LLM-Based Agents16 May

Other references · 28

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
  4. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  7. 2023ChatDev: Communicative Agents for Software Developmentcited by 919
  8. 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
  9. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  10. 2022Do Users Write More Insecure Code with AI Assistants?cited by 192
  11. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systemscited by 185
  12. 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 168
16 more
  1. 2025Multi-Agent Risks from Advanced AIcited by 163
  2. 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 116
  3. 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
  4. 2024On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty Agentscited by 99
  5. 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 91
  6. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
  7. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 59
  8. 2023How Effective Are Neural Networks for Fixing Security Vulnerabilitiescited by 52
  9. 2024A Survey of Useful LLM Evaluationcited by 29
  10. 2024BattleAgentBench: A Benchmark for Evaluating Cooperation and Competition Capabilities of Language Models in Multi-Agent Systemscited by 26
  11. 2024Multi-Agent Large Language Models for Conversational Task-Solvingcited by 24
  12. 2024Challenges in Human-Agent Communicationcited by 12
  13. 2025VulnRepairEval: An Exploit-Based Evaluation Framework for Assessing Large Language Model Vulnerability Repair Capabilitiescited by 12
  14. 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
  15. 2025Vulnerability Detection: From Formal Verification to Large Language Models and Hybrid Approaches: A Comprehensive Overviewcited by 7
  16. 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysiscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024AutoSafeCoder: A Multi-Agent Framework for Securing LLM Code Generation through Static Analysis and Fuzz Testing
  2. 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants
  3. 2026Code-Augur: Agentic Vulnerability Detection via Specification Inference
  4. 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-bench
  5. 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback
  6. 2026Evaluating Agentic Code Repair Capabilities in Distributed Systems
  7. 2026To Run or Not to Run: Analyzing the Cost-Effectiveness of Code Execution in LLM-Based Program Repair
  8. 2026SINGED: Correct Outputs Do Not Certify Safe Execution in LLM Agents