Security context

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

chainwayxyz/citrea
nightly @ 7a7a25f
23
Fixes
0
CVEs
CRITICAL
Peak severity
56.3%
Coverage
Highlights
Verification Bypass: 4 prior fixes. Scrutinize any change in this area.
adapters/celestia/src/verifier/mod.rs: most-fixed (2 issues). Treat as high-risk during review.
20 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.

Verification Bypass: Replaced weak integrity check with full proof verification; bypass could accept invalid proofs as valid, undermining the entire STF.
Auth Bypass: Missing chain_id validation allowed cross-network method ID update replay, enabling unauthorized changes to the proof method.
Verification Bypass: Multiple Bitcoin DA verification gaps (merkle proof and witness commitment size) could let malformed data pass as valid, corrupting the DA layer.