Safeguard attestation

Research demonstrationProvider-reported

Safeguard attestation aims to let users, auditors or governments check that an AI service ran its declared safeguards, such as a safety classifier, filter or usage monitor.

Published designs run safeguard code in a trusted execution environment, which signs a hash of that code and a hash of an input and its response. A research prototype with public code does this on AWS Nitro Enclaves, for a wrapper that routes an AI agent's traffic through an open-source guardrail. The guardrail's model sits behind an external API that the verifier must choose to trust.

In September 2026 Tinfoil reported rolling out enclave-run safeguard models with public, attested code. No independent security evaluation or reliance by another party has been documented.

The main obstacles are showing that all traffic took the attested path and scaling to frontier GPU clusters. An attested safeguard can still fail, since guardrails can be jailbroken.

Development assessmentLow confidence

R2, narrowly: one prototype with public code attests a guardrail end to end on cloud enclaves. No independent security evaluation or reliance by another party has been documented.

Assessed use: attesting that a declared safeguard mediated a service's responses

Rubric assessment and gaps →

On this page

How it works

Users of AI services often have to rely on a developer's word about how safety is enforced, so safety measures could be falsely advertised 1. A paper on frontier AI auditing notes that swapping in a different safety classifier or relaxing a filter threshold can materially change how easily a system is misused 9. A governance analysis of trusted execution environments (TEEs) lists "policy adherence" as a property a verifier needs: a workload should show that it uses the approved model or enforces access controls and safeguards 8.

The published designs follow one pattern: run the safeguard inside a TEE and have the hardware sign what ran 1 4 6.

  • Proof of guardrail. A wrapper program containing a public guardrail and its configuration mediates all of an agent's inputs and outputs inside the enclave 1. When a user asks for it, or the agent offers it, the enclave signs a document containing a hash of the wrapper and a hash of the input and response 1 2. A user compares the wrapper hash with the published open-source build and checks the signature offline, while the developer's agent stays private 1.
  • Property attestation. PAL*M runs inference in a confidential virtual machine with a GPU, and attests that a response came from a specific model and tokenizer on a given query or chat history 4. Its defined inputs are the query, model and tokenizer; it has no separate safeguard input 4.
  • Audit-to-deployment binding. Attestable Audits returns, with each response, an attestation that links the model, its earlier audit result, the prompt and the response 5. Binding weights to attestation is covered in Hardware-attested weight binding.
  • Scoped monitoring. In verifiably-scoped monitoring, the monitoring party and the monitored party co-sign a plan, which an open-source classifier runs inside an attested TEE 6. Queries outside the plan's scope are never evaluated 6.

Two approaches do not use TEEs:

What it establishes

It can establish:

  • that the declared guardrail code ran for an attested response, without revealing the developer's agent 1;
  • that tampering is visible: in the authors' tests, modified guardrail code, modified attestation bytes and modified responses were all detected 1;
  • in scoped monitoring, that the monitor evaluated only what the co-signed plan allows 6.

It cannot establish:

  • that the safeguard works, since guardrails make errors and can be jailbroken 1;
  • that an external guardrail model ran as declared, since the prototype reaches it through an API outside the enclave and leaves trust in that API to the verifier 1;
  • that all traffic was covered, since attestations are per response and the prototype offers them for high-stakes questions 1;
  • anything the measurement leaves out, such as configuration, flags or later changes at runtime 8.

Threat model

  • Proof of guardrail assumes a developer who might skip or modify the guardrail 1. It trusts the cloud provider's enclave hypervisor to measure code and protect keys, and it needs an open-source guardrail so that verifiers know the expected measurement 1.
  • PAL*M assumes an adversary who controls the host, hypervisor and disk 4. It trusts the Intel TDX module and the H100 GPU 4. It treats side-channel defences as orthogonal and places physical attacks, such as memory-bus interposition, out of scope 4.
  • A governance analysis contrasts the confidential-computing adversary, a dishonest operator, with a treaty adversary: a state with physical access to data centres and leverage over hardware vendors 8.

Search

Full search page