Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

succinctlabs/sp1
main @ 9069dd6
62
Fixes
0
CVEs
CRITICAL
Peak severity
35.7%
Coverage
Highlights
Denial of Service: 19 prior fixes. Scrutinize any change in this area.
crates/core/executor/src/executor.rs: most-fixed (6 issues). Treat as high-risk during review.
51 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: Critical verification bypasses existed in the main verifier flow due to missing global cumulative sum and memory state boundary checks across execution shards, allowing invalid proofs to be verified as correct.
Cryptographic Signature Verification Bypass: The PLONK and Groth16 verification logic failed to validate that metadata embedded within encoded proofs matched the provided public inputs, leading to signature verification bypasses.
Denial of Service: The guest program executor lacked robust cycle limit boundaries, allowing programs to enter infinite loops or bypass set cycle limits through off-by-one check errors and conditional clock increments.