Attestation¶
A node's isolation report is its own word: nobody can check it from outside. Attestation is the first claim about a node that can be checked. A node running in a confidential VM (Intel TDX or AMD SEV-SNP, with GPUs in NVIDIA's confidential-computing mode) asks its CPU and each GPU for a signed report about what it booted, and the verifier checks the reports against the vendors' keys and a signed list of known images.
Status: the verifier only. It is built and tested against recorded and synthetic evidence; no real confidential machine has passed it end to end yet. Nothing asks for attestation: nodes do not collect evidence, and pools and model loads have no setting that needs it. Until they do, this page describes a check, not a guarantee.
The verifier is silent_swarm.shared.attestation. It imports nothing of the leader's,
so the CLI and a client's own proxy can run it. That matters: a verdict from the leader
is advice. A client that cares verifies the evidence itself, or the leader could lie.
What a node shows¶
| Part | What it is |
|---|---|
| CPU quote | A TDX quote or an SEV-SNP attestation report, signed by the CPU. It carries the VM's measurements and 64 bytes of report_data the VM chooses |
| Collateral | What checking the quote needs: Intel's TCB info, QE identity and CRLs (TDX); the chip's VCEK certificate and AMD's CRL (SEV-SNP) |
| GPU evidence | One report for every GPU the node uses, each with its GPU id |
| Event log | For TDX, what was measured into the runtime registers (RTMRs) as the VM booted |
| Keys | The node's public keys the quote is bound to (below) |
| Nonce, time | The verifier's nonce, echoed, and when the node made the quote |
The types are AttestationEvidence and AttestationVerdict in shared/contracts.py.
The binding¶
A genuine quote says nothing about which node sent it unless it names the node's keys.
So report_data must be:
report_data = SHA-512( len | "silentswarm-attestation-v1"
| len | nonce (16 to 64 bytes, the verifier's)
| len | signing key (Ed25519, 32 bytes)
| len | link key (X25519, 32 bytes)
| len | request key ) (X25519, 32 bytes; empty when the node serves no load)
Each len is the field's length as four bytes, big endian. The signing key is the one the
node signs its statements and receipts with, the link key seals its pipeline
links, and the request key is the one its current load takes
sealed requests with. A quote that passes therefore
says: this VM, answering this nonce, holds these keys. Every GPU report must carry the
first 32 bytes of the same hash as its nonce. Test vectors are in
tests/unit/shared/attestation/test_binding.py.
What the verifier checks¶
Every check must pass; each failure is a reason in the verdict.
| Check | Fails when |
|---|---|
| Fresh | The evidence answers another nonce; it was collected more than 10 minutes ago (max_evidence_age_s), or is dated in the future |
| Bound | report_data is not the hash above for our nonce and the evidence's keys; or the caller knows the node's keys and the evidence names others |
| Genuine, SEV-SNP | The chain ARK, ASK, VCEK does not hold (AMD's roots for Milan and Genoa are pinned in the code); a certificate is out of date; AMD's CRL is missing, stale, not AMD's or revokes the ASK; the report's signature (ECDSA P-384) does not verify; the VCEK is for another chip or another TCB; a VLEK signed; the guest policy allows a migration agent |
| Genuine, TDX | dcap-qvl is not installed; the quote's signature, the PCK chain, the QE identity or the CRLs do not verify; Intel's collateral is past its next update |
| TCB | SEV-SNP: the reported TCB is below the allow list's floor for the processor line, or the list sets none. TDX: Intel's status is not one the allow list accepts (by default only UpToDate) |
| Not debuggable | The VM's debug bit is on (TDX TD_ATTRIBUTES.DEBUG, SEV-SNP policy bit 19), so its host could read it |
| Known image | The measurements match no entry of the allow list, or the matching image is below its lowest accepted version |
| Event log | A TDX event log is sent and does not replay to the quote's RTMRs |
| Every GPU | A GPU the node uses has no report, or two; a report is for a GPU the node does not report; no GPU verifier is installed; the verifier refuses a report |
A passing verdict lasts at most six hours (verdict_lifetime_s), and less when a
certificate, the CRL, Intel's collateral or the allow list runs out sooner.
What fails closed, and why. TDX needs dcap-qvl (pip install
'silent-swarm[attest]', MIT, from Phala Network); without it a TDX quote fails with
"cannot verify TDX here". There is no GPU verifier yet: any node with GPUs fails with
"no GPU verifier is installed" until NVIDIA's local verifier is wired in. Neither is ever
skipped to make a node pass.
The allow list¶
A quote proves what a VM booted, not that it is an image anyone should trust. The allow
list does: a JSON document released with each image, signed offline with an Ed25519 key,
as releases are. It names, per image version, the measurements it boots to (at least
measurement for SEV-SNP and mrtd for TDX), the lowest accepted version - so that
an old, vulnerable image cannot be brought back - and the TCB floors. A verifier can
refuse a list older than the newest it has seen, so a stale list cannot be served again.
python3 scripts/attest_allowlist.py keygen allowlist.key # prints the public key
python3 scripts/attest_allowlist.py sign allowlist.key body.json > allowlist.json
python3 scripts/attest_allowlist.py verify <public key> allowlist.json
The body's format is in shared/attestation/allowlist.py.
Known weaknesses¶
These are stated plainly because they limit what any attestation can promise.
- A physical owner can forge quotes. TEE.fail (October 2025) extracts TDX and SEV-SNP attestation keys with a memory-bus interposer costing under $1,000, and its forged quotes verify as up to date. Intel and AMD put physical attacks out of scope. A fellow's owner has physical access by definition, so attestation stops a host that can only run software, not a determined owner with the machine on the bench.
- GPU reports are not bound to the VM. NVIDIA's reports name a GPU and a nonce, not the VM the GPU is attached to. A genuine report can come from a GPU in another machine, and sharing the nonce with the CPU quote does not prevent it.
- So where the machine is matters, and is not attested. A second field, set by the pool's owner and not by the node, will say where the machine is and who has physical access to it. The interface is meant to show both side by side.
- Some parties remain trusted. Intel or AMD for the CPU, NVIDIA for the GPUs, and whoever holds the allow list's signing key. A vendor's key or the signer's key, stolen, passes anything.
- The verifier is unproven on real hardware. It has been checked against public recorded evidence (an SEV-SNP report from Milan, a TDX quote with its collateral) and synthetic evidence signed by test keys, not against a confidential machine of ours.
Not built yet¶
- A
min_confidentialitysetting (none,attested) on pools and model loads, separate frommin_isolationand never met by self-report; a confidential load needing every stage, cover and draft attested. - Nodes collecting evidence; checks at join, every few hours and on demand with a client's nonce; draining a node whose check failed or expired.
- Stages verifying their neighbours before accepting a link key, so the leader is no longer the only key directory for a confidential pipeline.
- A GPU verifier around NVIDIA's local verifier, checking against NVIDIA's reference measurements without asking a remote service about our nodes.
- Turin and later AMD lines, and VLEK-signed reports.