Checklist of DeFi AMM smart contract security patterns covering flash loans, slippage, sandwiching, price manipulation and reentrancy.
- What it does
- This skill provides security patterns and an audit checklist for automated market maker (AMM) smart contracts. It lists common vulnerabilities such as flash loan attacks, insufficient slippage protection, reentrancy, and price manipulation, and gives a checklist covering oracle price references, slippage protection, checks-effects-interactions, reentrancy guards, integer overflow handling, and access control. It is guidance only and produces no files or scripts.
- When to use it
- Use it when reviewing AMM contracts such as Uniswap, Curve or Balancer, or when looking for security issues in swap, mint and burn logic. It also fits identifying flash loan and price manipulation weaknesses and testing the economic security of a DeFi protocol.
- Requirements
- No tools, packages, runtimes, credentials or network access are required; the skill contains instructions only and ships no scripts.