Skip to content

feat(verify): check a genuine Intel TDX quote in the browser - #61

Merged
imran-siddique merged 2 commits into
mainfrom
feat/verify-tdx-in-browser
Sep 14, 2026
Merged

imran-siddique merged 2 commits into
mainfrom
feat/verify-tdx-in-browser

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Adds /verify/, where a visitor checks a genuine Intel TDX quote in their own browser. The stacked homepage PR links to it from the hero.

What runs. verify/tdx-verify.js is a WebCrypto port of agent_manifest._tdx_verify: the same parse, the same checks on every length the quote declares, the same four steps in the same order. The page runs it on the two GCP C3 captures from 2026-07-21 (sha256 f9efbac1... and 1ae04c74..., the values agent-manifest's tests pin), or on a quote file the reader loads. Nothing is uploaded.

Holding the port to its original. verifier.yml installs agent-manifest 0.12.0, whose _tdx_verify.py is byte-identical to main, records its verdict on 3,684 inputs derived from the captures, and fails if the port decides any of them differently. The inputs cover every byte of each length and type field, the PEM boundaries, every PEM newline and marker dash, a stride of 5 over the rest, and truncations at each structure edge. Locally 3,684 of 3,684 agree and 1,248 are accepted. Six accepted flips land inside the declared signature data, at offsets 3030, 3986 and 4934 in each capture. All six are newlines outside the certificate blocks, which both parsers ignore.

What the page says it does not prove

  • These captures bind a manifest hash whose input was never published, so a pass proves genuine TDX silicon and does not tie a TRACE record to the machine. The next capture needs to bind the record-signing key.
  • Signature chains only: no TCB appraisal, no revocation check, no comparison of MRTD or RTMRs against expected values.

Checked locally

  • node tools/check-tdx-verifier.mjs differential.json: 3,684 of 3,684 agree
  • check-site.py, check-discovery.py, build-discovery.py --check, check-dashes.js, marketplace tests
  • Chrome: both captures ACCEPTED, no console errors, no horizontal overflow at 1656px or in a 400px frame

Generated with Claude Code

https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2

imran-siddique and others added 2 commits September 14, 2026 08:25
The homepage is moving to lead with evidence a visitor can check without
trusting us. This adds the page it points at.

verify/tdx-verify.js ports agent_manifest._tdx_verify to WebCrypto: the same
parse, the same checks on every declared length, the same four steps in the
same order. /verify/ runs it on the two GCP C3 captures from 2026-07-21, or on
a quote file the reader loads.

A port that agrees on two genuine quotes can still disagree on everything
else. verifier.yml installs agent-manifest 0.12.0, records its verdict on
3,684 inputs derived from the captures (byte flips across every length and
type field and the PEM text, a stride over the rest, truncations at each
structure edge) and fails if the port decides any of them differently.
Locally 3,684 of 3,684 agree and 1,248 are accepted. Every accepted flip sits
after the declared signature data or on a newline outside the certificate
blocks, which both parsers ignore.

The page states the limit first: these captures bind a manifest hash whose
input was never published, so a pass proves genuine TDX silicon and does not
tie a record to the machine.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
The MRTD, RTMR and REPORTDATA rows are 96 unbroken hex characters, so in a
400px frame the table pushed /verify/ to 1068px wide. Offer a break every 16
characters.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
@imran-siddique
imran-siddique merged commit 67b3b7d into main Sep 14, 2026
5 checks passed
@imran-siddique
imran-siddique deleted the feat/verify-tdx-in-browser branch September 14, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant