Agent Skills
› NeverSight/learn-skills.dev
› aave-security-foundations
aave-security-foundations
GitHub提供 AAVE 集成与执行脚本的安全基线。用于安全审查、交易前检查、清算防护、授权最小化及执行加固,涵盖威胁分析与预执行校验流程。
Trigger Scenarios
AAVE 安全审查
交易前检查
清算安全检查
授权最小化
执行加固
Install
npx skills add NeverSight/learn-skills.dev --skill aave-security-foundations -g -y
SKILL.md
Frontmatter
{
"name": "aave-security-foundations",
"license": "MIT",
"metadata": {
"author": "AAVE AI Contributors",
"version": "1.0.0"
},
"description": "Security baseline for AAVE integration and execution scripts. Use when user asks for AAVE security review, pre-trade checks, liquidation safety, allowance minimization, or execution hardening."
}
AAVE Security Foundations
Security-first checklist for AAVE script development and operations.
Threat Areas
- Over-approval risk: unlimited ERC20 approvals can expose wallet funds.
- Health factor drift: market volatility can liquidate leveraged positions quickly.
- Interest rate mode mismatch: stable mode assumptions can fail per asset.
- RPC/data inconsistency: stale or failing RPC can produce bad decisions.
- Execution race conditions: quote-time assumptions may be invalid at execution.
Required Pre-Execution Checks
- Validate chain/token/account/amount format.
- Read reserve status (
isActive,isFrozen,borrowingEnabled). - Read account health (
healthFactor,availableBorrowsBase). - Enforce HF safety threshold before
withdrawand aggressiveborrow. - Reject execution if allowance/balance preconditions fail.
References
references/audit-checklist.mdreferences/common-failures.md
Version History
- e0220ca Current 2026-07-05 20:39


