← Lab /Software

Static verification layer rejects unsafe LLM agent plans before any tool runs

CaMeLoT can statically verify LLM-generated plans against CTL policies and block unsafe executions while preserving CaMeL's coverage

Software arXiv 16 Sep 2026 Defense Prototype evidence

Published as “CaMeLoT: CaMeL orchestrated with Temporal logic for static verification and liveness”

Why it matters

Static CTL verification can prevent unsafe tool usage early, reducing attack surface and resource waste in LLM-driven agents.

Summary

CaMeLoT statically verifies CTL-specified security properties of LLM-generated plans, catching all seven crafted SOC policy violations that a baseline CaMeL runtime checker misses, and reproducing 22 of 28 CaMeL policies without execution. It blocks unsafe plans before any tool calls, saving token and resource usage, and its plan-repair loop can iteratively fix violations. However, only static, plan-visible properties can be checked, leaving six CaMeL policies that depend on runtime state uncovered.

What they found 3

  1. CaMeLoT catches all seven unsafe SOC plans while the simplified CaMeL baseline catches only one.

    “CaMeLoT catches all seven unsafe plans, while the simplified CaMeL baseline catches only the taint-style violation represented by S7.”

  2. Static verification reproduces 22 of 28 CaMeL policies.

    “When mirroring the CaMeL policies defined for the AgentDojo benchmark suites, CaMeLoT achieves static coverage of 22 out of 28 CaMeL policies.”

  3. The two techniques disagree on only 16 of 75 successful tests, mainly due to CaMeL’s runtime-only checks.

    “The two techniques mostly agree on pass and block decisions, only disagreeing on 16 out of 75 successful tests.”

Caveats 3

  • Only a subset of CaMeL’s policies can be expressed as CTL; six policies depend on runtime state and remain uncovered by CaMeLoT.
  • Only a subset of the properties used in CaMeL’s evaluation can be expressed as CTL properties.
  • The abstraction may produce false positives and block some safe plans, but it preserves potential policy violations across loop executions.

What’s new here 3

  • Adds a static verification layer that translates plans into finite-state models and checks CTL properties before execution.
  • Enables expression and enforcement of liveness and ordering requirements that CaMeL’s per-call policies cannot capture.
  • Provides automatic counterexample generation and plan-repair prompting to guide the LLM toward a safe plan.