Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
contracts/token/ERC20.sol: most-fixed (3 issues). Treat as high-risk during review.
5 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 signature authorization bypasses occurred during token approvals by incorrectly mapping the recovered 'owner' parameter and utilizing insecure fallback eth_sign signature recovery paths. Developers must enforce strict EIP-712 compliant recovery without fallback mechanisms.
Signature Malleability: The use of malleable or raw ERC-191 signatures permitted potential cross-contract replay attacks, requiring a migration to structured EIP-712 domain-separated hashing.
Unchecked Return Value: Incompatible ERC20 transfer failures could silent-fail and bypass execution reverts if return values were not explicitly verified inside the safeTransfer wrapper.