MATRA quantifies risk reduction from sandboxing in agentic AI deployments
MATRA can systematically assess and quantify how architectural controls lower the risk of LLM attacks in a specific agentic system
AI/ML arXiv 11 May 2026 Method Prototype evidence
Published as “MATRA: Modeling the Attack Surface of Agentic AI Systems -- OpenClaw Case Study”
Why it matters
Practitioners should deploy layered architectural defenses-sandboxing, allow-listing, output sanitisation, and least-privilege roles-rather than rely solely on input-level guardrails to reduce prompt-injection risk in agentic AI systems.
Summary
MATRA shows that layered architectural controls, not just sandboxing, are needed to mitigate prompt-injection risk in agentic AI systems; a Docker-sandboxed OpenClaw deployment still yields a Very High risk (9) for customer PII exfiltration. The framework quantifies risk by linking CIA-based impact scenarios to attack-tree vectors and demonstrates that adding allow-listing and output sanitisation can lower risk to Moderate (3). The evidence is based on a single-agent, multi-tool personal assistant case study, and the authors acknowledge that the risk scores rely on expert judgment and coarse likelihood scales.
What they found 2
- Docker sandboxing alone does not reduce the Very High risk of PII exfiltration in the OpenClaw case study.
“Without sandboxing, the scenario reaches Very High risk (9). Docker sandboxing with network=none blocks exec-based exfiltration (curl) but does not reduce the overall exfiltration objective: the message tool runs on the gateway host outside the container, so email-based exfiltration remains viable, and the agent’s Telegram response can embed queried data in a markdown image URL that the client autofetches (zero-click). The scenario therefore remains at Very High (9) even with sandboxing.”
- Applying a read-only database role eliminates the action execution objective and lowers risk from High (6) to Moderate (3).
“The IS8 analysis (Appendix C.8) demonstrates this clearly: a read-only database role eliminates the action execution objective entirely, reducing risk from High (6) to Moderate (3).”
Caveats 5
- Docker sandboxing, while blocking exec-based exfiltration, fails to lower the overall risk for the scenario, which remains Very High (9).
- Attack tree completeness is bounded by an analyst’s knowledge and the threat catalogs consulted.
- MATRA currently relies on expert judgment for likelihood assignment; we bound this subjectivity through deliberately coarse scales and auditable per-node ratings, but integrating empirical data from red-teaming benchmarks or operational logs could improve calibration.
- The min-max composition heuristic may underestimate risk when multiple moderate paths interact; the full attack surface perspective partially addresses this, but formal composition under uncertainty is a future direction.
- Finally, our assessment does not address privacy-specific threat modeling (e.g., LINDDUN[33]), which is an important complementary dimension for systems processing personal data.
What’s new here 4
- Provides an impact-driven, architecture-specific threat modeling process for agentic LLM deployments.
- Combines attack-tree construction with CIA-based impact assessment to produce semi-quantitative risk scores.
- Evaluates concrete architectural controls (sandboxing, allow-listing, least-privilege) on a real agentic system rather than abstract benchmarks.
- Accounts for both adversarial and non-adversarial hazards arising from autonomous tool execution.