Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
contracts/guard/src/GuardV0Base.sol: most-fixed (8 issues). Treat as high-risk during review.
9 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.
Auth Bypass: The guard frequently suffered from missing access control modifiers and unvalidated receiver or destination addresses across integrations (e.g., Aave, Velora, Hypercore, ERC-4626), allowing potential exfiltration of assets to unauthorized addresses.
Auth Bypass: Multi-hop swaps on Uniswap V2/V3 bypassed safety validation by failing to verify intermediate assets in the swap path, allowing unauthorized tokens to be traded if only the start/end assets were checked.
Denial of Service: Failover logic lacked chain ID and block height verification, which could lead to silent wrong-chain routing and inconsistent application state upon provider switching.