~/talk

Solidity's most common security pitfalls and its best safeguards

Talkat Solidity Summit 2023 · on Thursday, 2023-11-16· [security, web3]
name:gmhacker
links:none on file
slides:none on file

Common Solidity failures are concrete: integer wraparound still appears via unchecked blocks, misordered multiplies/divides cause persistent precision loss that led to a $1M whitehat on Balancer and could have threatened ~20% of a pool, low-level call patterns break with smart-account or gas assumptions, re-entrancy includes malicious ERC‑20 callbacks, and a return bomb of huge returndata can force relays to revert. Remedies: use 0.8 checks, prefer audited fixed‑point libs (PRB‑Math), add reentrancy guards, check call success/returndatasize in assembly, and run Slither/Mythril, thorough unit tests and bug bounties.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Protocol security path
  3. 2:45Common security pitfalls
  4. 3:26Overflow and underflow
  5. 5:33Dreadful rounding errors
  6. 7:28External call methods madness
  7. 9:01Rounding errors
  8. 10:51Reentrancy
  9. 12:51Return Bomb
  10. 14:34Overflow
  11. 16:54Testing
  12. 17:57Questions
~/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.