Highlights
Denial of Service: 9 prior fixes. Scrutinize any change in this area.
crates/floresta-chain/src/pruned_utreexo/consensus.rs: most-fixed (4 issues). Treat as high-risk during review.
12 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.
Denial of Service: Consensus rules are vulnerable to node crashes and database corruption via transaction processing anomalies, such as duplicate transaction inputs or integer overflows in transaction satoshi values. Ensuring checked arithmetic operations and input uniqueness is critical.
Auth Bypass: Consensus checks previously failed to validate the spending maturity of coinbase outputs, enabling premature spending of newly minted coins and potentially breaking the core economic invariants of the chain.
Denial of Service: Malicious peers could trigger premature invalidation of valid blocks by supplying invalid, uncommitted proofs, or could exhaust connection resources due to a lack of read timeouts and active connection reaping.