Cryptographic proof verifies guardrail execution but cannot stop malicious jailbreaks
Proof-of-guardrail provides verifiable integrity of guardrail execution while still allowing developers to deceive about safety
AI/ML arXiv 6 Mar 2026 Method Prototype evidence
Published as “Proof-of-Guardrail in AI Agents and What (Not) to Trust from It”
Why it matters
The system enables users to verify that a declared guardrail was actually run, which can increase trust in low-trust markets, but it does not replace the need to assess guardrail quality or overall agent safety.
Summary
Proof-of-guardrail lets AI agent developers produce a cryptographic attestation that a specific open-source guardrail ran before generating a response, and the attestation can be verified offline. In experiments on OpenClaw agents running in AWS Nitro Enclaves, the system adds a 34% average latency overhead and detects all simulated tampering attacks, but the guardrails themselves are imperfect (e.g., 0.59 precision on unsafe content) and can be jail-broken, so the proof does not guarantee safety.
What they found 4
- Latency overhead of proof-of-guardrail is about 34% on average compared to non-TEE deployment.
“Our experiments show that proof-of-guardrail with TEEs adds acceptable latency overhead (34% on average) compared to regular deployments without TEEs, demonstrating the feasibility of the system for real-world use cases despite higher costs.”
- All simulated attacks on guardrail code, attestation, or response are detected during verification.
“All attacks can be detected during attestation verification.”
- Running guardrail execution and response generation inside TEEs incurs a 25% to 38% overhead.
“Guardrail execution and response generation in TEEs incurs a 25% to 38% overhead, which stems from necessary encryptions and network proxies inside the TEE.”
- Guardrails have non-perfect accuracy; unsafe content detection precision is 0.59.
“As the guardrails can make errors, proof-of-guardrail should not be interpreted or advertised as proof-of-safety.”
Caveats 4
- Guardrails can make errors and be jailbroken, so a valid proof of execution does not ensure safe output.
- The guardrail accuracy metrics (e.g., 0.59 precision for unsafe content) show that even when executed correctly, guardrails may fail.
- The measured program f itself should not have vulnerabilities that allow the agent A, which is not measured by the TEE, to bypass the guardrail, e.g., by executing arbitrary commands inside the enclave.
- To reduce the residual risks above, verifiers should require proofs for best-practice open-source guardrail (and the wrapper program f).
What’s new here 4
- Uses a Trusted Execution Environment to bind a response to execution of an open-source guardrail without revealing the proprietary agent code.
- Provides a user-verifiable, offline attestation that the exact guardrail code was executed.
- Detects tampering of guardrail code, attestation data, or the response via attestation verification.
- Demonstrates end-to-end feasibility on a real cloud TEE platform with modest latency overhead.