~/talk

Enhancing Test Coverage: A Framework for Effective Protocol Security

links:none on file
slides:none on file

An experimental framework groups concrete test work into three mindsets: hacker mindset, formal verification, and system architect. It claims 100% coverage doesn't prevent hacks, recommends 80–90% coverage plus unit and integration tests, and draws on 250+ audits since 2017. Write tests that assert role-restrictions, call-frequency limits (example: once-per-hour), input bounds (avoid uint256→uint8 overflow), invariants (swap output ≤ contract balance, tracked total ≤ on-chain balance), mock all off-chain services and check upgrade paths; use fuzzing if full formal proofs are infeasible.

AI-written summary · about

  1. 0:00Protocol security testing intro
  2. 1:28Why 100% coverage fails
  3. 2:36Three mindsets for test writing
  4. 4:43Hacker mindset: misuse cases
  5. 7:51Formal verification: enforcing specs
  6. 10:17Architect mindset: external failures
  7. 12:46Balancing coverage and framework
  8. 14:11Q&A: state machines & business logic
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.