Architecture

The web delivers; the enclave anchors.

A browser cannot hold a BLS key and a camera channel is not a boundary. The architecture delivers frictionless assurance on the web and anchors trust once, in a sensor attacker software cannot reach.

Browser plane (zero install)

  • LoA 0 ambient — JA4 · WebGPU shader-math compute probe · canvas entropy · Turnstile
  • LoA 1 behavioural — keystroke dwell/flight · pointer physics · Fitts conformance
  • LoA 2 passkey — credentials.get · PRF (CTAP2 hmac-secret) → HKDF → KEK
  • LoA 3 passive biometrics — BlazeFace + AdaFace · 15-frame voting · inside a worker

Anchor plane (once, at payout)

  • App Attest (SEP P-256) — genuine hardware + unmodified app
  • TrueDepth / IR capture, in-process (no getUserMedia → no injector path)
  • AdaFace 512-D on the ANE — no image retained
  • (2,3) Pedersen DKG over {device · committee · escrow} → group_public_key
  • PRF bind → KEK → seal share s₁ · zeroize · Spec B receipt

Coordination plane

  • Subnet 54 (Finney, netuid 54) — threshold BLS share s₂
  • OPRF committee → unlinkable nullifiers
  • drand (League of Entropy) — unbiasable DKG seeds

Enterprise plane

  • AuthorityGrantV1 delegation · Spec B receipts (ADR-014)
  • PEP/AML screening · CRVP v2.0 R1–R6

Privacy invariant register — hard constraints

#InvariantMechanical gate
P1Zero server-side facial storagebiometric_egress_detected
P2No biometric template at resttemplate_retained
P3No plaintext master secret anywhereshared_secret_assembled
P4No cross-RP linkabilitylinkage_property_unproven
P5No keystroke content capturekeystroke_content_captured
P6Zeroization reported, never assertedzeroization_unreported
P7No camera on the Day-0 pathday0_biometric_gate_detected

Packages & hard budgets

PackageRoleBudget
@yanez/web-yid-coreFramework-agnostic engine< 45 KB gz
@yanez/web-yid-webcomponent1-line <yanez-verify>< 8 KB gz
@yanez/web-yid-reactuseYanezVerify hook< 6 KB gz
@yanez/web-yid-wasmBLS + vision corelazy · ≤4 MB int8
@yanez/web-yid-edgeWorker + Durable Object< 1 MB gz