
Defi Amm Security
- 4.1k installs
- 238k repo stars
- Updated August 5, 2026
- affaan-m/everything-claude-code
defi-amm-security is an agent skill for audit defi amm contracts for flash loans, slippage, sandwiching, price manipulation, and reentrancy risks.
About
The defi-amm-security skill DeFi自動マーケットメーカー(AMM)スマートコントラクトセキュリティ監査パターン。フラッシュローン、スリッページ、サンドイッチング攻撃、価格操作、再入攻撃、不正確な整数演算をカバー。. 自動マーケットメーカー(AMM)スマートコントラクトのセキュリティパターンと監査チェックリスト。 - Uniswap、Curve、BalancerなどのようなAMMコントラクトをレビュー - スワップ関数、ミント、バーンロジックでセキュリティの問題を検出 - フラッシュローン、価格操作脆弱性を特定 - DeFiプロトコルの経済セキュリティをテスト - [ ] すべての価格参照はオラクルから取得 - [ ] フラッシュローンは考慮(価格を信頼しない) - [ ] スリッページ保護が実装 - [ ] チェック・エフェクト・相互作用パターン使用 - [ ] 再入保護(ミューテックス/チェック付き) - [ ] 整数オーバーフロー/アンダーフロー処理 - [ ] アクセス制御とロール分離 The workflow follows documented commands, reference files, and validation steps from SKILL.md. Agents should read prerequisites, apply progressive fixes, and confirm outcomes before marking tasks complete. Security-sensitive operations require explicit user confirmation per the skill guidance. Follow SKILL.md reference sections for detailed command examples and edge-case handling. Follow SKILL.md reference sections for detailed command examples and edge-case handling. Follow SKILL.md reference sections for detailed command examples and edge-case handling. Follow SKILL.md reference sections for detailed command examples and edge-case handling. Follow SKILL.md reference sections for detailed command examples and edge-case h.
- Uniswap、Curve、BalancerなどのようなAMMコントラクトをレビュー
- スワップ関数、ミント、バーンロジックでセキュリティの問題を検出
- DeFiプロトコルの経済セキュリティをテスト
- [ ] すべての価格参照はオラクルから取得
- [ ] フラッシュローンは考慮(価格を信頼しない)
Defi Amm Security by the numbers
- 4,082 all-time installs (skills.sh)
- +216 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #150 of 2,203 Security skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
defi-amm-security capabilities & compatibility
- Capabilities
- uniswap、curve、balancerなどのようなammコントラクトをレビュー · スワップ関数、ミント、バーンロジックでセキュリティの問題を検出 · defiプロトコルの経済セキュリティをテスト · [ ] すべての価格参照はオラクルから取得 · [ ] フラッシュローンは考慮(価格を信頼しない)
- Use cases
- security audit · code review
What defi-amm-security says it does
Uniswap、Curve、BalancerなどのようなAMMコントラクトをレビュー
npx skills add https://github.com/affaan-m/everything-claude-code --skill defi-amm-securityAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 4.1k |
|---|---|
| repo stars | ★ 238k |
| Security audit | 2 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | affaan-m/everything-claude-code ↗ |
How do I audit defi amm contracts for flash loans, slippage, sandwiching, price manipulation, and reentrancy risks with documented agent guidance?
Audit DeFi AMM contracts for flash loans, slippage, sandwiching, price manipulation, and reentrancy risks.
Who is it for?
Developers who need security help during ship work.
Skip if: Skip when the task falls outside Security scope described in SKILL.md.
When should I use this skill?
Audit DeFi AMM contracts for flash loans, slippage, sandwiching, price manipulation, and reentrancy risks.
What you get
Completed security workflow aligned with SKILL.md steps and validation.
- Security checklist report
- Hardened implementation guidance
- Identified exploit pattern fixes
By the numbers
- Uniswap、Curve、BalancerなどのようなAMMコントラクトをレビュー
- スワップ関数、ミント、バーンロジックでセキュリティの問題を検出
- DeFiプロトコルの経済セキュリティをテスト
Files
DeFi AMM セキュリティ
自動マーケットメーカー(AMM)スマートコントラクトのセキュリティパターンと監査チェックリスト。
使用時期
- Uniswap、Curve、BalancerなどのようなAMMコントラクトをレビュー
- スワップ関数、ミント、バーンロジックでセキュリティの問題を検出
- フラッシュローン、価格操作脆弱性を特定
- DeFiプロトコルの経済セキュリティをテスト
一般的な脆弱性
1. フラッシュローン攻撃
ローンが同一ブロック内で返却されたと仮定するコントラクトを攻撃。
2. スリッページ不足
ユーザーが予期しない不利な価格変更を受ける。
3. 再入攻撃
外部呼び出し後の状態チェック。
4. 価格操作
オンチェーン価格参照の信頼不足。
セキュリティチェックリスト
- [ ] すべての価格参照はオラクルから取得
- [ ] フラッシュローンは考慮(価格を信頼しない)
- [ ] スリッページ保護が実装
- [ ] チェック・エフェクト・相互作用パターン使用
- [ ] 再入保護(ミューテックス/チェック付き)
- [ ] 整数オーバーフロー/アンダーフロー処理
- [ ] アクセス制御とロール分離
詳細については、ドキュメントを参照してください。
Related skills
Forks & variants (1)
Defi Amm Security has 1 known copy in the catalog totaling 1.4k installs. They canonicalize to this original listing.
- affaan-m - 1.4k installs
How it compares
defi-amm-security is an agent skill for audit defi amm contracts for flash loans, slippage, sandwiching, price manipulation, and reentrancy risks, not a generic alternative.
FAQ
Who is defi-amm-security for?
Developers using Security workflows with agent-guided SKILL.md steps.
When should I use defi-amm-security?
Audit DeFi AMM contracts for flash loans, slippage, sandwiching, price manipulation, and reentrancy risks.
Is defi-amm-security safe to install?
Review the Security Audits panel on this page before installing in production.