mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-07-24 23:25:42 -04:00
💾
This commit is contained in:
parent
7c4b4cc16f
commit
fd8a437ebf
70 changed files with 10585 additions and 1 deletions
38
advanced_expert/bug_hunting/README.md
Normal file
38
advanced_expert/bug_hunting/README.md
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue