Origin Docs

Attestation Reference

Field definitions for inference attestation receipts and sandbox TDX attestation in ORGN Scanner.

ORGN Scanner is not Studio Code Security (Shannon). Scanner audits Gateway inference attestation and confidential compute sandboxes — it does not scan your repository for CWE vulnerabilities. For code security assessments, see Code Security.

ORGN Scanner surfaces two distinct attestation systems. They answer different questions and live on different pages. Conflating them is a common compliance mistake.

SystemQuestion answeredScanner pageScope
Inference attestation receiptsDid this specific Gateway inference call run in a verified TEE?/request/:requestIdPer-request
Sandbox TDX attestationIs this confidential compute environment running on genuine Intel TDX hardware?/sandboxes/:sandboxIdPer-environment

Both are public — no sign-in required to inspect artifacts.

System 1: Inference attestation receipts

When you send a request to a TEE model (near_* or phala_*), the Gateway records the call in spend logs and attaches an attestation receipt from the TEE provider. Scanner displays the receipt on the request detail page.

ZDR models (vercel_*) do not produce hardware receipts. Their attestation fields read N/A.

Receipt lifecycle

  1. Client submits inference to the Gateway API
  2. Gateway routes to the TEE provider (NEAR AI or Phala)
  3. Inference executes inside a hardware-isolated Trust Domain
  4. Provider returns model output + attestation artifacts
  5. Gateway stores the receipt and runs verification against Intel/NVIDIA PKI
  6. Scanner displays the outcome at /request/:requestId

Core fields

FieldTypeDescription
idstringAttestation record UUID
attestation_typestringProvider class — e.g. NEAR SGX, Phala TDX+GPU
verifiedbooleanWhether Gateway verification passed
signing_addressstringAddress that signed the attestation receipt
message_signing_addressstringAddress that signed the request/response hash binding
message_signaturestringECDSA signature over request and response hashes
attestation_timestampstringReceipt generation time (RFC 3339)
modelstringModel ID at time of attestation
noncestringSession binding value for CPU + GPU evidence
errorstringVerification failure reason (null when verified)

Hardware evidence flags

FieldTypeDescription
has_intelbooleanIntel TDX quote is present
has_nvidiabooleanNVIDIA GPU SPDM evidence is present
nvidia_archstringGPU architecture identifier
intel_quotestringBase64-encoded Intel TDX attestation report
gpu_evidencearrayNVIDIA certificate + evidence pairs per GPU

GPU evidence entries

Each element in gpu_evidence:

FieldDescription
ordinalGPU index in the attestation set
archGPU architecture string
certificateNVIDIA attestation certificate chain
evidenceSPDM evidence blob

Session nonce binding

The nonce is the cryptographic link between CPU and GPU attestations. It appears in:

  • The TDX quote REPORT_DATA field
  • Each GPU SPDM evidence header

A mismatch between these nonces indicates mixed-environment attestation and causes verification to fail. This binding prevents an attacker from combining a genuine TDX quote with GPU evidence from a different machine.

Message signature binding

Beyond hardware evidence, the receipt includes a message signature that binds:

  • request_hash — hash of the inference request
  • response_hash — hash of the model output
  • ecdsa_signature — signature from the model signing address

This proves the attested environment produced the specific output for the specific input — not just that a TEE existed at some point.

Verification status values

StatusMeaning
verifiedAll PKI checks passed
failedReceipt present but validation failed — see error
pendingInference complete; receipt not yet received
n/aZDR model — no hardware attestation path

For the independent verification workflow, see Verify a request.

API access

curl -s "https://api.gateway.orgn.com/internal/console/explorer/request/<request-id>" \
  | jq '.attestation'

System 2: Sandbox TDX attestation (Daytona)

Confidential compute sandboxes are isolated execution environments provisioned for Studio projects and Gateway workloads. Unlike inference receipts (per-request), sandbox attestation proves the environment itself is running on genuine Intel TDX hardware.

Scanner loads sandbox attestation from the Daytona attest-gateway — a separate upstream from the Gateway spend-log pipeline.

Where to inspect

PageURLContent
Sandbox list/sandboxesRunning sandboxes, resource usage, TDX node pools
Sandbox detail/sandboxes/:sandboxIdPer-sandbox metadata + live TDX attestation panel

Sandbox attestation is public. The attest-gateway serves evidence to anyone — the same primitive that powers Scanner's sandbox panel.

What sandbox attestation proves

  • The sandbox VM is running inside an Intel TDX Trust Domain
  • The TDX quote reflects the current VM measurement state
  • The environment matches expected confidential-compute configuration

Sandbox attestation does not prove that a specific inference call ran inside the sandbox. For per-request proof, use inference attestation receipts at /request/:requestId.

Relationship to inference receipts

Sandbox TDX attestation          Inference attestation receipt
─────────────────────────        ─────────────────────────────
Proves: environment is genuine   Proves: specific call ran in TEE
Scope:  per sandbox              Scope:  per request
Source: Daytona attest-gateway   Source: NEAR AI / Phala providers
Page:   /sandboxes/:sandboxId    Page:   /request/:requestId

A compliant audit trail for regulated workloads typically includes both: sandbox attestation establishes the trusted compute boundary; inference receipts prove individual model calls executed within it.

API access

Scanner proxies sandbox attestation through:

GET /api/sandboxes/:sandboxId/attestation

This calls the Daytona attest-gateway directly — no user session required.

Provider attestation types

ProviderPrefixHardwareAttestation class
NEAR AInear_*Intel SGXSGX enclave attestation
Phalaphala_*Intel TDX + NVIDIA GPUUnified TDX + GPU SPDM
Vercel AI Gatewayvercel_*Standard cloudZDR — no hardware receipt

NEAR AI uses SGX enclaves — a different granularity than Intel TDX Trust Domains. Do not conflate SGX "enclave" language with TDX "Trust Domain" language in external-facing compliance copy. Scanner displays the provider's actual attestation class.

What attestation does not cover

Explicit boundaries — shared responsibility model:

  • Compromised client environments or leaked API keys
  • Malicious prompts or unsafe model behavior
  • Data exposure before the request reaches the Gateway or after the response is delivered
  • Vulnerabilities inside model weights or training data
  • Source code security (that is Studio Code Security)

Next steps

On this page