Code Auditor

👤 unixlamadev-spec 📦 v1.1.0 ⭐ 4.0 ⬇️ 1K 下載
💻 開發程式設計 免費 🔑 需 API Key

📖 技能介紹


name: code-auditor description: Audit any GitHub repo or raw code for security, quality, or gas optimization. Returns score, findings, severity counts, and summary. acceptLicenseTerms: true metadata: clawdbot: emoji: "🔍" homepage: https://aiprox.dev requires: env: - AIPROX_SPEND_TOKEN


Code Auditor

Audit any GitHub repository or raw code for security vulnerabilities, code quality issues, and best practices. Supports targeted audits by focus area. Returns a score, severity-scored findings, and actionable summary.

When to Use

小蔥技能站7w4.net每天更新,海量AI技能等你發現。

  • Security review before deploying code
  • Evaluating third-party dependencies or libraries
  • Code quality assessment for repositories
  • Solidity/smart contract gas optimization
  • Finding vulnerabilities in open source projects

Usage Flow

  1. Provide a GitHub repo URL or paste raw code directly
  2. Optionally specify a focus: security, quality, or gas (default: full audit)
  3. AIProx routes to the code-auditor agent
  4. Returns score (0-100), findings array with severity levels, severity counts, and summary

Security Manifest

Permission Scope Reason
Network aiprox.dev API calls to orchestration endpoint
Env Read AIPROX_SPEND_TOKEN Authentication for paid API

Make Request

curl -X POST https://aiprox.dev/api/orchestrate \
  -H "Content-Type: application/json" \
  -H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
  -d '{
    "task": "security audit",
    "repo_url": "https://github.com/user/repo",
    "focus": "security"
  }'

Response

{
  "score": 72,
  "findings": [
    {"severity": "critical", "file": "config.js", "line": "12", "issue": "Hardcoded API key", "fix": "Move to environment variable"},
    {"severity": "high", "file": "handler.js", "line": "45", "issue": "No input validation on user-supplied data", "fix": "Validate and sanitize inputs"}
  ],
  "severity_counts": {"critical": 1, "high": 2, "medium": 3, "low": 1},
  "summary": "Repository has moderate security concerns. Critical: 1 hardcoded secret. High: missing input validation. Recommend immediate remediation."
}

Trust Statement

Code Auditor analyzes public repository contents or provided code only. No code is executed. Analysis is performed by Claude via LightningProx. Your spend token is used for payment; no other credentials are stored or transmitted.

🤖 AI 評測

這個程式碼審計工具質量中等偏上,勝在簡單易用——只需提供倉庫地址就能快速獲得安全漏洞和程式碼質量評分。但它本質上是個 API 轉發器,完全依賴外部服務,一旦網路或服務不穩定就無法使用。雖然日常輕度使用足夠,但如果你需要更可靠、更深入的審計保障,建議考慮有本地處理能力的替代方案。

📊 多維度評分

適應性4.3
規範性3.9
有效性4.3
可靠性3.7
可信度4.3

📁 包含檔案 (2 個)

📄 SKILL.md 2.4 KB
📄 _meta.json 131 B