defi-amm-security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, CEI ordering, donation or inflation attacks, oracle manipulation, slippage, admin controls, and integer math. Use when auditing or writing Solidity AMM, liquidity pool, or swap code.
- installs 8w
- 1,720
- 30-day movement
- starts with the next reading
- Related entries
- 5
- Connections
- 0
A SKILL.md agent skill that provides a security checklist and hardened code patterns for Solidity AMM contracts, liquidity pools, and swap flows. It covers reentrancy, CEI ordering, donation/inflation attacks, oracle manipulation, slippage, admin controls, and integer math, with sections for when to use, workflow, and examples.
Reach for it when writing or auditing Solidity AMM, liquidity-pool, or swap code so known vulnerability patterns are checked systematically instead of from memory.
Use it to
- Audit an AMM or liquidity-pool contract against the checklist
- Implement swap, deposit, withdraw, mint, or burn flows using the hardened examples
- Review share math for donation or inflation attack exposure
- Add slippage and deadline protection to swap paths
- Check admin and ownership-transfer paths for proper gating
For Solidity developers and auditors of DeFi AMM contracts
- Host repository
- affaan-m/ECC
- Version
- 1.0.0
- Installs, lifetime
- 3,000
- Installs, 8 weeks
- 1,720
- Host stars
- 261k
- Host language
- JavaScript