تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

guard-scanner

بواسطة koatora20

Coding Agents & IDEs
—لم يُقيَّم بعد
تقييمك

موجز

Security scanner for AI agent skills.

الوصف

ما الذي تفعله هذه المهارة

Security scanner for AI agent skills with 358 static threat patterns across 35 categories and 27 runtime checks. Detects prompt injection, identity hijacking, MCP tool poisoning, supply chain attacks, and other AI-specific threats. Runs as a CLI scanner, file watcher, MCP server, or OpenClaw runtime hook.

Covers AI-specific threat classes like agent-to-agent contagion, SOUL.md tampering, and MCP tool poisoning that traditional static analysis tools have no patterns for.

متى تستخدمها

  • Scanning a skill directory before publishing to ClawHub
  • Auditing a GitHub or npm username for leaked credentials in public packages
  • Blocking malicious tool calls at runtime inside an OpenClaw agent
  • Adding SARIF security reports to a GitHub Actions workflow
  • Monitoring skill files in real-time during local development

مثال على سير العمل

الإدخال

User asks: scan my skills folder and fail the CI build if anything is found

الوكيل
  1. 1

    Run guard-scanner scan ./skills/ --sarif --fail-on-findings and redirect output to report.sarif

  2. 2

    Add a GitHub Actions step that executes the scan command on push

  3. 3

    Upload the resulting SARIF file using github/codeql-action/upload-sarif@v3

  4. 4

    Review flagged findings with --verbose to see line numbers and threat categories

الإخراج

CI pipeline fails on detected threats and uploads a SARIF report visible in GitHub Security tab

المتطلبات

  • VT_API_KEY environment variable (optional, required only for VirusTotal double-layer scanning)

التثبيت

clawhub install koatora20/guard-scanner

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط