Highlights
Logic Error: 38 prior fixes. Scrutinize any change in this area.
src/policies/EmissionManager.sol: most-fixed (12 issues). Treat as high-risk during review.
69 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: Critical treasury withdrawal and debt repayment functions lacked permissioned access control modifiers, allowing unauthorized actors to drain or manipulate treasury assets.
Logic Error: The lack of post-withdrawal and post-repayment solvency checks enabled borrowers and operators to bypass global solvency constraints, leading to a state where the protocol could become insolvent.
Auth Bypass: Lack of ownership validation during position redemption cancellation allowed unauthorized accounts to hijack and cancel redemptions of transferred or third-party positions.