Make a prompt work harder
Improve a prompt's goal, context, constraints, and output requirements.
5,491,288 AI resources indexedWorking toward the world’s largest AI resource index.
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.
--- name: aave-security-foundations-01e2429d9f9a 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. license: MIT metadata: author: AAVE AI Contributors version: 1.0.0 --- # 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 1. Validate chain/token/account/amount format. 2. Read reserve status (`isActive`, `isFrozen`, `borrowingEnabled`). 3. Read account health (`healthFactor`, `availableBorrowsBase`). 4. Enforce HF safety threshold before `withdraw` and aggressive `borrow`. 5. Reject execution if allowance/balance preconditions fail. ## References - `references/audit-checklist.md` - `references/common-failures.md`--- name: aave-security-foundations-01e2429d9f9a 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. license: MIT metadata: author: AAVE AI Contributors version: 1.0.0 --- # 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 1. Validate chain/token/account/amount format. 2. Read reserve status (`isActive`, `isFrozen`, `borrowingEnabled`). 3. Read account health (`healthFactor`, `availableBorrowsBase`). 4. Enforce HF safety threshold before `withdraw` and aggressive `borrow`. 5. Reject execution if allowance/balance preconditions fail. ## References - `references/audit-checklist.md` - `references/common-failures.md`
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.