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

38 lines
558 B
Markdown

## bug hunting smart contracts
<br>
### initial questions
<br>
* 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.
<br>
### look for common vulnerabilities
<br>
* reentrancy with flashloans, fallbacks, payables.
* access control.
* arithmetic errors.
<br>
### create an enviroment for testing
<br>
* static analysis
* fuzzing and poc exploits (use foundry)
<br>
---
### resources