MAS-Guard: Unified Guardrails from Individual Agents to Multi-Agent LLM Systems
Organizations: Oracle AI
Abstract
Agentic AI extends large language models (LLMs) from generating responses to planning and executing complex workflows, substantially expanding their utility while exposing applications to unsafe actions, information leakage, and adversarial manipulation. Multi-agent systems further expand these capabilities through specialization and collaboration, but distributed authority, heterogeneous roles, and opaque or potentially compromised participants make safeguarding even more challenging. Existing defenses address important individual threats but provide fragmented coverage across local execution, system-level interactions, and enforcement mechanisms. We introduce MAS-Guard, a unified framework that closes this gap for safeguarding single- and multi-agent AI applications containing both instrumentable and opaque agents. Within instrumentable agents, the proposed local Agent Guardrail (A-Guard) layer applies task-specific experts to assess agentic events. At the system level, developer-owned Agent Charters and a Control Plane combine deterministic structural checks of routes, agent capabilities, and message formats with semantic assessments of roles and message content. These complementary layers enable enforcement through a shared set of interventions: allow, reflection, confirmation, and block. Evaluated across six benchmarks covering diverse single- and multi-agent scenarios with three agent LLMs from different providers, MAS-Guard reduces the overall attack success rate by 71.5-86.3% relative to unguarded agents, while meeting the utility reference criterion on benign tasks.
Figures & tables
| Policy Component | Specification Summary |
|---|---|
| Agent registry | Runtime agent identities, Charter bindings, and optional local A-Guard attachments. |
| Route policy | Directed always_allow and always_block entries, with an unlisted-route fallback. |
| I/O format policy | accepted_types in the input and output contracts. |
| I/O type policy | prohibited_content_types , such as credentials or PII. |
| I/O topic policy | unconstrained , allowlist , denylist , or allow_and_deny , with accepted/prohibited topic descriptions. |
| Capability scope | Disjoint in_scope and out_of_scope feature lists. |
| Benchmark | Samples (Adv./Ben.) | Coverage | ASR | Utility |
|---|---|---|---|---|
| ACIArena An et al. ( 2026 ) | 1,000 / 99 | Multi-agent. Code and mathematics tasks across 34 configurations of AgentVerse, AutoGen, LLM Debate, MetaGPT, and self-consistency systems. Covers benign operation, instruction hijacking, task disruption, and information disclosure. | Mean attack-success score assigned by the original benchmark’s attack verifier on adversarial cases. | Mean task score assigned by the original benchmark’s task verifier on benign cases. |
| TAMAS Kavathekar et al. ( 2026 ) | 355 / 355 | Multi-agent. Education, finance, healthcare, legal, and news tasks across AutoGen and CrewAI. Covers Byzantine behavior, collusion, direct and indirect prompt injection, impersonation, and benign controls. | Rate at which the attacker achieves its objective, as determined by target-tool execution or the benchmark’s judge. | Mean fraction of required benign tools successfully invoked. |
| AgentLeak El Yagoubi et al. ( 2026 ) | 666 / 334 | Multi-agent. Healthcare, finance, legal, and corporate workflows under benign and two adversarial threat levels. Evaluated with LangChain and CrewAI across output, inter-agent, and tool-call channels. | Rate of adversarial cases with sensitive information leaked in any of the four monitored channels. | Rate of successful benign-task completion. |
| OmniLeak Naik et al. ( 2026 ) | 1,000 / 500 | Multi-agent. Our re-implementation of synthetic orchestrator–SQL–notification workflows covering four prompt-injection categories, notification hijacking, and five benign or authorized control cohorts. | Mean exposure severity, from 0 for no exposure to 1 for complete exfiltration. | Rate of successful benign or explicitly authorized task completion. |
| OverThink Kumar et al. ( 2025 ) | 2,324 / 332 | Single-agent. FreshQA retrieval-augmented question answering, each paired with one clean context and seven adversarial reasoning-decoy variants. | Rate of attacks resulting the usage of at least and 256 more reasoning tokens than the paired clean case. | Accuracy on clean, unattacked questions. |
| ASB Zhang et al. ( 2025 ) | 1,270 / 230 | Single-agent. Ten application scenarios covering direct and observation injection, memory poisoning, mixed attacks, Plan-of-Thought backdoors, and clean controls. | Rate at which the designated malicious tool executes successfully. | Mean fraction of required benign tools executed successfully. |
| Benchmark ASR (%) | |||||||
| Method | ACIArena [-2pt]( An et al. ) | AgentLeak [-2pt]( El Yagoubi et al. ) | ASB [-2pt]( Zhang et al. ) | OmniLeak [-2pt]( Naik et al. ) | OverThink [-2pt]( Kumar et al. ) | TAMAS [-2pt]( Kavathekar et al. ) | Overall |
| No-Guardrail -2pt | 24.0 [-2pt] | 23.1 [-2pt] | 44.6 [-2pt] | 0.1 [-2pt] | 34.5 [-2pt] | 7.6 [-2pt] | 27.1 [-2pt] |
| MAS-Guard [-2pt](This Work) | 11.0 [-2pt] | 5.0 [-2pt] | 13.2 [-2pt] | 0.0 [-2pt] | 0.0 [-2pt] | 2.5 [-2pt] | 4.8 [-2pt] |
| LlamaFirewall [-2pt]( Chennabasappa et al. ) | 22.7 [-2pt] | 21.6 [-2pt] | 19.6 [-2pt] | 0.1 [-2pt] | 35.4 [-2pt] | 5.1 [-2pt] | 22.1 [-2pt] |
| ToolSafe [-2pt] ( Mou et al., 2026 ) | 22.2 [-2pt] | 13.4 [-2pt] | 4.3 † [-2pt] | 0.0 † [-2pt] | 14.0 † [-2pt] | 2.5 [-2pt] | 10.6 † [-2pt] |
| Delimiter [-2pt] ( Hines et al., 2024 ) | 22.1 [-2pt] | 23.3 [-2pt] | 15.2 † [-2pt] | 0.1 † [-2pt] | 0.7 [-2pt] | 2.0 † [-2pt] | 9.0 † [-2pt] |
| Components | ASR (%) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| A-Guard | Deterministic | Semantic | ACIArena [-2pt]( An et al. ) | AgentLeak [-2pt]( El Yagoubi et al. ) | ASB [-2pt]( Zhang et al. ) | OmniLeak [-2pt]( Naik et al. ) | OverThink [-2pt]( Kumar et al. ) | TAMAS [-2pt]( Kavathekar et al. ) | Overall |
| ✗ | ✗ | ✗ | 24.0 [-2pt] | 23.1 [-2pt] | 44.6 [-2pt] | 0.1 [-2pt] | 34.5 [-2pt] | 7.6 [-2pt] | 27.1 [-2pt] |
| ✓ | ✓ | ✓ | 11.0 [-2pt] | 5.0 [-2pt] | 13.2 [-2pt] | 0.0 [-2pt] | 0.0 [-2pt] | 2.5 [-2pt] | 4.8 [-2pt] |
| ✓ | ✗ | ✗ | 23.8 [-2pt] | 10.2 [-2pt] | 15.0 [-2pt] | 0.0 [-2pt] | 0.0 [-2pt] | 5.9 [-2pt] | 7.8 [-2pt] |
| ✗ | ✓ | ✓ | 11.1 [-2pt] | 5.0 [-2pt] | 38.9 [-2pt] | 0.2 [-2pt] | 34.8 [-2pt] | 2.5 [-2pt] | 22.0 [-2pt] |
| ✗ | ✓ | ✗ | 22.3 [-2pt] | 22.8 [-2pt] | 44.7 [-2pt] | 0.2 [-2pt] | 33.4 [-2pt] | 7.3 [-2pt] | 26.4 [-2pt] |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Field | Type | Meaning |
|---|---|---|
| charter_id | string | Unique identifier for the reusable Charter. |
| objective | title , description | Human-readable role and task objective used by semantic compliance checks. |
| input_contract | I/O contract | Accepted input formats, prohibited content-risk classes, and an input topic policy. |
| output_contract | I/O contract | Accepted output formats, prohibited content-risk classes, and an output topic policy. |
| features | in_scope , out_of_scope lists | Permitted and prohibited boundary-observable capabilities; the two lists must not overlap. |
| Closed vocabularies | ||
| Field | Type or values | Meaning |
|---|---|---|
| id | string | Unique identifier for the Control Plane policy. |
| mode | shadow or enforce | Shadow mode records the decision that would be taken; enforcement mode applies it to the event. |
| event_processing_ timeout_seconds | positive number or null | Optional deadline for evaluating one event. |
| enforcement. missing_charter_action | isolate or pass | Handling of an event whose required runtime identity cannot be resolved to a registered Charter. |
| agent_registry.agents | list of registry entries | Each entry gives an agent_id , its charter_id , and an optional aguard_orchestrator_config for local A-Guard attachment. |
| route_policy | route tables and fallback | always_allow and always_block entries contain from , to , and an optional reason; unlisted_route_action is block , reflect , or pass . |
| Benchmark ASR (%) | |||||||
| Method | ACIArena [-2pt]( An et al. ) | AgentLeak [-2pt]( El Yagoubi et al. ) | ASB [-2pt]( Zhang et al. ) | OmniLeak [-2pt]( Naik et al. ) | OverThink [-2pt]( Kumar et al. ) | TAMAS [-2pt]( Kavathekar et al. ) | Overall |
| No-Guardrail -2pt | 40.0 [-2pt] | 24.9 [-2pt] | 43.4 [-2pt] | 0.1 [-2pt] | 36.6 [-2pt] | 15.2 [-2pt] | 30.6 [-2pt] |
| MAS-Guard [-2pt](This Work) | 7.9 [-2pt] | 3.8 [-2pt] | 11.9 [-2pt] | 0.1 [-2pt] | 0.0 [-2pt] | 5.6 [-2pt] | 4.2 [-2pt] |
| LlamaFirewall [-2pt]( Chennabasappa et al. ) | 39.5 [-2pt] | 21.2 [-2pt] | 12.0 † [-2pt] | 0.1 [-2pt] | 37.0 [-2pt] | 10.7 [-2pt] | 24.0 [-2pt] |
| ToolSafe [-2pt] ( Mou et al., 2026 ) | 37.9 [-2pt] | 14.0 [-2pt] | 0.1 † [-2pt] | 1.9 † [-2pt] | 15.6 † [-2pt] | 7.9 [-2pt] | 13.3 † [-2pt] |
| Delimiter [-2pt] ( Hines et al., 2024 ) | 32.9 [-2pt] | 24.5 [-2pt] | 9.1 [-2pt] | 0.0 † [-2pt] | 3.0 [-2pt] | 3.9 † [-2pt] | 10.4 † [-2pt] |
| Benchmark ASR (%) | |||||||
| Method | ACIArena [-2pt]( An et al. ) | AgentLeak [-2pt]( El Yagoubi et al. ) | ASB [-2pt]( Zhang et al. ) | OmniLeak [-2pt]( Naik et al. ) | OverThink [-2pt]( Kumar et al. ) | TAMAS [-2pt]( Kavathekar et al. ) | Overall |
| No-Guardrail -2pt | 58.1 [-2pt] | 42.8 [-2pt] | 70.8 [-2pt] | 16.3 [-2pt] | 0.0 [-2pt] | 33.2 [-2pt] | 30.9 [-2pt] |
| MAS-Guard [-2pt](This Work) | 26.6 [-2pt] | 17.0 [-2pt] | 13.8 [-2pt] | 0.1 [-2pt] | 0.0 [-2pt] | 8.5 [-2pt] | 8.8 [-2pt] |
| LlamaFirewall [-2pt]( Chennabasappa et al. ) | 58.1 [-2pt] | 39.8 [-2pt] | 12.9 † [-2pt] | 4.3 [-2pt] | 0.0 [-2pt] | 21.7 [-2pt] | 17.1 [-2pt] |
| ToolSafe [-2pt] ( Mou et al., 2026 ) | 56.2 [-2pt] | 29.4 [-2pt] | 1.0 † [-2pt] | 0.1 † [-2pt] | 0.0 † [-2pt] | 14.6 [-2pt] | 12.5 † [-2pt] |
| Delimiter [-2pt] ( Hines et al., 2024 ) | 59.4 [-2pt] | 42.6 [-2pt] | 57.4 † [-2pt] | 6.0 [-2pt] | 0.0 [-2pt] | 17.8 † [-2pt] | 26.2 † [-2pt] |
| Benchmark Utility (%) | |||||||
| Method | ACIArena | AgentLeak | ASB | OmniLeak | OverThink | TAMAS | Overall |
| No-Guardrail | 80.8 [-2pt] | 22.2 [-2pt] | 47.6 [-2pt] | 65.2 [-2pt] | 81.3 [-2pt] | 18.7 [-2pt] | 50.0 [-2pt] |
| MAS-Guard | 81.8 [-2pt] | 22.2 [-2pt] | 43.5 [-2pt] | 61.6 [-2pt] | 80.7 [-2pt] | 18.3 [-2pt] | 48.4 [-2pt] |
| LlamaFirewall | 79.8 [-2pt] | 20.7 [-2pt] | 43.7 [-2pt] | 62.0 [-2pt] | 82.2 [-2pt] | 18.7 [-2pt] | 48.5 [-2pt] |
| ToolSafe | 81.8 [-2pt] | 20.4 [-2pt] | 40.0 [-2pt] | 40.4 [-2pt] | 71.1 [-2pt] | 19.5 [-2pt] | 40.5 [-2pt] |
| Delimiter | 82.8 [-2pt] | 18.9 [-2pt] | 39.4 [-2pt] | 56.4 [-2pt] | 82.5 [-2pt] | 11.8 [-2pt] | 45.1 [-2pt] |
| Benchmark Utility (%) | |||||||
| Method | ACIArena | AgentLeak | ASB | OmniLeak | OverThink | TAMAS | Overall |
| No-Guardrail | 57.6 [-2pt] | 18.0 [-2pt] | 42.0 [-2pt] | 77.6 [-2pt] | 74.7 [-2pt] | 25.0 [-2pt] | 50.7 [-2pt] |
| MAS-Guard | 58.6 [-2pt] | 17.1 [-2pt] | 42.0 [-2pt] | 78.2 [-2pt] | 73.5 [-2pt] | 23.3 [-2pt] | 50.2 [-2pt] |
| LlamaFirewall | 57.6 [-2pt] | 18.3 [-2pt] | 38.3 [-2pt] | 77.0 [-2pt] | 73.8 [-2pt] | 23.4 [-2pt] | 49.7 [-2pt] |
| ToolSafe | 59.6 [-2pt] | 18.3 [-2pt] | 35.6 [-2pt] | 50.6 [-2pt] | 65.1 [-2pt] | 24.6 [-2pt] | 41.0 [-2pt] |
| Delimiter | 58.6 [-2pt] | 17.4 [-2pt] | 48.7 [-2pt] | 39.0 [-2pt] | 72.3 [-2pt] | 15.0 [-2pt] | 38.7 [-2pt] |
| Benchmark Utility (%) | |||||||
| Method | ACIArena | AgentLeak | ASB | OmniLeak | OverThink | TAMAS | Overall |
| No-Guardrail | 70.7 [-2pt] | 25.1 [-2pt] | 65.9 [-2pt] | 87.4 [-2pt] | 73.2 [-2pt] | 30.1 [-2pt] | 59.0 [-2pt] |
| MAS-Guard | 71.7 [-2pt] | 22.8 [-2pt] | 65.2 [-2pt] | 88.8 [-2pt] | 73.5 [-2pt] | 26.8 [-2pt] | 58.4 [-2pt] |
| LlamaFirewall | 65.7 [-2pt] | 25.4 [-2pt] | 58.0 [-2pt] | 85.8 [-2pt] | 69.6 [-2pt] | 32.8 [-2pt] | 57.3 [-2pt] |
| ToolSafe | 66.7 [-2pt] | 23.9 [-2pt] | 49.1 [-2pt] | 49.4 [-2pt] | 61.5 [-2pt] | 32.5 [-2pt] | 44.6 [-2pt] |
| Delimiter | 68.7 [-2pt] | 23.7 [-2pt] | 58.5 [-2pt] | 86.2 [-2pt] | 74.1 [-2pt] | 20.7 [-2pt] | 55.8 [-2pt] |
| Method | C1: disclosure | C2: unsafe tool | C3: notification | C4: retrieval |
|---|---|---|---|---|
| ASR / Decision | ASR / Decision | Utility / Decision | Utility / Decision | |
| No-Guardrail | 1 / P | 1 / P | 1 / P | 1 / P |
| MAS-Guard | 0 / B | 0 / B | 1 / P | 1 / P |
| Sandwich | 0 / R | 0 / R | 1 / R | 1 / R |
| Delimiter | 1 / R | 0 / R | 1 / R | 1 / R |
| ACI-Sentinel | 1 / R | 1 / P | 1 / R | 1 / R |
| Agent | Tokens (M) | GPU-h | Cost ($k) | |
|---|---|---|---|---|
| Input | Output | |||
| GPT-5.6-Terra | 1,212 | 125 | 277 | 4.1 |
| Muse-Glimmer-30B | 1,253 | 150 | 1,050 | 4.6 |
| Grok-4.3 | 1,220 | 110 | 950 | 5.3 |
| Total | 3,685 | 384 | 2,277 | 14.0 |
AI Agent Security
Artificial intelligence agent security studies attacks and safeguards for tool-using, persistent, and collaborative systems across digital and physical settings.
See all 504 papers