Security context

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

silo-finance/silo-contracts-v3
develop @ d873f44
40
Fixes
0
CVEs
HIGH
Peak severity
27.0%
Coverage
Highlights
Auth Bypass: 12 prior fixes. Scrutinize any change in this area.
silo-core/contracts/utils/ShareDebtToken.sol: most-fixed (4 issues). Treat as high-risk during review.
30 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.

Reentrancy: The protocol historically failed to update debt states and burn debt tokens before initiating external ERC20 transfers during repayments, exposing the lending pool to state manipulation.
Auth Bypass: Unauthorized execution paths and improper routing of approval checks in ShareDebtToken allowed attackers to bypass spend/receive allowances and mint or transfer debt tokens without appropriate authorization.
Logic Error: Critical failure to execute price oracle beforeQuote updates prior to checking solvency and maximum LTV allowed transfers or withdrawals to proceed against stale or manipulated oracle states.