Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
contracts/core/SignatureVerifier.sol: most-fixed (4 issues). Treat as high-risk during review.
10 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: Execution paths inside router contracts lacked rigorous authorization validation, allowing unauthenticated or incorrectly validated actions to perform privileged operations on behalf of user accounts. Ensure all actions execute with verified and active user authorization.
Auth Bypass: Flawed signature verification flows and incorrect message/allowance validations previously left router contracts open to abuse. Switching to standardized validation like OpenZeppelin's SignatureChecker is critical for maintaining robust access control.
Signature Malleability: Custom or naive ecrecover implementations failed to reject malleable s-values and zero-address signers, exposing the platform to signature manipulation. Integrating secure, standardized ECDSA validation libraries is necessary to prevent authorization bypass.