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

security-checker

بواسطة johstracke

Health & Fitness
1.1kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Security scanner for Python skills before publishing to ClawHub.

الوصف

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

Static analysis tool that scans Python skill files before publishing to ClawHub. Checks for dangerous imports, hardcoded secrets, unsafe file operations, and code execution functions like eval/exec. Produces warnings and pass/fail results to guide safe publishing decisions.

Running this before every publish catches credential leaks and dangerous patterns that manual review commonly misses under time pressure.

متى تستخدمها

  • Scanning a skill script for hardcoded API keys before publishing
  • Catching accidental subprocess or eval usage in automation scripts
  • Running as a pre-commit hook to block insecure code from being committed
  • Auditing an entire skills directory before a ClawHub release
  • Replacing a manual code review step with automated pattern detection

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

الإدخال

User asks: scan my skill at /home/user/.openclaw/workspace/skills/my-tool before I publish

الوكيل
  1. 1

    Runs security_scan.py against the specified skill directory

  2. 2

    Parses output for warnings and hardcoded secret alerts

  3. 3

    Reports each flagged line with the category of risk

  4. 4

    Suggests refactoring hardcoded values to environment variables

  5. 5

    Confirms scan passed or lists issues blocking publish

الإخراج

Scan report listing any warnings with file paths and line numbers, or a clean pass confirmation

التثبيت

clawhub install johstracke/security-checker

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

الروابط