Security model #

Each protection below was tested against a real attack, in a real browser where a browser is involved, before it was claimed. The contract and every pass rule are in docs/PROVENANCE-V1.md and docs/PRODUCT-PLAN-2026-11-24.md in the TensorChain repository; failures on the way are recorded there too.

Records #

ProtectionTested attackResult
Every object named by its sha256one byte changed in stored evidencethe attestation verifies invalid, naming what changed
Ed25519 signatures (RFC 8032), keys in mode-600 files, an audited library in productiona forged signature; a key marked compromisedinvalid; every signature by a compromised key is invalid
Checkers bound to their own source codea checker changed after attestingearlier attestations no longer verify as valid
Revocation by the target's own authoritysomeone else revoking your sourcerefused: only the owner, issuer or key holder may revoke

Sessions and requests (the web app and any app built on it) #

ProtectionTested attackResult
The session cookie is __Host-, Secure, HttpOnly, SameSite=Strict, and only names the sessiona stolen cookie sent alone**401 signature_missing**
Every request is signed (RFC 9421) by a non-extractable device key, over method, URL and a body digest (RFC 9530), with a noncea captured request replayed**401 replay**
Every response is signed by the hostone byte of a response changed in transitthe page refuses it: response_invalid
A request is bound to what the user saw (the screen's text, the action, the fields it may carry)a page made to send a field to another endpointrefused before it leaves, and refused by the server
Every script and stylesheet is pinned by SRI hash; Trusted Types with no policy; no inline codeone changed byte in a script; an injected innerHTMLthe browser refuses the script, 0 requests are sent; the injection throws
Secret fields sealed in the browser to the host's key (X25519 + AES-256-GCM), bound to the fielda TLS-terminating proxy recording traffic; a ciphertext moved to another field0 card digits in the recording; the moved ciphertext is refused seal_invalid
Browser sessions rate-limited on their own bucket; an unknown cookie gets the anonymous limita made-up session id to escape rate limitsstill limited as anonymous

The edge #

ProtectionWhat it watches
Certificate Transparency watch, every 6 hany certificate for our domains from an issuer other than Let's Encrypt, or for a name we do not use
A host-signed manifest of the published verify siteevery published file re-hashed against the signed manifest, live, every 6 h
Strict CSP on every page; the landing page and these docs run no script at allinjected markup on public pages

What is not claimed #

it cannot take the key away. Short sessions and revocation limit that.

prevention.

refuse to start without the audited library.