Explicit contracts prevent harmful effects in composable LLM agents
CONTINUITY guarantees that no harmful external effect occurs despite attacks on LLM agent components
AI/ML arXiv 4 Sep 2026 Method Prototype evidence
Published as “CONTINUITY: Security-Context Contracts for Composable LLM Agent Controls”
Why it matters
Continuity shows that composable, contract-driven controls can provide strong end-to-end security guarantees for LLM agents, but only under the assumed trusted-computing-base and deterministic fault model.
Summary
Continuity prevents every harmful effect in a deterministic benchmark of 2,560 attack instances, covering all 128 modeled fault-domain classes, while still completing all benign tasks and correctly escalating ambiguous ones. The strongest incomplete configuration (Gateway+Finality) still allows a harmful effect in 65.6% of attacks, showing the importance of the full contract suite. Median verification time is 4.21 ms and full end-to-end processing costs 7.17 ms per request. The results are deterministic conformance under an explicit trusted-computing-base model and do not claim real-world attack probability.
What they found 3
- The full Continuity system commits no harmful effect in the entire attack suite.
“Continuity commits no harmful effect in 2,560 attack instances and contains every one of the 128 fault-domain classes.”
- An incomplete configuration (Gateway+Finality) still allows attacks in roughly two-thirds of cases.
“The strongest incomplete configuration, Gateway+Finality, still has 65.6% effect ASR.”
- Proof verification and full processing incur sub-10 ms latency on the test host.
“Median proof verification is 4.21 ms and median end-to-end transition production, verification, permit issuance, and finality is 7.17 ms on the recorded host.”
Caveats 1
- These are deterministic conformance results under an explicit trusted-computing-base model, not an estimate of real-world attack probability or a claim to solve semantic correctness.
What’s new here 4
- Defines the security-context discontinuity class for LLM agent pipelines.
- Introduces an assume-guarantee contract model that ties root grants, provenance, typed releases, transformation witnesses, and finality permits together.
- Implements a reference system (Continuity) that enforces end-to-end consequence integrity across multiple independent controls.
- Evaluates a deterministic conformance suite covering 32 fault classes across four domains, demonstrating full coverage only when all contracts are present.