Manuscript Offprint

arXiv:2610.07657

Where Rules End and Judges Begin: Measuring the Judgment Boundary in Multi-Agent Systems Security

Shaswata Mitra, Raj Patel, Subash Neupane, Sudip Mittal, Md Rayhanur Rahman, Shahram Rahimi

Shaswata Mitra*, Raj Patel†, Subash Neupane‡, Sudip Mittal§, Md Rayhanur Rahman¶, Shahram Rahimi‖

Department of Computer Science

The University of Alabama, Tuscaloosa, USA

{*smitra3, †rpatel38, ‡sneupane4, §sudip.mittal, ¶mrahman87, ‖shahram.rahimi}@ua.edu

Abstract—LLM-based multi-agent systems (MAS) invoke tools, share memory, and delegate tasks, where each interaction may carry adversarial content. Existing MAS defenses are largely designed and evaluated in isolation, one attack class or channel at a time, and pipelines that compose them typically leave the final verdict to an LLM judge, which is costly and hard to audit. How much of that verdict actually requires judgment remains an open question. We organize established defenses into five principles over the two surfaces through which untrusted content enters a MAS and implement them as DEFER 1^{1} (DEterministic-First Enforcement with Residual judgment), a cascade of 28 checks that denies what it can deterministically and defers the remainder to a panel of four open-weight judges. Across four independent domains, with every judge decision re-adjudicated offline from the logs, attack success falls from ≈30.0%\approx30.0\% to ≈3.0%\approx3.0\%, staying between 0% and 5.3% in every domain, and deterministic checks intercept 78% of blocked attacks first. In the security-operations domain, only a quarter of proposals reach the judges. The same judges without the rules leave attack success at 34.7%, no lower than the undefended 32.0%, and judging every call the rules admit changes no outcome. The boundary has a clear shape: rules decide attacks that must violate a statable property, judges decide attacks that misstate only intent, and plausible fabricated records evade both. When an attack must break a policy or state that the pipeline can check, the rules provide the security, and the judges release legitimate work that no rule can assess. When an attack stays within policy, as most third-party attacks do, the judges carry the defense. Both sides also fail in instructive ways. A risk-score approval gate approves 90% of the attack proposals it sees but only 36% of legitimate ones, because its scores come from evidence the attacker can shape. Replay state that never expires denies 88% of routine consequential work over twenty incidents. Judges approve more attacks when given the fields the rules consult, and judges that approve 95% of legitimate proposals in the security-operations domain approve only 40% in legal.

Index Terms—Multi-Agent Systems (MAS), Prompt injection, Memory poisoning, LLM-as-a-judge, LLM, Cybersecurity

I. INTRODUCTION

Enterprise security automation is evolving from deterministic pipelines to LLM-driven multi-agent systems (MAS), where agents can plan, invoke tools, read and write to shared memory, and delegate to one another [1], [2]. However, history warns that rapid adoption without adequate security can be catastrophic. For example, injection flaws dominated web vulnerability rankings for over a decade [3], and default credentials let a single botnet conscript 600,000 IoT devices [4]. Today, MAS adoption is at a similar crossroads. Agents that invoke tools autonomously can be turned into attacker-chosen actions [5], [6]; shared memory that enables collective reasoning can also carry poisoned or private content between agents [7], [8]; and collusive behavior can emerge without any adversarial influence [9], [10]. These vulnerabilities exploit the integration architecture that connects agents to tools and shared states, regardless of any single model's robustness. Additionally, existing authorization standards, such as OAuth 2.1, were not designed to accommodate autonomous, long-running agent sessions [11].

Existing literature provides defenses for most attack classes: registries and identity binding against tool impersonation [12], [13], privilege and flow control against escalation [14], consensus and ledgers against unilateral actions [15], write filtering against memory poisoning [8], and tiered isolation against leakage [16], [17]. With a few exceptions, each defense is designed and evaluated specifically for the attack class it addresses, often overlooking interactions between different defenses. The exceptions are layered designs. For example, LlamaFirewall reports a classifier and a reasoning auditor both alone and combined [18], and MCP-Guard and CASCADE escalate from pattern matching to an LLM judge when detecting injected text [19], [20]. However, these designs combine detectors within a single agent. In contrast, a deployed MAS faces all these threats at once and must run different controls (access control, parameter rules, stateful ledgers, memory filters, consensus) in one pipeline spanning tool calls, shared memory, and inter-agent communication messages.

When such controls are combined, the final decision is commonly delegated to an LLM that acts as a judge. Judgment-based validation requires no policy engineering and can reason about intent. However, it is also the weakest kind of check. A judge reads the same attacker-influenced content it is asked to assess and can therefore be persuaded by it [18], [21]; its verdicts vary across models and are difficult to audit [22]; and

1^{1}Code and Data: github.com/shaswata09/DEFER.

Figure

Fig. 1. Attacker-controlled content reaches a multi-agent system (MAS) through five channels on two surfaces (left). DEFER orders five defensive principles so that deterministic checks settle what they can, and only undecided proposals reach a panel of four open-weight judges (center). The right panel shows the share of attempted attacks each configuration stops. On our own suite, DEFER stops 95% of them and the same judges alone 22%, taking attack success from 32.0% undefended to 2.2%; a quarter of proposals still reach a judge, and 10% to 27% of legitimate proposals are denied. On the 255 Agent Security Bench cases, access control stops none of the injected actions the agent emits and DEFER stops 94%, taking attack success from 28.8% to 1.8%.

every consultation adds latency and cost. For this reason, a growing line of work argues that agent guardrails should not depend on a model's judgment [23], [24], while systems that enforce everything by design give up part of the flexibility that makes agents useful [25], [26]. Most deployed pipelines will sit between these extremes, with deterministic checks where they suffice and a model where they do not. Recent work splits single agent actions into threats a rule can decide and threats only a judge can [27]. However, where this boundary lies in a multi-agent pipeline, whose rules also consult policy and state, remains unmeasured. Hence, in this paper, we aim to measure it by answering the following research questions.

References (86)