cyfrin-defi-core

Audit DeFi smart contracts for vulnerabilities across AMM, flash loans, and oracle security.

1|1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Apegurus/solidity-argus --skill cyfrin-defi-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cyfrin-defi-core
Source: https://github.com/Apegurus/solidity-argus/tree/main/skills/checklists/cyfrin-defi-core
Command: npx skills add https://github.com/Apegurus/solidity-argus --skill cyfrin-defi-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured checklist to identify common vulnerabilities and security risks in Decentralized Finance (DeFi) protocols, ensuring more robust and secure smart contract development.

Core Features & Use Cases

  • Comprehensive Coverage: Addresses attacker mindset, AMM/swap mechanics, flash loans, lending protocols, liquid staking derivatives, and oracle security.
  • Detailed Checks: Each item includes a description of the vulnerability, remediation steps, and relevant references for deeper understanding.
  • Use Case: A smart contract auditor can use this checklist to systematically review a new lending protocol, ensuring all critical DeFi-specific security aspects are considered before deployment.

Quick Start

Use the cyfrin-defi-core skill to audit the provided smart contract code for DeFi-specific vulnerabilities.

Frequently Asked Questions about cyfrin-defi-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit DeFi smart contracts for security vulnerabilities?

To audit DeFi smart contracts, use a comprehensive checklist covering attacker mindsets, AMM/swap mechanics, flash loans, lending protocols, liquid staking derivatives, and oracle security to systematically identify vulnerabilities and guide remediation.

What security checks are needed for DeFi lending protocols and flash loans?

DeFi lending protocols and flash loans require security checks against attacker mindsets and common vulnerabilities, utilizing a detailed checklist that provides descriptions of risks, remediation steps, and reference material for thorough protocol assessment.

How does an audit checklist help secure AMM and swap mechanics in smart contracts?

An audit checklist helps secure AMM and swap mechanics by providing detailed descriptions of specific vulnerabilities, outlining remediation strategies, and supplying relevant reference material to ensure all critical DeFi security aspects are reviewed before deployment.

What is the best way to systematically review oracle security in DeFi protocols?

The best way to review oracle security in DeFi protocols is by following a structured audit checklist that includes specific descriptions of oracle vulnerabilities, actionable remediation steps, and deep reference material for systematic identification.

Can I use a checklist to audit liquid staking derivatives in smart contracts?

Yes, you can use a DeFi audit checklist to evaluate liquid staking derivatives, as it facilitates systematic identification of vulnerabilities and guides remediation strategies specifically tailored for these DeFi components.