Highlights
Auth Bypass: 16 prior fixes. Scrutinize any change in this area.
contracts/lib/OrderValidator.sol: most-fixed (11 issues). Treat as high-risk during review.
37 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: Flaws in signature validation, EIP-1271 fallback execution, and unrecovered null signers allowed actors to bypass cryptographic validations entirely. This includes failing to clear scratch space, using modified signature lengths, or executing staticcalls against incorrect addresses.
Memory Corruption: Improper inline assembly memory pointer calculations, misaligned constants (such as 'AlmostOneWord' set to 0x19 instead of 0x1f), and failure to save/restore memory slot 0xC0 created critical vulnerabilities where memory could be corrupted during low-level token transfers.
Auth Bypass: Contract orders with mismatched original consideration items, non-reverting validation failures, and lack of fractional restrictions (numerator and denominator not locked to 1) allowed attackers to bypass structural integrity checks on orders.