Security context

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

paradigmxyz/reth
main @ a898520
96
Fixes
0
CVEs
CRITICAL
Peak severity
37.0%
Coverage
Highlights
Denial of Service: 57 prior fixes. Scrutinize any change in this area.
crates/consensus/common/src/validation.rs: most-fixed (7 issues). Treat as high-risk during review.
55 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.

Consensus Bypass: Post-execution verification failed to validate generated execution requests against actual receipts, instead passing empty lists. This directly allowed consensus splits or unauthorized state validation bypasses across the network.
State Consistency: Improperly tracking contract selfdestruct wipes and appending transaction receipts globally rather than grouping them by block number caused state corruption, leading to potential consensus splits.
Auth Bypass: Using substring matching (`auth.find`) on Authorization headers instead of strict prefix matching allowed spoofed or malformed bearer token validation, exposing internal engine endpoints to unauthorized clients.