Security context

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

centrifuge/protocol
main @ 5728235
13
Fixes
0
CVEs
HIGH
Peak severity
44.4%
Coverage
Highlights
Access Control: 7 prior fixes. Scrutinize any change in this area.
Accounting.sol: most-fixed (1 issue). Treat as high-risk during review.
11 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.

Access Control: Missing checkMember modifier on transfer and mint allowed unauthorized token operations; fix added modifier but sibling paths may still lack it.
Authorization Bypass: ERC1404 restriction logic moved out of hook to ensure enforcement; risk of other hooks or paths bypassing restrictions.
Access Control Bypass: Incorrect bit shift in getMSBits allowed frozen tokens to transfer; similar bit operations in other functions may have analogous issues.