Here's a thinking process:
-
Understand User Request:
- User wants: "List 3 common DeFi smart contract vulnerabilities and how to detect them. Be specific."
- Key elements: 3 vulnerabilities, DeFi context, detection methods, specificity required.
-
Identify Core Topics:
- DeFi smart contract vulnerabilities are well-documented. I need to pick 3 of the most impactful/common ones.
- Common ones: Reentrancy, Integer Overflow/Underflow, Access Control Issues, Front-running, Oracle Manipulation, Flash Loan Attacks, etc.
- I'll pick 3 that are fundamental and widely relevant: a) Reentrancy attacks b) Oracle manipulation/price feed issues c) Access control / privilege escalation (or maybe integer overflow, but modern Solidity uses SafeMath/built-in checks; maybe flash loan attacks or sandwich attacks? Let's stick
Top comments (0)