Pick a depth. Each prompt opens in your AI pre-loaded with the lesson. Click a row to preview the prompt.
Half of access-control bugs are not 'the modifier is wrong' but 'the function is public when nobody noticed'. Reachability analysis enumerates: for every state-changing function in the contract, which addresses can call it, under what conditions, with what arguments. Done systematically, it catches the 'I thought this was internal' class on the first pass.
Tools: Slither's function-summary printer dumps callers + permissions. Manual: grep -E 'function .* (public|external)' then for each, ask 'what's the gate?'. Most production bugs live in functions where the answer to that question is 'nothing'.
slither <repo> --print function-summary. Inspect the access matrix.