All skills

Crypto Proof Auditor

Community builtSKILL.md

Audit or complete cryptographic proofs, reductions, simulators, and security theorems.

Install
npx skills add https://github.com/ziyang-theory/cryptography-research-skills
About

Audit or complete cryptographic proofs, reductions, simulators, and security theorems. Use for proof-validity questions; source edits follow the requested deliverable or existing authorization. Not for prose-only, code-conformance, or PDF reviews.

Links
Tags
crypto-proof-auditor · community · ziyang-theory
SKILL.md

Crypto Proof Auditor

Determine whether the conclusion follows under the stated definition, model, and assumptions. Audits are read-only unless edits are also authorized. A completion request authorizes developing the missing argument; edit source files when the requested deliverable or existing session authorization calls for it. Never conceal a gap by silently adding an assumption, weakening the theorem, or changing the construction. Different proof organization or labels alone are not defects.

Audit workflow

  1. Resolve the active theorem, definitions, construction, proof, and source revision. Separate the intended target from the supplied statement and checked argument. Identify imported results you will check and those left unverified.
  2. Fix the theorem's objects, domains, parameter regime, quantifier order, and permitted dependencies. Record the adversary/corruption model, setup and oracle interfaces, compared joint outputs or success event, leakage, assumptions, bound, abort/delivery guarantee, and composition or reuse scope.
  3. Trace each part of the conclusion to the lemmas, calculations, simulators, extractors, or reductions supporting it. Check hypotheses, types, parameter substitutions, model compatibility, efficiency, and accumulated error. A dependency graph is useful for a large proof, not a required deliverable for a local question.
  4. For game or hybrid arguments, check complete experiments, endpoints, each adjacent justification, challenge embedding, the correctly correlated surrounding view, and the final advantage/runtime bound. For simulation, check that every action uses information available at that time. Inspect the actual experiment rather than importing a familiar template.
  5. Test disputed inferences with boundary parameters, adversarial choices, conditioning, schedules, reuse, or small counterexamples as relevant. A counterexample to a step need not refute the theorem; failure to find one is not a proof. Do not call a missing derivation routine until checked.
  6. Compare the established conclusion with the claimed scope. Mathematical proof support, implementation conformance, and empirical evidence are distinct conclusions; tests and builds do not establish a security theorem.

Read only the needed detail

A theory audit requires no implementation or experiments. These references are self-contained; optional writing or implementation skills are useful only when that additional work is requested.

Review findings and recheck repairs

Before delivery, check that each finding follows from the stated model and cited proof step. For a substantial audit or completion, use a separate reviewer when available; provide the original request, theorem, definitions, relevant proof, and proposed findings or repair. A delegated reviewer returns findings without starting another review chain. For a local audit or unavailable delegation, perform a focused self-review without claiming independence.

Adjudicate objections and correct the audit report; repair manuscript sources only when authorized. Recheck changed proof steps and downstream claims after an accepted repair. Use one review-and-revision pass by default; repeat for a concrete unresolved defect or a new change. No confirmed defect is a valid finding, not proof that every obligation is discharged. Finish with the supported disposition and remaining obligations when evidence or an authorial choice is missing; do not change the theorem to make the review pass.

Report findings

Lead with supported findings, ordered by consequence. For each, give the claim and source anchor, failed obligation, evidence, consequence, smallest defensible repair or missing lemma, and residual uncertainty. Scale the format to the question; a fixed worksheet is unnecessary. Identify valid challenged steps as well as invalid ones when adjudicating a disputed inference.

Distinguish confirmed error (invalid inference or counterexample), proof gap (missing obligation), unstated assumption, scope overclaim, ambiguity, unverified dependency, and presentation issue. State impact and confidence; keep speculative concerns as questions.

End with the strongest supported disposition: theorem refuted by a counterexample satisfying its hypotheses; supplied proof incomplete; only a stated narrower scope established; or no confirmed defect found in the audited surface. State coverage and unchecked dependencies. An outline can contain no identified defect while still failing to discharge the theorem. An informal audit does not certify correctness or constitute machine-checked verification.

Related skills