Security context

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

alchemix-finance/v3
master @ ea6f58b
4
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Authorization Bypass: 2 prior fixes. Scrutinize any change in this area.
src/AlchemistAllocator.sol: most-fixed (1 issue). Treat as high-risk during review.
2 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: Blacklist-based permissioning was insufficient, allowing unauthorized proxied calls. Whitelist enforcement is required to restrict proxied functions.
Authorization Bypass: Multicall selector was not blocked, enabling bypass of risk caps and unauthorized proxy calls. Cumulative allocation checks are needed to enforce limits.
Asset Loss: Withdrawing to address zero burns ETH, causing asset loss. Recipient must be validated as non-zero.