Security for confidential AI and crypto custody
Attestation passed.
The secret still got out.
untrust is the security platform for workloads that run inside TEEs: the sealed hardware enclaves that hide AI models, customer data and signing keys, even from the cloud that hosts them.
Attestation proves which code an enclave started. untrust checks what attestation leaves out, tells your key broker whether to release a key, and gives your customers a signed record they can verify offline.
acme@gpu-node-03:~/inference$ untrust scan --platform gpu-cc --gpu-attestation-report gpu-report.jsonuntrust v1.3.0 — TEE Deployment Audit Report [PASS] GPUCC-RIM-01 Verifier pins the required RIM measurements and their golden values match the report. [report-derived] ⚠ report signature not verified (GPUCC-SIGVERIFY-01 not passed on signed evidence)[FAIL] GPUCC-VRAM-01 VRAM encryption is not active: VRAM encryption is not in effect (GPU memory is readable by the host). [report-derived][FAIL] GPUCC-DMA-01 CPU<->GPU traffic is not fully protected: no SPDM secure session established between the driver and the GPU; PCIe/bounce-buffer traffic is not encrypted (host-snoopable CPU<->GPU DMA). [report-derived][PASS] GPUCC-MIG-01 MIG is off now and after the next reset; the confidential GPU is not partitioned. [report-derived] ⚠ report signature not verified (GPUCC-SIGVERIFY-01 not passed on signed evidence)[FAIL] GPUCC-BIND-01 The GPU and CVM attestations are not bound: the GPU attestation does not incorporate the CVM measurement — a genuine GPU report can be relayed onto a different/unmeasured CVM; the CVM quote does not incorporate the GPU identity — the two TEEs are attested independently and can be mixed-and-matched. [report-derived] 6 of 22 checks failed.Recorded results: 16 PASS, 6 FAIL, 3 SKIP, 0 ERROR. Skipped checks and errors remain unassessed.
Use cases
Four workloads. Four ways the secret still gets out.
Confidential AI and crypto custody, with the threat, the run and the screen for each. Each is a gap that attestation alone does not close. New to TEEs? Start with why attestation is not enough →
Confidential inference
The CPU attests. The GPU attests. Nobody checks they match.
Prompts and model weights cross from a CPU enclave onto an H100. If the GPU is left in its debug (devtools) mode, or its attestation is not tied to the CPU's, the host can still read them.
What untrust does
- Checks the GPU is in production confidential mode, with its memory protected from the host and CPU-to-GPU traffic encrypted
- Checks the CPU and GPU attestations are bound to each other, not trusted one at a time
- Checks the GPU's report against NVIDIA's reference measurements and certificate chain
In the CLI
acme@gpu-node-03:~/inference$ untrust scan --platform gpu-cc \ --gpu-attestation-report gpu-report.json \ --gpu-verifier-policy verifier-policy.json --gpu-cc-mode devtools \ --gpu-kbs-policy kbs-policy.json --gpu-launch-config launch.json \ --gpu-reset-evidence reset.json | grep -E 'FAIL\] GPUCC-(ATT|DMA|VRAM|BIND)|^Recorded'[FAIL] GPUCC-ATT-01 GPU attestation report does not assert a trusted state: cc_mode is 'devtools' (expected on). [report-derived][FAIL] GPUCC-VRAM-01 VRAM encryption is not active: VRAM encryption is not in effect (GPU memory is readable by the host). [report-derived][FAIL] GPUCC-DMA-01 CPU<->GPU traffic is not fully protected: no SPDM secure session established between the driver and the GPU; PCIe/bounce-buffer traffic is not encrypted (host-snoopable CPU<->GPU DMA). [report-derived][FAIL] GPUCC-BIND-01 The GPU and CVM attestations are not bound: the GPU attestation does not incorporate the CVM measurement — a genuine GPU report can be relayed onto a different/unmeasured CVM; the CVM quote does not incorporate the GPU identity — the two TEEs are attested independently and can be mixed-and-matched. [report-derived]Recorded results: 16 PASS, 6 FAIL, 3 SKIP, 0 ERROR. Skipped checks and errors remain unassessed.acme@gpu-node-03:~/inference$
In the cloud console
Training & fine-tuning
Who can get the training-data key?
Fine-tuning on private data is only safe if the data key goes to your signed image and nothing else. Most key policies check who is asking, not what code is running.
What untrust does
- Tests every caller against your key policies: debug VMs, unsigned images, plain cloud accounts
- Checks key release is bound to a code measurement, not just an identity
- Checks your workload images are signed and pinned by digest
In the CLI
acme@ci-runner:~/training$ untrust scan --platform sev-snp --gcp-project demo-proj \ --wip-provider projects/123456789/locations/global/workloadIdentityPools/workload-pool/providers/workload-provider \ --gcs-bucket workload-state-demo-proj | grep -E 'CSPACE-(KEYBIND|IMG|KMS)-01'[FAIL] CSPACE-KEYBIND-01 WIF provider condition does not bind key release to a code measurement: it does not require assertion.dbgstat == 'disabled-since-boot' as a guaranteed conjunct (missing, ORed away, or negated — a debug VM could release the key); does not bind the workload image_digest — key release is gated on identity, not on a code measurement. Additionally, it does not constrain support_attributes (USABLE/debug-tooling images are not excluded); does not bind hwmodel to the TEE model (AMD SEV or Intel TDX).[FAIL] CSPACE-KMS-01 2 decrypt grant(s) are not federated through a Workload Identity pool: allAuthenticatedUsers (roles/cloudkms.cryptoKeyDecrypter), serviceAccount:workload@demo-proj.iam.gserviceaccount.com (roles/cloudkms.cryptoKeyEncrypterDecrypter). Access does not require an attestation token.[FAIL] CSPACE-IMG-01 Workload image trust is incomplete: tee-signed-image-repos is not set — unsigned workload images are accepted; workload image is referenced by tag, not a pinned digest (us-docker.pkg.dev/demo-proj/repo/workload:latest); Artifact Registry repo is broadly writable: allAuthenticatedUsers.acme@ci-runner:~/training$
In the cloud console
Sovereign AI
A genuine chip. A valid report. Firmware with a known hole.
Sovereign AI runs on hardware you own, so nobody patches it for you. A chip on old firmware still signs a valid attestation report. A collector on each host you enrol sends signed evidence; untrust holds every host to a firmware floor and seals the result in a signed evidence pack your auditor verifies offline.
What untrust does
- Holds each host's firmware to a floor: Intel's and NVIDIA's published verdicts, and for AMD the minimum you set
- Says "unverifiable" when a vendor can't answer, instead of guessing
- Signs evidence packs that verify with one public key
The collector is in early access. The console that judges the evidence is hosted by untrust in AWS us-east-1; the packs verify anywhere.
In the CLI
auditor@laptop:~/evidence$ untrust pack verify evidence-pack.json \ --public-key untrust-signer.pem --organization 3f9c2a7e5b1d4c8a9e6f0b2d7a4c1e93VERIFIED (signed): Integrity and ed25519 signature verified against the trusted key.auditor@laptop:~/evidence$ echo $?0auditor@laptop:~/evidence$ untrust pack verify tampered-pack.json \ --public-key untrust-signer.pem --organization 3f9c2a7e5b1d4c8a9e6f0b2d7a4c1e93NOT VERIFIED: Member 'evidence' does not match its digest.auditor@laptop:~/evidence$ echo $?1auditor@laptop:~/evidence$
In the cloud console
Real-chip evidence you can download and check with the vendors' own tools →
Crypto custody
One write permission to root in the enclave.
A path traversal, the kind of bug web servers had in 1998, defeated a hardware trust boundary. In an adversarial simulation of a signing service, the enclave loaded its saved state from cloud storage at every boot and built file paths from the names it found there. One storage write permission was enough to plant a file named with ../. It landed on a start-up script and ran as root inside the enclave.
Attestation passed the whole time, because the code that booted was exactly the code that was signed. untrust flags every link. Close any of the first three (the bucket with no policy, the ../ names, the executable state) and the attack stops. The last two decide how far it reaches: a key policy with no code check, and a restart that reloads the poisoned state.
What untrust does
- Joins findings into attack paths, so you fix the link that matters first
- Checks key release requires the measured, signed image
- Probes boot storage for the file names that make this chain work
In the CLI
acme@ci-runner:~/custody$ untrust scan --platform nitro --instance-id i-0abc123def456789a \ --target-bucket enclave-state-staging --kms-key-id alias/enclave-secrets \ --region us-east-1 | grep -wE 'BOOTSTRAP-0[12]|EXEC-01|KMS-01|RESTART-01'[FAIL] BOOTSTRAP-01 Bucket allows path-traversal-shaped key writes (4/4 probes accepted). S3 does not sanitize key names by design — exploitability depends on the enclave's download routine, but this precondition is necessary for the attack.[FAIL] BOOTSTRAP-02 No bucket policy exists. Any IAM principal with s3:PutObject permission can upload files to the state bucket.[FAIL] KMS-01 2 of 2 Allow+Decrypt statement(s) do not enforce meaningful attestation: 1 lack any RecipientAttestation condition; 1 bind only to identity PCRs (PCR3/PCR4), not to a code measurement (PCR0/1/2/8 or ImageSha384).[FAIL] EXEC-01 3 file(s) in the state directory have execute permissions.[FAIL] RESTART-01 2 enclave service(s) auto-restart on failure: enclave-app.service (Restart=always), enclave-app-networking.service (Restart=on-failure). If the boot sequence re-downloads state from S3, a single poisoned object persists across every restart.acme@ci-runner:~/custody$
In the cloud console
TEE basics
Why attestation is not enough.
New to confidential computing? The argument, in pictures.
The promise
A TEE (trusted execution environment) is a sealed part of a chip. Code and data inside it are hidden from everyone outside, including the cloud operator. Companies use TEEs to run AI models on private data and to hold signing keys.
The check everyone relies on
Attestation is the chip's signed statement of exactly which code it started. If that matches what you expected, the enclave is treated as trusted. For the chip, the TEE and the image, it passes.
The gap
Attestation says nothing about what that code takes in afterwards: the state it loads at boot, the settings its host hands it, the policy that releases its keys, the GPU it sends data to. None of that is measured.
What untrust does
untrust checks all of it, layer by layer and input by input. Here the same deployment that passed attestation has three findings behind it.
One secret, four stops
Follow a secret from your build to your customer: the pipeline, the key service, the enclave and its GPU, then your customer's own check. Attestation covers one of those stops.
untrust at every stop
untrust checks every one, before you ship and while you run. It says no to a key release when the evidence does not hold up, and it records every decision so you can prove it to someone else.
What it does
From the first build to the audit.
Each step opens with the question it answers in the untrust console.
Find · Scan before it ships
“Did the code you are about to ship pass its gate?”
The untrust scanner runs as a step in your own CI. It checks each enclave image as it is built, checks that the image in the registry is the signed one that was built, and checks infrastructure code before it is applied. A failed check fails the job, so your pipeline stops the deploy.
IAC-KMS-ATTEST fails a Terraform plan whose key policy lets the enclave decrypt without a code-measurement condition. The key that would open to any code is never created.
111 posture checks · 55 build rules · 69 infrastructure rules · 13 attack paths
Find · Test the boundary
“Can the host feed your enclave poisoned data or a fake endpoint?”
Every route into an enclave runs through its host. untrust plants canary writes in the storage around it, sends malformed input across the host boundary, and answers the enclave's outbound calls from an endpoint that is not the real one. Then it reports which ones got through.
A catalogue of 100 injection payloads is fired at the inputs an enclave reads: storage objects, SQL, HTTP, key-value stores and the host channel.
Canary writes run in a CLI scan, and --read-only skips them · fuzzing only in a lab you confirm · every canary is deleted after the run
Watch · Collect hardware evidence
“Can each TEE be trusted right now?”
A small collector on each host and GPU node you enrol answers a fresh challenge with signed evidence, which untrust checks against the chip vendor's own records. Collectors connect outbound only; cloud access is read-only and revocable.
A TEE counts as verified only while its report is under an hour old. A host whose vendor cannot be reached is shown as unverifiable, never as passing.
AMD, Intel and NVIDIA verdicts · outbound-only collectors · the collector is in early access
Watch · Detect
“Is anything crossing a guardrail right now?”
Rules run on your cloud audit logs and on what your collectors report. untrust detect reads the audit logs from your side, with your own credentials, and sends each hit to the console. A hit stays open there until it is resolved, and can go to your alert channel.
DET-02 fires when a key is decrypted with no attestation document attached. That is a key released to a caller that never proved it was the enclave.
82 runtime detections · Slack, PagerDuty or a signed webhook
Prove · Gate and prove
“Did every key go only where it should, and can you prove it?”
Scan findings, hardware evidence and open detections feed one decision: go or no-go for the release, and released or denied when your key broker asks before releasing a key. Every decision lands in a tamper-evident ledger and goes into evidence packs.
The answer to a key request is no unless every required check passes. An auditor verifies an evidence pack offline with one public key; change a single byte and it fails.
Deny by default · no account needed to verify
How it works
What you connect, and what runs where.
The cloud console at app.untrustsecurity.com connects to your side directly. The CLI runs the same checks in your pipeline and your terminal, with or without the console.
Your side · four small connections
Cloud accounts
One read-only role per account, from a template you can read first. In the AWS template's own words: "no data reads, no writes, no commands." Scanned on a schedule.
Repositories
Today the scanner runs as a step in your own CI and fails the job when a check fails. A read-only GitHub App that posts nothing is coming; it is not enabled yet.
Hosts and GPU nodes
A small collector on the hosts you enrol. It pushes signed evidence over HTTPS and listens on no port. untrust never connects to a host.
Key broker
Makes one API call to untrust before it releases a key and gets released or denied. If untrust cannot verify the evidence, the answer is denied.
- Scanswhat you connect, before it ships and while it runs
- Verifieshardware evidence with the chip's own vendor
- Decidesgo or no-go for a release, released or denied for a key
- Recordsevery decision, and alerts you
Chip vendors
AMD, Intel and NVIDIA's own keys and services say whether each chip is genuine. Intel and NVIDIA also publish whether its firmware is current. For AMD, you set the minimum.
Your customer
Verifies the signed evidence pack offline, against a public key. No account needed.
The untrust CLI
Runs on its own. Send its results to the console if you want them there.
$ untrust buildscan · iacscan$ untrust scan · detect$ untrust pack verifyWhat untrust can reach, what can write, and what it keeps: Security at untrust →
Runs where you do
AWS Nitro Enclaves and GCP Confidential Space, plus NVIDIA H100 confidential GPUs. Azure confidential VMs are early: six checks so far
AMD SEV-SNP, Intel TDX and SGX, AWS Nitro and NVIDIA H100, each tested on evidence captured from real hardware. Four of the captures are public →
Bare-metal servers in your own data centre, through the same collector, which is in early access. Evidence packs verify with no account
How it decides
Deny by default. Fail closed. An unknown is never a pass.
A security tool that rounds up is worse than none. These are the rules untrust is built on.
A check that skips, errors or has no evidence is shown as not assessed. A hardware verdict untrust cannot reach is shown as unverifiable. Neither is ever counted as a pass.
Whether a chip is genuine is decided by AMD, Intel and NVIDIA's own keys and services, not by untrust's opinion. Whether its firmware is current comes from Intel's and NVIDIA's published verdicts. AMD publishes none, so there the minimum you set decides. Every other result says how it was established: probed, read from a signed report, or declared by you.
Every decision is hash-chained into a ledger, and evidence packs verify offline against a public key you pin. That proves a record is complete and unaltered since untrust issued it. For the hardware itself, check the raw evidence below with the vendors' tools.
Don't take our word for it
Real chips. Evidence you check with the vendor's own tools.
Raw signed reports we captured on real cloud hardware, with the vendor certificate chain and step-by-step checks that use AMD, Intel and NVIDIA tools only, never untrust. No account needed.
- AMD SEV-SNPAWS EC2 m6a · VLEK-signed reportchecked with AMD snpguestDownload · 10 KB
- AMD SEV-SNP + vTPMGCP n2d · report, TPM quote, event logchecked with snpguest, tpm2-toolsDownload · 36 KB
- Intel TDXGCP c3 · TDX quotechecked with Intel's DCAP libraryDownload · 34 KB
- NVIDIA H100Azure NCC H100 v5 · GPU attestation + confidential VMchecked against NVIDIA's rootDownload · 33 KB
Questions buyers ask
What you should ask before you trust us.
Keep both. An attestation service tells you a quote is genuine. A CSPM tells you a bucket is public. Neither tells you that the bucket holds state your enclave loads at boot, or that your key policy would also release to a debug-mode enclave. Those gaps are how a valid attestation still ends in a stolen key, and untrust checks for them. Hardware evidence is still judged against the chip vendors' own roots where the vendor publishes one. How it fits →
Configuration, not content. On AWS you create one role from our template: 46 read actions allowed and 45 explicitly denied, including object reads, secret values, key use and commands. AWS enforces that, not our code. We keep the scan report: resource identifiers, verdicts and the evidence behind them. The exact grant →
An attacker could read the configuration of connected accounts. Your role denies everything else: no data, no keys, no commands, no writes. Every session on the scan role is named untrust-scan-… in your CloudTrail (a scan's session carries its job id) and lasts at most 15 minutes. The role refuses any other session name. Deleting the role ends our access. Threat model →
The gate fails closed: a fault, missing evidence or a vendor outage denies the release, and the denial is recorded. That is the right default for a signing key, so the gate is a separate call you choose to put in your release path. If your broker cannot reach untrust, it gets no release decision; configure it to treat no answer as a denial. Scanning does not depend on it. Key release gate →
Not for cloud posture: hosted scans are read-only and nothing from untrust runs inside your enclave. The host collector is optional, runs on confidential hosts you choose and connects outbound only. Tests that write a canary or fuzz the host are off unless you run them, and are meant for staging. Scan types →
You should not have to. Verdicts for AMD SEV-SNP, Intel TDX and SGX, AWS Nitro and NVIDIA GPUs chain to those vendors' own roots, not ours. We publish the real-chip evidence our verification is tested against, with steps to check it using the vendors' tools. A check that could not run is reported as not assessed, never as a pass. Check the evidence →
Request access
See what attestation is missing in your deployment.
We work with a small number of teams running confidential AI or custody on TEEs. We run untrust against your deployment with you and walk through everything it finds.
- Read-only if you prefer
- AWS Nitro, AMD SEV-SNP, Intel TDX and NVIDIA H100
- Signed evidence you keep
Who is behind it
untrust is built by Untr Labs, Inc. It grew out of research presented on the DEF CON 34 main stage: The Enclave Is Lying to You.
Prefer email? hello@untrustsecurity.com