Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
circuit/batch_create_user_circuit.go: most-fixed (1 issue). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Parallel proof verification committed proofs to the valid-proof cache ('safeProofMap') before the Groth16 verification actually completed, allowing unverified proofs to be treated as valid. This creates a complete verification bypass.
Auth Bypass: The batch creation user circuit lacked overflow and range constraints on the BasePrice field during api.Mul operations. This allowed inputs that overflow the field modulus to bypass intended pricing logic and constraint validation.
Auth Bypass: Validation of system tier ratios failed to enforce strict monotonic progression on parsed boundaries. This allows out-of-order or corrupt boundaries to bypass logical consistency guarantees.