[new-plugin] sorin skill#87
Conversation
Routes DeFi questions about tokens, pools, chains, protocols, and projects to Sahara's Sorin DeFi AI Services Gateway. Duplicated from okx#390.
✅ Phase 1: Structure Validation — PASSED→ Proceeding to Phase 2: Build Verification |
📋 Phase 3: AI Code Review Report — Score: 78/100
1. Plugin Overview
Summary: Sorin Skill routes DeFi-related natural-language queries (about tokens, pools, chains, protocols, projects) to Sahara's Sorin DeFi AI Services Gateway via HTTPS GET endpoints. It selects the appropriate analysis endpoint, calls it with structured parameters, and returns concise data-backed analysis. Target Users: Crypto/DeFi analysts and AI agents needing on-demand DeFi data analytics across tokens, yield pools, protocols, and projects. 2. Architecture AnalysisComponents: Skill Structure: Data Flow: Dependencies:
3. Auto-Detected Permissionsonchainos Commands Used
Wallet Operations
External APIs / URLs
Chains Operated OnNone directly. Plugin only retrieves analytical data about chains (Ethereum, BSC, etc.) — no on-chain interaction. Overall Permission SummaryThis plugin is a read-only analytics/data-query skill. It calls a single external HTTPS endpoint (Sahara's Sorin gateway) using a Bearer API key from an environment variable. It performs no wallet operations, no signing, no transactions, no contract calls. Its only "permission" is outbound HTTPS to 4. onchainos API ComplianceDoes this plugin use onchainos CLI for all on-chain write operations?N/A — Plugin performs no on-chain write operations. On-Chain Write Operations (MUST use onchainos)
Data Queries (allowed to use external sources)
External APIs / Libraries Detected
Verdict: ✅ Fully CompliantPlugin performs no on-chain writes. Onchainos is optional and correctly omitted. Data queries via external API are explicitly allowed. 5. Security AssessmentStatic Rule Scan (C01-C09, H01-H09, M01-M08, L01-L02)
All other static rules: not matched. LLM Judge Analysis (L-PINJ, L-MALI, L-MEMA, L-IINJ, L-AEXE, L-FINA, L-FISO)
Toxic Flow Detection (TF001-TF006)No toxic flows detected. The only triggered finding is M07 (missing data boundary), which combined with H05 (financial operations) would trigger TF006 — but H05 is not triggered (no financial write operations). Prompt Injection ScanNo instruction overrides, hidden behavior, base64 payloads, invisible characters, or pseudo-system tags found. Result: ✅ Clean Dangerous Operations CheckNo transfers, signing, contract calls, or transaction broadcasting. Result: ✅ Safe Data Exfiltration RiskThe only outbound data flow is HTTPS to Result: ✅ No Risk Overall Security Rating: 🟢 Low Risk6. Source Code Security (if source code is included)Skipped — no source code or build section in this submission. 7. Code ReviewQuality Score: 78/100
Strengths
Issues Found
8. Language Check
9. SUMMARY.md Review
11. Recommendations
12. Reviewer SummaryOne-line verdict: A clean, low-risk read-only DeFi analytics skill that routes natural-language queries to a single external gateway; needs a minor untrusted-data boundary declaration before merge. Merge recommendation: Blockers (if any — list every issue that MUST be fixed before merge, each prefixed with ❌): No blockers found. Non-blocking improvements that should be addressed:
Generated by Claude AI via Anthropic API — review the full report before approving. |
✅ Phase 4: Publish CompletePlugins:
Published by Plugin Store CI |
Add the Sahara AI Sorin DeFi AI Services Gateway integration plugin (skill-only) to the production okx/plugin-store. Originally landed in the staging mirror mig-pre#87; this PR ports it over with all internal references retargeted to okx/plugin-store. Changes: - skills/sorin-skill/ — full plugin tree (7 files including PNG asset) - plugin.yaml — schema_version 1, version 1.0.0, category utility - SKILL.md — pre-flight injected version-check + agent instructions - SUMMARY.md — public marketplace blurb - README.md — repo-facing docs - .claude-plugin/plugin.json — author {"name": "Sahara AI"} - LICENSE — MIT - assets/sorin-skill-banner.png — marketplace banner image (200 KB) - registry.json — +1 entry, alphabetically inserted before starter-coach (count 35 → 36) - .claude-plugin/marketplace.json — +1 entry, same alphabetical slot (count 35 → 36) mig-pre → okx replacements applied in SKILL.md (2 occurrences): - Pre-flight version-check curl URL: raw.githubusercontent.com/mig-pre → raw.githubusercontent.com/okx - Auto-update install command: npx skills add mig-pre/plugin-store → npx skills add okx/plugin-store The other 6 plugin files (LICENSE, README.md, SUMMARY.md, plugin.yaml, plugin.json, banner.png) are byte-for-byte identical to mig-pre.
Plugin Submission
Plugin name: sorin-skill
Type: new-plugin
What does this plugin do?
Sorin Skill routes DeFi questions about tokens, pools, chains, protocols, and projects to Sahara's Sorin DeFi AI Services Gateway. It helps agents choose the right analysis endpoint, call it with explicit parameters, and summarize the returned data with assumptions and risks.
Checklist
plugin-store lintpasses locally with no errorsokx-,official-,plugin-store-)nameanddescriptionDuplicated from okx#390.