mlsanityData to 24 Nov 2026

Invariant-Aware Harness Enforcement to Protect LLM Agents from Silent API Failures

arXiv 2611.20595 ↗Submitted 16 Nov 2026cs.CLcited by 0

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

Abstract (arXiv)

LLM agents answer questions by calling APIs and trusting the results. An API can fail silently. It ignores part of a request, such as a misnamed filter, yet returns HTTP 200 and a plausible but wrong result. Current fixes, such as checklists, reviewer models and LLM judges, ask the model to catch it. But models often see the problem and answer anyway. We present SilentGuard, which moves the decision from the model to the harness running tool calls. It tests each result against invariants that any correct API must satisfy and withholds values that break one. We find silent failures in 11 of 15 public research APIs, with counts inflated up to 691 times. Current fixes leave over 70% of answers wrong, and agents report 77.4% of counts a judge flags. Across 7 open models, SilentGuard cuts wrong answers on its target faults from 74.0% to 1.7%, with no loss on fault-free tasks. On three frontier models they fall from 70.2% to 0.5%. A warning from the same check leaves 70.1% wrong, so enforcement is the key. On new fault types, the harness alone cuts wrong answers from 61.1% to 24.5%. It avoids wrong answers by abstaining rather than recovering.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 32 of its 53 references that are in the map. Submitted 16 Nov 2026.

Builds on

32 of 53 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026Reason Less, Verify More: Deterministic Gates Recover a Silent Policy-Violation Failure Mode in Tool-Using LLM Agents8 Jul
  2. 2026Trust No Tool: Evaluating and Defending LLM Agents under Untrusted Tool Feedback17 May
  3. 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents24 Mar

Other references · 29

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  3. 2025Gemma 3 Technical Reportcited by 2,058
  4. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,713
  5. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
  6. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
  7. 2017Selective Classification for Deep Neural Networkscited by 1,025
  8. 2024Phi-4 Technical Reportcited by 795
  9. 2025Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAscited by 613
  10. 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 410
  11. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 397
  12. 2020Selective Question Answering under Domain Shiftcited by 268
17 more
  1. 2025AbstentionBench: Reasoning LLMs Fail on Unanswerable Questionscited by 178
  2. 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 85
  3. 2026ReliabilityBench: Evaluating LLM Agent Reliability Under Production-Like Stress Conditionscited by 51
  4. 2026From Confident Closing to Silent Failure: Characterizing False Success in LLM Agentscited by 35
  5. 2024Tools Fail: Detecting Silent Errors in Faulty Toolscited by 33
  6. 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Conditioncited by 32
  7. 2026When Tools Fail: Benchmarking Dynamic Replanning and Anomaly Recovery in LLM Agentscited by 27
  8. 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMscited by 21
  9. 2026Beyond Function Calling: Benchmarking Tool-Using Agents under Tool-Environment Unreliabilitycited by 13
  10. 2026Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failurescited by 12
  11. 2026When the Tool Decides: LLM Agents Defer Blindly to Graph Neural Network Tools, and Stronger Backbones Defer Morecited by 7
  12. 2026ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agentscited by 7
  13. 2026AgentTether: Graph-Guided Diagnosis and Runtime Intervention for Reliable LLM Agent Operationcited by 6
  14. 2026How Do Agent Harnesses Create Value? Planning Information and Release Control in Stateful LLM Agentscited by 5
  15. 2026SilentProbe: Measuring Silent Failure in Production APIs Used as Agent Toolscited by 4
  16. 2026Fabrication After Tool Failure: Tool-Augmented Agents Assert Values Their Tools Did Not Returncited by 2
  17. 2026Multi-Agent LLM-based Metamorphic Testing for REST APIscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Silence Is Endorsement: Verification-Status Laundering in LLM Agent Pipelines
  2. 2026ContractBench: Can LLM Agents Preserve Observation Contracts?
  3. 2026Rewriting the Response Path: Silent Tampering and Provider-Signed Defense in BYOK LLM Agents
  4. 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement
  5. 2026Capability Gates Are Not Authorization: Confused-Deputy Failures in LLM Agent Frameworks
  6. 2026When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM Agents
  7. 2026Complex Agents, Shallow Tests: Demystifying and Enhancing Test Adequacy of Agent Harness in the Wild
  8. 2026SilentCall: Hidden Tool-Call Backdoors in Open-Weight Agents, and How to Catch Them