blockchains-security-toolkit/advanced_expert/bug_hunting
autistic-symposium-helper a35c5cde2e
add remedy
2024-11-25 22:00:56 -08:00
..
README.md add remedy 2024-11-25 22:00:56 -08:00

bug hunting smart contracts


tl; dr


initial questions

  • list external and public functions.
  • when and where external call happens and what changes.
  • check payable functions.
  • how functions are accessed (permissions by who).
  • follow the flow for transfers.

look for common vulnerabilities

  • reentrancy with flashloans, fallbacks, payables.
  • access control.
  • arithmetic errors.

create an enviroment for testing

  • static analysis
  • fuzzing and poc exploits (use foundry)


bug hunt platforms