DeFi developers face serious security risks when building automated market maker contracts. This guide acts as a security checklist to find and fix common vulnerabilities in Solidity AMM contracts, liquidity pools, and swap functions.
It covers critical attacks like reentrancy, donation attacks, and oracle manipulation. You also get hardened code examples to replace unsafe patterns. Use it when writing or auditing any contract that holds token balances.
Global
mkdir -p ~/.claude/skills/defi-amm-securityProject
mkdir -p .claude/skills/defi-amm-securitySource Repository
Azure Compliancemicrosoft/azure-skills
Audit Azure compliance and Key Vault expiration with azqr scans
Firebase Security Rules Auditorfirebase/agent-skills
Find weak spots in Firestore rules and get clear fixes
Golang Securitysamber/cc-skills-golang
Find and fix security flaws in Go code using expert guidance and automated tools
Clerk Nextjs Patternsclerk/skills
Secure your Next.js app with Clerk middleware, server actions, and caching
Persona It Admingoogleworkspace/cli
Keep your digital workspace safe with IT admin security workflows
Two Factor Authentication Best Practicesbetter-auth/skills
Secure user logins with two-factor authentication using Better Auth
Gws Modelarmor Create Templategoogleworkspace/cli
Create new templates for Google Model Armor to protect AI apps from harmful content
Gws Modelarmor Sanitize Promptgoogleworkspace/cli
Clean user prompts safely with Google Model Armor templates