Law 34 · Safety & Security

Quarantine Untrusted Tokens

Let the privileged planner orchestrate, but never let it read the poison.

The principle

The Dual-LLM pattern splits the agent in two. A privileged model holds the tools and plans actions but never sees untrusted content. A quarantined model processes the tainted data but has no tools and returns only opaque variables. The privileged model directs the quarantined one without ever ingesting the bytes that could carry an injection. The separation is what makes it safe.

The mechanism, the warning signs, a worked example, and the apply-it recipe for this law are in the complete edition.

Unlock all 50 laws — $9.99

Related laws

Unlock all 50 laws — $9.99 Back to all 50 laws