Treeship#cryptographyBlogDocsGitHub

Writing

#cryptography

Every post tagged cryptography.

Four layers of proof: how Treeship uses zero-knowledge

Signatures prove authenticity. Merkle proofs prove timing. Circom proves policy. RISC Zero proves the entire chain. Here's how they fit together.

The Replay Attack Your Authorization System Doesn't Prevent

Most authorization systems for AI agents share a subtle flaw: approvals can be reused. An agent that captures an approval token can replay it. Here's the attack and how approval-based authorization prevents it by construction.

DSSE: Dead Simple Signing Explained

DSSE is the signing envelope Treeship uses for every artifact. Here's why we chose it over JWS and what the PAE construction actually does.

Approval Nonces and Why a Single Field Prevents an Entire Attack Class

The approvalNonce field in Treeship's ActionStatement is doing a lot of work. Here's the full attack class it prevents and why the design is correct.