Vulnerabilties = Pattern Recognition
I created a personal audit checklist. I'll increase this list as I explore more contracts, do shadow audits, and study DeFi exploits.
Here's my id guide:
CRIT-01, CRIT-02 — Critical (Direct loss of funds, severe protocol takeover)
HIGH-01, HIGH-02 — High (Significant risk of loss, unauthorized actions)
MED-01, MED-02 — Medium (Unintended behavior, partial loss under specific conditions)
@RealJohnnyTime #5 Grit
Looking at the solutions is easy. But in actual audits, I won’t have a handy solution.
When I felt like I was not making progress, I took a rest before trying again.
@RealJohnnyTime #4 Pattern recognition
I was clueless when I answered the first exercise. I missed some steps.
When answering the second exercise, I was already 90% correct.
Just finished Fungible Tokens and Non-Fungible Tokens in @RealJohnnyTime's course.
Writing, deploying, and testing these tokens are now a piece of cake.
You can check out his course here:
https://t.co/bVPBOCsKRV
@RealJohnnyTime #8 Writing takeaways helps.
When I conduct my audits, I’ll most likely compile notes on functions and workflows. I look forward to identifying which variables, functions, and states I should prioritize.
@RealJohnnyTime #7 vm.expectRevert()
Asserts that the next call reverts. If the call does not revert with the expected data, expectRevert will cause the test to fail. (Foundry docs)