Security context

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

degatedev/protocols
degate_mainnet @ 5b6ceef
110
Fixes
0
CVEs
CRITICAL
Peak severity
71.4%
Coverage
Highlights
Access Control: 34 prior fixes. Scrutinize any change in this area.
contracts/LoopringProtocolImpl.sol: most-fixed (9 issues). Treat as high-risk during review.
89 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.

Signature Verification Bypass: Multiple high-severity fixes target zero-address signers, ambiguous dual-recovery, and inconsistent hashing, enabling authentication bypass and forgery.
Access Control: Critical fixes prevent unauthorized module addition, wallet factory changes, owner initialization, and proxy upgrades, indicating fundamental gaps in privileged operations.
Auth Bypass: Critical meta-transaction signer validation and module registration/enabled separation were missing, allowing unauthorized signers and disabled modules to be used.