crypto-architecture-review

Review E2EE and zero-knowledge crypto architecture, key hierarchies, recovery flows, and server influence.

2|Updated May 6, 2026
One-click install
npx skills add https://github.com/bpcakes/jig-skills --skill crypto-architecture-review-bpcakes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-architecture-review
Source: https://github.com/bpcakes/jig-skills/tree/main/plugins/jig-privacy-audit/skills/crypto-architecture-review
Command: npx skills add https://github.com/bpcakes/jig-skills --skill crypto-architecture-review-bpcakes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Products claiming end-to-end encryption or zero knowledge often fail in key management, recovery, or server-controlled parameters rather than in the cipher itself. This Skill gives an agent a structured workflow to verify whether the implementation evidence actually supports the privacy claims. ## Core Features & Use Cases - Key Hierarchy Tracing: Enumerate root, device, vault, wrapping, and recovery keys with generation, storage, rotation, and access details. - Claim Verification: Test nonce/IV uniqueness, AEAD binding, KDF parameters, multi-device trust, sharing revocation, and server influence over crypto values. - Structured Reporting: Produce findings with CRYPTO-ARCH IDs, severity, evidence, and retest steps using the included report template and JSON schema. - Use Case: Point the agent at an encrypted-backup feature and ask it to verify the zero-knowledge claim; it traces recovery flows and flags whether the server can reconstruct user plaintext. ## Quick Start Review the encryption and recovery implementation in this repository against its E2EE claims and report findings with severity and evidence.

Frequently Asked Questions about crypto-architecture-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit an end-to-end encryption implementation?

Trace the key hierarchy from root keys to data-encryption keys, then verify AEAD binding, nonce uniqueness, and recovery flows against the product's claims. This Skill provides a ten-step workflow covering enrollment, sharing, revocation, and server influence.

How to verify a zero-knowledge claim in code review?

Check whether the server can access or influence plaintext, keys, KDF parameters, public keys, or recovery secrets. The review flags server-controlled values that could silently capture future plaintext, which weakens any zero-knowledge claim.

What evidence is needed for a crypto architecture review?

Collect threat models, key hierarchy diagrams, client crypto call sites, serialized encrypted object formats, device enrollment code, and telemetry paths near secrets. Direct code and runtime evidence is preferred over diagrams alone.

When should a human cryptographer review the design?

Escalate when the system uses custom protocols, novel group ratchets, PAKEs, threshold recovery, post-quantum hybrids, key transparency, or formal security claims. Source review alone cannot establish cryptographic soundness for these cases.

What severity levels do crypto audit findings use?

Findings range from critical, where a server or operator can recover plaintext despite E2EE claims, down to low for bounded metadata leakage. Unclear documentation and missing rationale are recorded as limitations rather than findings.