
defi-amm-security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows
by affaan-mFree
Description
defi-amm-security is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It is a security checklist and pattern library for Solidity automated market maker contracts, liquidity pools, LP vaults and swap functions. It names the critical vulnerability classes to check, including reentrancy, checks-effects-interactions ordering, donation and inflation attacks, and oracle manipulation, and it prefers hardened implementations to hand-rolled ones. The agent should review every user entry point against those categories. The skill applies when writing or auditing a liquidity pool, building swap, deposit, withdraw, mint or burn flows that hold tokens, reviewing share or reserve maths that use the contract's own token balance, or adding admin functions such as fee setters, pausers and oracle updates. Its shell examples are for local audits only and should be run in a trusted checkout or sandbox, and the skill asks for confirmation before long fuzzing or static analysis jobs. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows a Snyk warning.…
Highlights
- Checklist for AMM and liquidity pool contracts
- Reentrancy and checks-effects-interactions ordering
- Donation and inflation attack checks
- Admin function and oracle review
Ratings & Reviews
No ratings yet
Be the first to rate defi-amm-security.
People also visit

solidity-security
Comprehensive smart contract security patterns, vulnerability prevention
trailofbits/building-secure-contracts
Smart contract security toolkit with vulnerability scanners for 6 blockchains

guidelines-advisor
Smart contract development advisor based on Trail of Bits' best practices

solana-vulnerability-scanner
Scans Solana programs for 6 critical vulnerabilities including arbitrary CPI
defi-amm-security FAQ
What does the defi-amm-security skill do?
It gives an agent a security checklist and hardened patterns for reviewing Solidity AMM, liquidity pool and swap contracts.
Which vulnerabilities does it list?
Reentrancy, checks-effects-interactions ordering, donation or inflation attacks and oracle issues, among others.
Is it a replacement for a professional audit?
The skill is a checklist and pattern library for an agent. It does not replace a formal audit, and its commands should run only in a trusted sandbox.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill defi-amm-security
Is it free?
Yes. It is free and open source.
Are there security warnings?
The skills.sh listing shows Snyk with a warning, while Gen Agent Trust Hub and Socket pass.
What are the best defi-amm-security alternatives?
Popular alternatives to defi-amm-security include solidity-security, smart-contract-vulnerabilities and trailofbits/building-secure-contracts. See all defi-amm-security alternatives






