Financial Logic Review
Verify correctness of financial calculations.
Oracle Integration
Review price feed usage and manipulation resistance.
Liquidity & Solvency
Verify protocol remains solvent under all conditions.
MEV & Ordering
Review transaction ordering vulnerabilities.
Access Control & Governance
Review permission systems and admin functions.
Integration Safety
Review external protocol interactions.
Testing & Documentation
Verify code quality and test coverage.
Pro Tips
Always trace the math by hand: For any financial calculation, work through specific examples manually before trusting the code.
Think like an attacker with a flash loan: Ask: What could I do with unlimited capital in a single transaction? This catches most DeFi bugs.
Check edge cases: zero, one, max: Every numeric input should be tested with 0, 1, and type(uint256).max.
Review rounding direction for every division: Rounding should favor the protocol, not users. Inconsistent rounding is exploitable.
Draw the token flow diagram: For complex operations, diagram where tokens move. Missing flows mean lost or stuck funds.
More for DeFi Developer
Ready to build your Web3 career?
Browse hundreds of open roles across the decentralized ecosystem.
Explore Jobs