Guarantees and research
What the architecture guarantees, its documented limits, the paper and proofs, and the threat landscape.
Guarantees and limits
What the architecture guarantees, and the limits documented in the published research, side by side.
Guaranteed
Under the complete mediation axioms (A1–A6) and reference monitor integrity:
- Under complete mediation axioms (A1–A6), no tool call outside authorized capability scopes can be dispatched to backend infrastructure.
- Any blocked or uncertain tool invocation produces strictly zero bytes transmitted across the tool transport wire.
- Learned semantic models (Mastyf Guard) can revoke or escalate authority, but can never synthesize or grant permission (Afinal ⊆ Astruct).
- Unconfirmed tool execution (ExecutionCertainty = UNKNOWN) cannot silently advance dependent workflow state (Theorem 3).
Not guaranteed
Constraints documented in the published research:
- Mastyf does not make an autoregressive Transformer intrinsically safe; it prevents compromised model outputs from executing privileged actions.
- Semantic neural auditing is distribution-bounded (empirical FNR of 21.5% on in-scope manipulations prior to boundary sharpening) and subject to adversarial evasion without deterministic invariants.
- Decentralized Information Flow Control (DIFC) tracks explicit data flow channels; it does not eliminate covert timing or semantic side-channels.
- Protection guarantees apply exclusively to tool execution paths routed through the Mastyf reference monitor.
Execution states
How Mastyf tracks a tool call so an unconfirmed execution can never silently advance a workflow.
| State | Meaning |
|---|---|
NOT_SENTWire isolation | ExecutionBytes(a) = 0. The call was rejected by CBAC, DIFC, or the Guard auditor before any socket or pipe write happened. |
SENT_CHILD_NO_RESPONSEDispatched, unconfirmed | ExecutionBytes(a) > 0, but no verified response has arrived. ExecutionCertainty(a) = UNKNOWN, so dependent steps stay locked. |
RESPONSE_RECEIVEDVerified | The response is verified and an execution receipt is generated. Only now can dependent workflow steps be authorized. |
Paper and proofs
The abstract, the invariants and theorems with their proofs, the six-regime results, and a BibTeX entry. To read the paper itself, open the research page.
Capability-Mediated Perimeters for Secure AI Agent Tool Execution
Conditional Non-Escalation Invariants and Empirical Evaluation Against Indirect Prompt Injection
Autonomous artificial intelligence agents executing over extensible tool interfaces (such as Anthropic’s Model Context Protocol) operate with ambient authority over connected tools. Because autoregressive Transformers ingest instructions and untrusted third-party data within a single homogeneous context window, adversarial observations can manipulate the model into executing unintended privileged actions — the classic Confused Deputy problem.
We introduce an architectural perimeter that enforces complete mediation, least privilege, four relational argument invariants (destination containment, scope boundedness, privilege monotonicity, and monetary clamping), and execution-certainty semantics. We prove that external capability mediation isolates systems even when the model is completely compromised by indirect injection, formalizing the core invariant:
Evaluated across 6 distinct regimes totaling 6,662 instances (including UIUC InjecAgent, AgentDojo, and AI Safety Bench), the paper reports 99.52% defense on interactive episodes, 98.43% defense on InjecAgent at 267.7 ms CPU latency, and no false alarms on its 1,000-case benign set. These are the paper's results in its own setup.
Threat landscape
A live, uncurated feed of public reporting on prompt injection, tool poisoning, and agent breaches. Each of these happened because an agent executed a tool call nobody checked.
- Feed status
- Active dispatch
- Live coverage
- Streaming