(2/3) Mindsets to use to spot vulnerability
· Mirror mode
· What should happen
· What shouldn't happen
1
19
Been practicing some CTFs, and as it turns out, reading reports doesn't make you a coding genius. Who would have thought.😅
21
Found a nice GitHub with all vulnerabilities sorted out.
Good place to target practice some CTFs.
github.com/minaminao/ctf-blo…
1
44
Documenting vulnerabilities is useless.😮
Lately I shifted my approach to studying vulnerabilities from just documenting what happened to trying to understand how they were found and what techniques and mindsets I should use to find them.
59
🧵(2/3) Mindsets to use to spot vulnerability
· mirroring: if variable is incremented it should be decremented and used somewhere else, if function changes state it should affect some other function
· Is implementation same as documentation?
· Is function doing what it's supposed to?
1
47
Picked up a lot of good ideas from this presentation!
I'll make sure to apply them in my next audit.
Thank you @BowTiedDravee
youtube.com/watch?v=kORcOhft…
1
106
Don't forget, your goal is to find bugs and vulnerabilities.
This does not mean you should know every single possible vulnerability.
27
I've been auditing my ass off lately.
Here are some things I've learned after my 2nd audit.
· Starting with small helper functions makes bigger contracts more digestible.
· You should defiantly learn popular contract standards before doing audits.
· It's usually better to check tests rather than trying to understand entire logic yourself.
· Even the most confusing code is quite simple after you look at it a couple of times. (not in one sitting)
32





