Security context

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

thesis/acre
main @ 1c932b9
6
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Access Control: 3 prior fixes. Scrutinize any change in this area.
core/contracts/MezoAllocator.sol: most-fixed (1 issue). Treat as high-risk during review.
4 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: updateTbtcVault lacked owner restriction and validation of the new vault, allowing unauthorized redirection of funds.
Auth Bypass: Hardcoded client-side password check could be bypassed; replaced with server-side access code verification.
Access Control: withdraw allowed any caller; now restricted to stBTC contract, preventing unauthorized withdrawals.