fix(zerolend): move SKILL.md to root for skill discoverability#232
fix(zerolend): move SKILL.md to root for skill discoverability#232skylavis-sky wants to merge 2 commits intoMigOKG:mainfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📋 Phase 3: AI Code Review Report — Score: 72/100
1. Plugin Overview
Summary: This plugin enables users to interact with Aerodrome Finance's classic AMM (volatile/stable pools) on Base (chain 8453). It supports swapping tokens, querying pool info and quotes, managing LP positions (add/remove liquidity), and claiming AERO gauge rewards. Read-only operations use direct JSON-RPC calls to a public Base node, while write operations are routed through Target Users: DeFi users who want to provide liquidity, swap tokens, or farm AERO rewards on Aerodrome Finance on the Base network. 2. Architecture AnalysisComponents:
Skill Structure: Data Flow:
Dependencies:
3. Auto-Detected Permissionsonchainos Commands Used
Wallet Operations
External APIs / URLs
Chains Operated On
Overall Permission SummaryThis plugin reads on-chain data (pool reserves, balances, allowances) via direct JSON-RPC calls to a public Base RPC node. For all write operations (token approvals, swaps, liquidity management, reward claims), it delegates to 4. onchainos API ComplianceDoes this plugin use onchainos CLI for all on-chain write operations?Yes — All blockchain write operations (token approvals, swaps, liquidity add/remove, reward claims) are executed through On-Chain Write Operations (MUST use onchainos)
Data Queries (allowed to use external sources)
External APIs / Libraries Detected
Verdict: ✅ Fully CompliantAll on-chain write operations use 5. Security AssessmentStatic Rule Scan (C01-C09, H01-H09, M01-M08, L01-L02)
LLM Judge Analysis (L-PINJ, L-MALI, L-MEMA, L-IINJ, L-AEXE, L-FINA, L-FISO)
Toxic Flow Detection (TF001-TF006)TF005 — curl|sh + financial access:
However, important context: The TF006 — External data no boundary + financial operations:
Prompt Injection ScanNo instruction override, identity manipulation, hidden behavior, confirmation bypass, unauthorized operations, or hidden content (base64, invisible chars) detected in SKILL.md or source code. Result: ✅ Clean Dangerous Operations CheckThe plugin involves:
Confirmation steps:
Result: Data Exfiltration RiskThe install reporting script in SKILL.md sends:
The device ID is a SHA256 hash of Result: Overall Security Rating: 🟡 Medium RiskThe TF005 toxic flow (curl|sh + financial) technically triggers CRITICAL, but the curl|sh pattern is the standard onchainos installer from the official OKX repository, used identically across all official plugins. The real risks are: unlimited token approvals, the 6. Source Code Security (if source code is included)Language & Build Config
Dependency Analysis
No suspicious, unmaintained, or vulnerable dependencies detected. All are standard Rust ecosystem crates. Code Safety Audit
Does SKILL.md accurately describe what the source code does?Yes — The SKILL.md accurately describes the 7 commands (quote, swap, pools, positions, add-liquidity, remove-liquidity, claim-rewards), their parameters, and their behavior. The architecture description (read-only via RPC, write via onchainos) matches the code. Contract addresses match. The flow descriptions (approve → swap, approve → add liquidity, etc.) are accurate. Minor discrepancy: SKILL.md says "Write operations require Verdict: ✅ Source Safe7. Code ReviewQuality Score: 72/100
Strengths
Issues Found
8. Recommendations
9. Reviewer SummaryOne-line verdict: Well-architected DeFi plugin that correctly uses onchainos for all write operations, but has supply chain risks from unpinned/unverified installations and uses unlimited token approvals without adequate warnings. Merge recommendation: 🔍 Needs changes before merge Changes required:
Generated by Claude AI via Anthropic API — review the full report before approving. |
Phase 4: Summary + Pre-flight for
|
🔨 Phase 2: Build Verification — ✅ PASSED
Build succeeded. Compiled artifact uploaded as workflow artifact. Source integrity: commit SHA `` is the content fingerprint. |
Copies
SKILL.mdfromskills/zerolend/skills/zerolend/SKILL.mdtoskills/zerolend/SKILL.mdso thatnpx skills add MigOKG/plugin-store --skill zerolendcan find it.