Security context

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

1inch/fusion-protocol
master @ b68b27b
6
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
contracts/Settlement.sol: most-fixed (2 issues). Treat as high-risk during review.
6 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: Whitelist validation was bypassable when no resolvers were listed or when the allowed time had not passed; the fix moved the allowedTime check into _isWhitelisted and added an explicit resolversCount==0 check.
Auth Bypass: Separate whitelist and fee extensions allowed settlement without enforcing whitelist status; the fix merged them into combined validation.
Authorization Bypass: Order interactions lacked a resolver whitelist check, allowing unauthorized resolver calls; the fix added the check on _settleOrder.