defi-security
✓[AUTO-INVOKE] 必须在部署 DeFi 合约(DEX、借贷、质押、LP、代币)之前调用。涵盖反鲸鱼、反 MEV、闪电贷款保护、启动清单和应急响应。触发点:任何与 DeFi 相关的合约的部署或安全审查。
SKILL.md
Scope: Only applicable to DeFi projects (DEX, lending, staking, LP, yield). Non-DeFi projects can ignore this skill.
| Whale manipulation | Daily transaction caps + per-tx amount limits + cooldown window | | MEV / sandwich attack | EOA-only checks (msg.sender == tx.origin), or use commit-reveal pattern | | Arbitrage | Referral binding + liquidity distribution + fixed yield model + lock period |
| Reentrancy | ReentrancyGuard on all external-call functions (see solidity-security skill) | | Flash loan attack | Check block.number change between operations, or use TWAP pricing | | Price manipulation | Chainlink oracle or TWAP — never rely on spot AMM reserves for pricing |
[AUTO-INVOKE] 必须在部署 DeFi 合约(DEX、借贷、质押、LP、代币)之前调用。涵盖反鲸鱼、反 MEV、闪电贷款保护、启动清单和应急响应。触发点:任何与 DeFi 相关的合约的部署或安全审查。 来源:0xlayerghost/solidity-agent-kit。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill defi-security- 分类
- !安全工具
- 认证
- ✓
- 收录时间
- 2026-02-17
- 更新时间
- 2026-02-18
快速解答
什么是 defi-security?
[AUTO-INVOKE] 必须在部署 DeFi 合约(DEX、借贷、质押、LP、代币)之前调用。涵盖反鲸鱼、反 MEV、闪电贷款保护、启动清单和应急响应。触发点:任何与 DeFi 相关的合约的部署或安全审查。 来源:0xlayerghost/solidity-agent-kit。
如何安装 defi-security?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill defi-security 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/0xlayerghost/solidity-agent-kit
详情
- 分类
- !安全工具
- 来源
- skills.sh
- 收录时间
- 2026-02-17