This commit is contained in:
osiris account 2023-03-15 11:06:26 -07:00
parent 7c4b4cc16f
commit fd8a437ebf
70 changed files with 10585 additions and 1 deletions

View file

@ -0,0 +1,38 @@
## 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