Observatory defense blueprint · ATO.M0002
Dual-LLM Control & Data Flow Isolation (CaMeL Capability Typing)
Isolate a privileged planner LLM from a quarantined reader LLM using typed capability metadata so untrusted data values can never redirect tool control flow.
Control blueprint overview
- Control ID
ATO.M0002- Framework
- Observatory defense blueprint
- Stack layers
- Tool/Sandbox Boundary · System-Prompt / Context
- Techniques addressed
- 0
- OWASP LLM Top 10
- NIST AI RMF
- Reference URI
https://observatory.silvauren.com/catalog/mitigations/ato-m0002/
Control mechanism
Applies programming-language information-flow control (IFC) and Google/ETH Zurich CaMeL design principles: a Privileged LLM generates an execution plan solely from verified user prompts and tool schemas without seeing raw untrusted text, while a Quarantined LLM (with zero tool-calling rights) parses untrusted external documents into strictly typed capability values gated by dataflow policies.
Implementation steps
- Split agent execution into a Privileged Planner (sees trusted user instructions + typed variable handles, never raw external documents) and a Quarantined Reader (zero tools).
- Attach cryptographic provenance and reader-set capability labels to every extracted variable returned by the Quarantined Reader.
- Evaluate deterministic dataflow policies before passing any tainted variable into sensitive sinks (external emails, HTTP requests, file writes).
- Require explicit human confirmation whenever a dataflow policy detects untrusted values influencing an external recipient or control branch.
What this control stops
- Architectural hijacking of tool control flow via indirect prompt injection in emails, web pages, and RAG documents (AML.T0051.001).
- Unauthorized parameter redirection (e.g., rewriting an email recipient or webhook URL from retrieved untrusted text).
- Multi-hop cross-document instruction propagation inside complex enterprise workspaces.
Known bypass conditions & residual risk
- Direct malicious intent from an already-authenticated trusted user prompt.
- Data-only manipulation where an untrusted source alters a numeric quote or factual summary inside an explicitly allowed output field.
- Policy gaps if developers grant blanket reader-to-sink exemptions for convenience.
Latency, usability & false-refusal trade-offs
Latency: +150-450 ms due to multi-stage planner + quarantined reader LLM calls on external-data workflows. | False-Refusal Risk: Low refusal rate, though complex interactive workflows requiring dynamic back-and-forth with untrusted content require extra policy rules. | Operational Cost: High architectural complexity compared to standard single-loop ReAct agent frameworks.