Security context

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

provablehq/snarkos
staging @ 1238b53
57
Fixes
0
CVEs
HIGH
Peak severity
44.1%
Coverage
Highlights
Denial of Service: 32 prior fixes. Scrutinize any change in this area.
node/router/src/handshake.rs: most-fixed (4 issues). Treat as high-risk during review.
29 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: Unbounded deserialization of incoming network messages via bincode can trigger out-of-memory (OOM) crashes. Limiting input allocation capacity is required to prevent peer-to-peer resource exhaustion attacks.
Denial of Service: Executing heavy CPU-bound cryptographic operations (such as verifying coinbase puzzle solutions) directly within the async event loop causes starvation of the tokio executor, leading to node freeze.
Signature Bypass: Allowing transaction structures or metadata to be executed or verified without first fully validating their signatures or validating binding signatures in the core zero-knowledge circuit permits unauthorized transaction manipulation.