Security context

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

ssvlabs/ssv-network
main @ 9bb7b21
10
Fixes
0
CVEs
CRITICAL
Peak severity
66.7%
Coverage
Highlights
Credential Leak: 2 prior fixes. Scrutinize any change in this area.
contracts/SSVNetwork.sol: most-fixed (4 issues). Treat as high-risk during review.
7 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.

Logic Error: Incorrect tracking of validator balance usage failed to include network fees in the total calculations, resulting in faulty withdraw limits and possible over-withdrawal of tokens. This directly threatens the solvency of the network pool.
Initialization Vulnerability: Leaving implementation contracts uninitialized allows attackers to directly initialize and take control of the contract state. Adding explicit initialization prevention in constructors is required.
Auth Bypass: Critical setup functions such as initialize being marked public allowed malicious actors to re-initialize key parameters, hijacking DEX state variables after deployment.