add bug bounty list

This commit is contained in:
dr. mia von steinkirch, phd 2023-02-17 16:25:12 -08:00 committed by GitHub
parent 6280977c52
commit 7027f61a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

38
bug_hunting/README.md Normal file
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