A practical security checklist that walks you through the standard AMM vulnerability surface: reentrancy guards, check-effects-interactions ordering, donation attacks from raw balanceOf calls, oracle manipulation via spot prices, and missing slippage protection. Each category shows a vulnerable snippet next to the hardened fix using OpenZeppelin or Uniswap libraries. If you're writing or auditing swap functions, LP deposits, or anything that tracks reserves, this gives you the pattern library and a final checklist to run through before deployment. The examples are concrete enough to paste and adapt. Includes audit tool commands for Slither, Echidna, and Foundry fuzzing at the end.
npx -y skills add affaan-m/everything-claude-code --skill defi-amm-security --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
hoodini/ai-agents-skills
addyosmani/agent-skills
giuseppe-trisciuoglio/developer-kit
agamm/claude-code-owasp