Skip to content

ZK Security

Audience: circuit engineers, auditors, protocol security engineers, and researchers reviewing SNARK/STARK systems and verifier integrations.

Outcomes

  • Understand constraints, witnesses, public inputs, trusted setup, soundness, completeness, and zero knowledge.
  • Review common circuit bugs: unconstrained signals, missing range checks, aliasing, field overflows, and incorrect public inputs.
  • Assess verifier integration, proof lifecycle, key management, recursion, and upgrade risk.

Roadmap

Stage Focus Proof of work
Foundations Finite fields, commitments, constraints, arithmetization Explain how a false witness can pass when constraints are missing.
Circuits Circom, Noir, Halo2, R1CS/PLONKish models Write and break a small circuit.
Verification Verifier contracts, public inputs, proof keys Review a verifier integration checklist.
Protocol integration Bridges, rollups, identity, privacy, app-specific proofs Threat model data availability and finality assumptions.
Advanced Recursion, trusted setup, proving performance, side channels Document assumptions that cannot be checked in code alone.

Must Learn

Resource Why
0xPARC Learning Group Strong ZK learning material and practice tracks.
zkSecurity Blog Practical ZK vulnerability research and audit insights.
RareSkills ZK Book Accessible introduction to zero-knowledge proof systems.
Circom Docs Primary reference for Circom circuit development.
Noir Docs Modern ZK DSL and tooling reference.
Halo2 Book Halo2 proof-system reference.

Use in Real Audits

  • Check that every private witness value that matters is constrained.
  • Confirm range checks for values that leave the field or map to application integers.
  • Verify public inputs cannot be reordered, omitted, replayed, or mis-bound.
  • Review trusted setup, proving key, verification key, and ceremony assumptions.
  • Treat verifier contracts as normal smart contracts with access, upgrade, and integration risks.
Educational resource only. Links and listings are not endorsements by Raiders0786, DigiBastion, maintainers, contributors, or this project. Verify third-party resources before relying on them. Not legal, financial, investment, compliance, or professional security advice. Read the full disclaimer.