blockchains-security-toolkit/advanced_expert/bug_hunting/README.md
osiris account fd8a437ebf 💾
2023-03-15 11:06:26 -07:00

558 B

bug hunting smart contracts


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)


resources