Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
OraclePredeploy.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: Decoupling ciphertext verification from decryption request processing allowed unverified and unapproved ciphertext handles to be queued for decryption, completely bypassing authorization rules. Immediate handle verification must be enforced during request creation.
Privilege Escalation: Exposing powerful test decryption helpers (like decryptTEST) within production predeployed contracts presents a critical risk of unauthorized state decryption. These helpers must be separated into dedicated test-only contracts with restricted constructor ownership.
Access Control: The use of unsafe delegatecall patterns within compliant token implementations introduces the risk of state corruption and arbitrary execution. These patterns should be replaced with explicit external contract calls.