Security context

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

Folks-Finance/folks-finance-xchain-contracts
main @ 7f631fe
3
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Authorization Bypass: 3 prior fixes. Scrutinize any change in this area.
contracts/bridge/BridgeMessenger.sol: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Authorization Bypass: Bridge message retry and reversal functions were callable without caller permission checks, enabling unauthorized manipulation of cross-chain messages.
Authorization Bypass: Account and loan creation allowed arbitrary IDs, enabling unauthorized creation or overwriting of accounts and loans via crafted IDs.
Authorization Bypass: Rebalancing functions were callable by any user, allowing unauthorized adjustment of loan positions.