~/talk

Predicting Random Numbers in Ethereum Smart Contracts

Talkat OWASP AppSec California 2018 · on Wednesday, 2018-01-31· at 14:00· Garden Terrace Room· [security, blockchain, smart-contracts]
links:none on file
slides:none on file

Scans find 72 implementations of on-chain RNGs and the audit labels 43 vulnerable, with concrete failure modes: using miner-tied block variables, calling blockhash incorrectly (the blockhash of the current block equals 0), requesting old blockhashes past the 256 limit, exposing “private” storage, and simple front‑running. Examples include a lottery that lost 400 ether and games exploitable by replaying the RNG in an exploit contract; safer patterns use commit‑reveal plus a future blockhash or an auditable oracle.

AI-written summary · about

  1. 0:00Start
  2. 3:05Blockchain properties
  3. 3:38Blockchain evolution
  4. 5:54Contract accounts
  5. 7:35HANDS ON VULNERABLE
  6. 7:453649 contracts
  7. 9:36PRNCS based on block variables
  8. 17:26Blockhash of an old block
  9. 20:24Blockhash with a private seed
  10. 23:43Front-running
  11. 26:07ZeroNights ICO Hacking Contest
  12. 28:46External oracles Oraclize
  13. 35:31Commit-reveal with a single party
  14. 37:41A better commit-reveal: Randaa
~/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.